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 (Push Button Active Low) control from Rules
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Switch input (Push Button Active Low) control from Rules
You need to trigger a "task run" command for it to trigger an event.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Switch input (Push Button Active Low) control from Rules
Awesome! Thank you!
I spent a few evenings on it, but haven't checked Internal commands.
I spent a few evenings on it, but haven't checked Internal commands.
Who is online
Users browsing this forum: No registered users and 90 guests