The Sonoff Hydra-Basic with two capacitive touch buttons and a PIR motion sensor. Break into the powerful Rules of the Tasmota firmware and control more than one light/function with a Sonoff Basic.
Parts List:
Sonoff Basic 6 pack - https://amzn.to/2CRop5O
Sonoff Basic 4 pack - https://amzn.to/2PuXovH
Sonoff Baisc 2 pack - https://amzn.to/2PxfWM3
USB FTDI Adapter - https://amzn.to/2Rpu9rx
Male Header Pins - https://amzn.to/2JtX1fB
PIR Motion AM312 Sensor - https://amzn.to/2DhrkpA or https://amzn.to/2F7P9lE
Capacitive Touch Button (Red)- https://amzn.to/2PyiglV
or (Green)- https://amzn.to/2DduD0R
Jumper Wires - https://amzn.to/2DcCiMX
Fuses (optional but recommended) - https://amzn.to/2D0FhHk
Fuse holders only (no fuses) - https://amzn.to/2RsQwfK
Products I use and recommend - https://www.amazon.com/shop/digiblurdiy
Come chat with us!
-=-=-=-=-=-=-=-=-=
Discord - / discord
Patreon - / digiblurdiy
Additional info
=-=-=-=-=-=-=-=
GitHub Link with all the rules and sample HomeAssistant Config - https://github.com/digiblur/Sonoff-Hy...
Tasmota Rules Commands:
backlog switchmode1 3;switchmode2 1;switchmode3 1
rule1 on switch2#state=1 do publish cmnd/S20Beta/POWER TOGGLE endon
rule1 on
rule2 on switch3#state=1 do publish HydraBasic/PIR/state YES endon on switch3#state=0 do publish HydraBasic/PIR/state NO endon
rule2 on
rule3 on switch3#state=1 do publish cmnd/TuyaDimTest/Dimmer 75 endon on switch3#state=0 do publish cmnd/TuyaDimTest/Dimmer 25 endon
rule3 on
HomeAssistant Binary Sensor Config YAML:
platform: mqtt
name: "HydraBasic Motion"
state_topic: "HydraBasic/PIR/state"
availability_topic: "tele/HydraBasic/LWT"
qos: 1
payload_on: "YES"
payload_off: "NO"
payload_available: "Online"
payload_not_available: "Offline"
device_class: motion
The Sonoff Basic is a mains powered device! There is a danger of electrocution if not installed properly. If you don't know how to install a Sonoff, please call an electrician. Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you! As an Amazon Associate I earn from qualifying purchases. Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of purchases potentially helping with future video projects. Thank you! As an Amazon Associate I earn from qualifying purchases. Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you! As an Amazon Associate I earn from qualifying purchases.