Switch input (Push Button Active Low) control from Rules
Posted: 29 May 2019, 15:04
Hi All,
"Switch input - Switch" in type "Push Button Active Low" can store state and switch switch between 1 and 0 by one button push.
Also it rise event once state was changed that can be handled in rules.
If I setup a controller (domoticz MQTT) I can control stored state of that Switch, and it will also rise event (e.g Switch1#value).
But I didn't find a way how to change state from rules, I can change state by command TaskValueSet, but it only change stored value (that I can see on UI) it doesn't generate event in rules (Switch1#value).
Is there a way to control it from rules, not only from domoticz.
Thank you in advance!
"Switch input - Switch" in type "Push Button Active Low" can store state and switch switch between 1 and 0 by one button push.
Also it rise event once state was changed that can be handled in rules.
If I setup a controller (domoticz MQTT) I can control stored state of that Switch, and it will also rise event (e.g Switch1#value).
But I didn't find a way how to change state from rules, I can change state by command TaskValueSet, but it only change stored value (that I can see on UI) it doesn't generate event in rules (Switch1#value).
Is there a way to control it from rules, not only from domoticz.
Thank you in advance!