Check if switchon or switchoff succeeded

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
akamming
Posts: 422
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Check if switchon or switchoff succeeded

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest