Search found 2 matches

by merula
Friday 04 November 2016 13:13
Forum: Switches and Scenes
Topic: How to update switch status ?
Replies: 38
Views: 30026

Re: How to update switch status ?

You can get the status before updating the switch. Getting the status before update wont work reliable. In the time between button triggers the on command and the PC is up as well as between the button triggers off triggers and the PC really shuts down button state and PC state are out of sync. So ...
by merula
Friday 04 November 2016 8:59
Forum: Switches and Scenes
Topic: How to update switch status ?
Replies: 38
Views: 30026

Re: How to update switch status ?

Hi,

I have similar problem with a switch that should control a PC. As the PC can be switched on and off manually too, I want to be able to update the state. I tried with json.htm but this on always triggers the action to. An additional status poll script would be perfect.