How does everyone handle there light status?
In simple screens, I use a button to toggle a light and in the text field I use a one line script:
This returns the status of device "*10" named "My Light".
This functionality works great with all of my Windows clients.
The Android clients do seem to work real well, if at all. I can start up a client and toggle the light, no status update. Toggle the light again and the status changes to be the inverse of the correct state.
This is real simple functionality but I have never been able to get this to work, so I pretty much threw in the towel on the Android client stuff. And now I am revisiting it as I need the Android clients to actually work.
How does everyone else handle these types of events, is everyone using fancy graphics and elaborate scenes?
EDIT: Added Picture of what I am talking about, but it seems no one uses it this way.
In simple screens, I use a button to toggle a light and in the text field I use a one line script:
Code:
My Light [$SCRIPT=&Replace(hs.CAPIGetStatus(hs.GetDeviceRef("*10")).Status,"%","%")]
This functionality works great with all of my Windows clients.
The Android clients do seem to work real well, if at all. I can start up a client and toggle the light, no status update. Toggle the light again and the status changes to be the inverse of the correct state.
This is real simple functionality but I have never been able to get this to work, so I pretty much threw in the towel on the Android client stuff. And now I am revisiting it as I need the Android clients to actually work.
How does everyone else handle these types of events, is everyone using fancy graphics and elaborate scenes?
EDIT: Added Picture of what I am talking about, but it seems no one uses it this way.
Comment