Can Virtual buttons be reset to on or off by hardware / software?
The reason I ask is that if you leave a virtual button ON, reset the hardware the App will show the wrong state of the button. Or more precisely it will show the wrong status if the virtual button is used to show the on / off status of a connected device that by default boots to an off state.
Also what happens when text sent to a Value Display exceeds the maximum number of characters for the display? Take uptime in seconds when it goes over say 99999 seconds (approx 28 hours) does it stick at 99999 or perhaps just show 5 digits? So 5 days would 432000 seconds, would it show 99999, 432000 or 32000? I know we can reset the uptime or use minutes / hours instead of seconds but I’m curious to know how the Value Display handles the overflow of characters.
I think your first question refers to ‘hardware state handling’ which is not yet implemented but it is coming. If you search the forum and look under the announcements section you can get more information.
Well done for answering your own second question and letting us know.
Thanks NickMurray I did read something about hardware state handling but I wasn’t sure if it had been implemented yet.
As a temporary fix I have two LED’s in my app (Red ON and Green OFF) plus a Value Display with ON or OFF showing but it’s not quite right for the Virtual Button to show the wrong status. I guess the same is true for real (none virtual buttons) too where it is possible to show the wrong status of the connected hardware.