Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mqtt and switches
#2
SwitchMode1 1
SwitchTopic 0
Rule1 on Switch1#state=1 do publish stat/%topic%/PIR1 ON endon on Switch1#state=0 do Publish stat/%topic%/PIR1 OFF endon
Rule1 1

i think you can do as this, such as the PIR sensor:
https://tasmota.github.io/docs/PIR-Motion-Sensors/
Reply


Messages In This Thread
Mqtt and switches - by philippe - 06-15-2023, 06:51 PM
RE: Mqtt and switches - by admin - 06-15-2023, 09:47 PM
RE: Mqtt and switches - by philippe - 06-16-2023, 07:30 AM
RE: Mqtt and switches - by admin - 06-16-2023, 11:21 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)