This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

LM Home app (Andrоid/iOS starter)
#1
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.

iOS version will be published in the App store later.



LM firmware 2024.01 or newer is required.

Basic information

Do not use admin user to access your local LM. Use a normal user instead because admin user credentials are not saved for security reasons. You can change the default homepage for your user in User access settings.

For initial discovery your phone/tablet must be connected to the same network as your LM.

Run the app and it will connect to the discovered LM automatically. If multiple LMs are present on the network you will be able to select which one to connect to. Selected LM is saved and will be used automatically when the app is run again.

The application is meant for single LM usage only. Switching between multiple LMs is not supported yet.

If the SSL certificate LM app is installed and configured the application will connect to local LM over HTTPS, otherwise plain HTTP mode is used. It is recommended to use the SSL certificate for improved security.

Switching between local LM and LM Cloud is performed automatically based on current connection mode (Wi-Fi or mobile) and whether the local LM can be reached.



Quick actions menu

Long press on the application icon to show the quick actions menu:
- Clear cache removes internal browser cache and cookies. You will have to login into local LM and LM Cloud again.
- Clear saved LM removes saved LM IP / MAC address and restarts the discovery procedure.

   



Push notifications

To use push notifications you must login into LM Cloud via the LM Home app once.

Push tokens for your devices can be found in LM Cloud settings.

1. Log into your LM Cloud account.

2. Click close (x) in Mosaic or go to the LM Cloud apps main page.
   

3. Click the cog icon in the LM Cloud apps main page.
   

4. Click the copy icon to copy the relevant push token, then paste it into the notification script in your LM.
   

Script example:
Code:
push = require('applibs.lmcloud.push')

token = 'PUT_YOUR_TOKEN_HERE'
title = 'Push title'
body = 'Push message body'

res, err = push(token, title, body)
log(res, err)
Reply


Messages In This Thread
LM Home app (Andrоid/iOS starter) - by admin - 30.01.2024, 10:58

Forum Jump: