Page 1 of 1

Check if switchon or switchoff succeeded

Posted: Monday 04 February 2019 15:51
by akamming
Hi,

i have automated my WTW and a lot of lightswitches based on timing, motion sensors and moisture sensors.

Sometimes for reasons i do not understand yet (the zwave mesh network looks quite ok) a switchon or switchoff scheduled by dzvents fails and then i find a timeout in the domoticz log on the corresponding zwave device.

As far as i can see dzvents builds up a set of commands which are executed by domoticz after the dzvents scripts is run, but i have not yet found a way to detect in dzvents if a command failed.. (e.g. the switchon of the WtW was scheduled by the dzvents scipt, but failed for whatever reason in domoticz: In this case i would like to the dzvents script some error handling, e.g. do a retry)

Does anyone know how to do this?