![]() |
LM Home app (Andrоid/iOS starter) - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11) +--- Thread: LM Home app (Andrоid/iOS starter) (/showthread.php?tid=5220) |
RE: LM Home app (Andrоid/iOS starter) - achetti - 11.12.2024 HI I would like to install LM on an Android that doesn't connect to the play store, is it possible to have the apk? Thank you Antonio RE: LM Home app (Andrоid/iOS starter) - Daniel - 11.12.2024 Which android version? RE: LM Home app (Andrоid/iOS starter) - achetti - 11.12.2024 android 10 RE: LM Home app (Andrоid/iOS starter) - Daniel - 11.12.2024 https://www.transfernow.net/dl/20241211ayd2WeZj RE: LM Home app (Andrоid/iOS starter) - achetti - 11.12.2024 Thank you RE: LM Home app (Andrоid/iOS starter) - jerryhenke - 12.02.2025 Hi. I have problems with the push notifications in Iphone. I manage to activate push notoificatuions, but after a while (12-48 hours) the push notifications stop working. In LM i have the app Push notification. On the phone i use the app "Logic machine". I tried deleting the phone ID and after a while a "new" phone with a new ID showed up. This makes the use for alarms and stuff like that a bit uncertiain. Feels like I am doing something wrong. any ideas? I attach a picture of how it looks when i turned of push notifications on the phone "Logic machine" app and then turned on again. A "new" ID turns up. ![]() RE: LM Home app (Andrоid/iOS starter) - Daniel - 12.02.2025 As you posted it under LM Home app then maybe try using it instead of the old LogicMachine app https://kb.logicmachine.net/notifications/push-notifications/ PS. When sending notifications you can log the errors ans see what it says. RE: LM Home app (Andrоid/iOS starter) - jerryhenke - 12.02.2025 (12.02.2025, 09:30)Daniel Wrote: As you posted it under LM Home app then maybe try using it instead of the old LogicMachine app I haven't understood how to make the LM home app stay logged in or to make it work both home and with cloud. Is there a good way? In the Logichmachine app you store your credentials and can chose between home and cloud. So in the step by step guide I feel kind of dumb since. Any ideas? RE: LM Home app (Andrоid/iOS starter) - Daniel - 12.02.2025 LM Home meant to be the simpler one ![]() You just need to create yourself a user (never use admin account as it will not be remembered) and in this user account add your cloud email. Set permissions and sync LM Cloud app. Later just open LM Home app and when on local netowrk with LM it will connect to the local LM. When not on local network it will go to cloud. You can force cloud connection by long press on LM home app icon, there are more options there. The idea behind is simply to not need to select, it will do it automatically. PS. The credentials are saved in phone cache and the saving procedure is managed by your mobile. Sometimes you must let the app open for a minute or two for the system to save credentials. If you kill the app straight on credentials might not be saved. RE: LM Home app (Andrоid/iOS starter) - jerryhenke - 12.02.2025 (12.02.2025, 10:30)Daniel Wrote: LM Home meant to be the simpler one Great explanation. I'm getting the hang of it. I now see the push token when i log into cloud. However I do not see the token or name in the LM push notification app in logic machine. Should it show up? RE: LM Home app (Andrоid/iOS starter) - Daniel - 12.02.2025 You don't need the Push notification app at all. It was only needed in combination with LogicMachine app. For the LM Home app the LM cloud app does everything. Just use this example to send notifications. https://kb.logicmachine.net/notifications/push-notifications/ RE: LM Home app (Andrоid/iOS starter) - jerryhenke - 12.02.2025 (12.02.2025, 10:57)Daniel Wrote: You don't need the Push notification app at all. It was only needed in combination with LogicMachine app. Ok. Great. I go that way then. Was just simple to not need long tokens. But then i know. thanks again. RE: LM Home app (Andrоid/iOS starter) - jerryhenke - 12.02.2025 (12.02.2025, 10:57)Daniel Wrote: You don't need the Push notification app at all. It was only needed in combination with LogicMachine app. Strange. I now pasted the whole token. this is the log: * arg: 1 * bool: true * arg: 2 * nil And this is the full script: push = require('applibs.lmcloud.push') token = 'ios:dFzA75RNwEAjso1nxxxxxx[very long]' title = 'Doorbell' body = 'Go to the door' res, err = push(token, title, body) log(res, err) RE: LM Home app (Andrоid/iOS starter) - Daniel - 12.02.2025 This means all was sent correctly RE: LM Home app (Andrоid/iOS starter) - jerryhenke - 12.02.2025 (12.02.2025, 13:36)Daniel Wrote: This means all was sent correctly Aha. However, no push notifications are sent. RE: LM Home app (Andrоid/iOS starter) - Daniel - 12.02.2025 They are sent only not received. Did you allow permissions for LM Home app to receive notifications? RE: LM Home app (Andrоid/iOS starter) - jerryhenke - 12.02.2025 (12.02.2025, 13:41)Daniel Wrote: They are sent only not received. Did you allow permissions for LM Home app to receive notifications? Seems to work now. But still two questions: 1) In local network, credentials seems to be unsaved (however password stored in iphone, but need to put user name + password every time) 2) Any way to use simpler names instead of full token? Also any way to make groups of phones or to push to all phones? Thanks a lot for your helplfulness. RE: LM Home app (Andrоid/iOS starter) - Chandrias - 13.02.2025 (30.01.2024, 10:58)admin Wrote: LM Home Android app can be downloaded from the Play store. Search for LM Home, click New if the app does not show up in search results. Hello everybody. Sorry for my ignorance, but I am new with this type of programming. I managed to connect my phone and test push notifications from LM Push Notifications app. Still, I can not do it through a script. If I understand well, the device ID goes to token? RE: LM Home app (Andrоid/iOS starter) - Daniel - 13.02.2025 If you using Push notifications app then you are not using LM Home app. The script above is for LM home app not LogicMachine app which is the older version. https://kb.logicmachine.net/notifications/push-notifications/ RE: LM Home app (Andrоid/iOS starter) - Chandrias - 13.02.2025 (13.02.2025, 16:27)Daniel Wrote: If you using Push notifications app then you are not using LM Home app. The script above is for LM home app not LogicMachine app which is the older version. I installed the LM Home app also, but when I open it, the gear icon is not there. Check the attached picture |