I have an event which sens me a message when a specific device goes into status unknown. That event then turns my zwave PI off then on again. What I would like to do is the following though, as sometimes it does not need restarting. Sometimes sending a command changes the device to that state, and is no longer status unknown.
If the device changes to status unknown, send a off command, wait a few seconds, send a on command. If after 30 seconds the status is still unknown, run another event (which is Jon00's plugin disable/enable)
I think I need a script to do that. I can trigger the script with a trigger 'when device changes to status unknown' but not sure how to go from there
If the device changes to status unknown, send a off command, wait a few seconds, send a on command. If after 30 seconds the status is still unknown, run another event (which is Jon00's plugin disable/enable)
I think I need a script to do that. I can trigger the script with a trigger 'when device changes to status unknown' but not sure how to go from there
Comment