mirror of https://github.com/arendst/Tasmota.git
Updated Wemos D1 Mini and HC SR501 PIR Motion Sensor (markdown)
parent
7c419ee0f3
commit
bb42e39f3c
|
@ -45,7 +45,7 @@ Note: the webinterface (obviously) won't show the relay state as "ON" or "OFF" a
|
||||||
|
|
||||||
If you want to attach a second PIR to another GPIO (e.g. D1 / GPIO5), configure it as Switch2 and add another rule via console:
|
If you want to attach a second PIR to another GPIO (e.g. D1 / GPIO5), configure it as Switch2 and add another rule via console:
|
||||||
|
|
||||||
Switchmode1 1
|
Switchmode2 1
|
||||||
Switchtopic 0
|
Switchtopic 0
|
||||||
Rule2 on switch2#state=1 do publish stat/sonoff/PIRSENSOR2 ON endon on switch2#state=0 do publish stat/sonoff/PIRSENSOR2 OFF endon
|
Rule2 on switch2#state=1 do publish stat/sonoff/PIRSENSOR2 ON endon on switch2#state=0 do publish stat/sonoff/PIRSENSOR2 OFF endon
|
||||||
Rule2 4
|
Rule2 4
|
||||||
|
|
Loading…
Reference in New Issue