Updated Wemos D1 Mini and HC SR501 PIR Motion Sensor (markdown)

Adrian Scillato 2019-05-29 18:25:45 -03:00
parent 1c88914a9a
commit deac2f95e3
1 changed files with 2 additions and 2 deletions

@ -27,11 +27,11 @@ After reboot of the device the displays the status of relay1 aka switch1.
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_pir_hc-sr501_main_marked.png" width=350>
### Alternative Tasmota Configuration with Rules
### Alternative Tasmota Configuration with Rules (Recommended Method)
If you don't want to drive a relay attached to the Wemos directly and instead send MQTT messages if the PIR gets triggered, you can use a similar configuration as above plus Tasmota rules.
Configure the module as described above but omit the GPIO12 = Relay1 setting (leave at 'None').
#### Configure the module as described above but omit the GPIO12 = Relay1 setting (leave at 'None').
Then go to console in the webinterface and add a rule that sends a MQTT message if the PIR is triggered: