There are some way to show the location mode in the mobile app, directly in the dashboard tab ?
Cobra
(Andy - United Kingdom)
November 5, 2017, 3:45pm
2
I use this…
I put together a very simple virtual device and helper app in order to quickly switch modes (and see which mode is active). The modes are hard-coded in the device, since can’t change the UI dynamically. Devices can’t do setLocationMode, thus the need for the helper. The one I’m posting here has Home, Away, and Night as the modes. The screenshot has Office instead of Home. Thought somebody might find it helpful.
[image]
Installation Instructions
Install the DH in the IDE
click “My Device Handlers”
click “Create New Device Handler”
click “From Code”
paste the code for the device
click “Create”
click “My Devices”
click “New Device”
enter “Name”
enter “Device Network ID” (any number, I recommend > 991)
choose “Type” “Mode Switch”
choose “Location”
click “Create”
Install the SmartApp
c…
You can put it on the dashboard
2 Likes
Thanks a lot for the hint, I will try it.
I have more than the Home, Away, Night modes. I tried to modify your app, but it does not display anything. Can you give a small example of adding for example “Home - Day” Mode?
Thanks