Update to smart plug rules for controlling bathroom fans manually
Today I made some changes to the rules that let the smart plugs running tasmota in the bathrooms turn on the fans. With these rules a short press turns on the fan, and a long press turns on the switch.
Rule1 on switch1#state=3 do Power 2 endon
Rule2 on switch1#state=2 do publish cmnd/sw_bri_03/POWER 2 endon
Rule1 1
Rule2 1
Rule1 on switch1#state=3 do Power 2 endon
Rule2 on switch1#state=2 do publish cmnd/sw_bri_03/POWER 2 endon
Rule1 1
Rule2 1
Comments
Post a Comment