02.08.2022, 16:45
Hi
We have a number of iPads connected to the same LogicMachine UI.
What's the best way to identify the iPad so that I can use a custom javascript attached to the a home button to display a custom screen for that location. IE: If the device was in the Kitchen it would display the Kitchen home screen, if it was in the Master Bedroom then it would display the home screen for that location every time the user tapped the home button.
I would ideally like the user to nominate their device's preferred home screen / location - Is there a device identifier which we can access to store against their preferred location to create a lookup table in storage. And how would I access this identifier to store the value with a lua script, and then read back that value using a javascript linked to a button.
Many thanks in advance
Kind Regards
James
We have a number of iPads connected to the same LogicMachine UI.
What's the best way to identify the iPad so that I can use a custom javascript attached to the a home button to display a custom screen for that location. IE: If the device was in the Kitchen it would display the Kitchen home screen, if it was in the Master Bedroom then it would display the home screen for that location every time the user tapped the home button.
I would ideally like the user to nominate their device's preferred home screen / location - Is there a device identifier which we can access to store against their preferred location to create a lookup table in storage. And how would I access this identifier to store the value with a lua script, and then read back that value using a javascript linked to a button.
Many thanks in advance
Kind Regards
James