No $30 "Smart Switch" | $5 Sonoff + REGULAR Light Switch!

DrZzs & GrZzs
DrZzs & GrZzs
166.7 هزار بار بازدید - 7 سال پیش - This is powerful! Anything that
This is powerful! Anything that runs on 110v can now be a “smart/connected” device for $5! If you have ideas for other things to control with one of these let me know. Buy here: amzn.to/2k0M0aa -After flashing the firmware, leave the Sonoff connected to your computer. -Go to your Router and find the new device with “sonoff” in the name. -Get its IP address and put it in the browser. If everything worked you should see the control page for the sonoff. -Under Configuration Change GPIO 14 to “09 Switch 1”. Then Save. -If you’re using a rocker switch you’re done. -If you’re using a Push Button switch you need to go to the Console and type: “switchmode1 4” enter. If you’re interested in all the available TASMOTA commands, here’s the link: github.com/arendst/Sonoff-Tasmota/wiki/Commands -Now, Solder a wire to the Ground hole and another to the GPIO 14 hole. -Turn off the breaker for the circuit you’re going to be working on. Or if you don’t mind electrical sparks or shocks, go ahead and leave it on. There are a few wiring arrangements you might find in the box. -If all you see is one pair of wires going to the switch, which is unlikely but possible, then put the switch back in cuz you can’t connect a sonoff to that switch. -Hopefully you see 2 pair of wire entering the box. The white wire from each is tied together and the black wires go to the switch. That’s the best case and easiest because all you have to do is take out the switch. Connect one pair to the input and one to the output. If your Sonoff doesn’t turn on, then switch the input and output. -What I found in almost all my switch boxes was several pair of wires coming in. All the whites tied together and all the blacks tied together, except one. That one black and it’s companion white are going to the lights. The other leg of the switch is also black and comes from the bundle of black wires. That is the Hot wire coming from the breaker. -Connect the black wire coming from the circuit breaker to the “L” Input side of the Sonoff, and then a wire from the bundle of white wires to the “N” on the input side. -Connect the Black wire that goes to the light to the “L” Output side of the Sonoff and the White wire that is with it, to the “N” on the Output side. -I used flexible 12g wire to make moving the sonoff in the junction box a little easier. -Then connect the GPIO 14 wire to one leg of the switch and the Ground wire to the other leg. -To make the sonoff as small as possible, I cut the on-board push button down with wire clippers, then wrapped electrical tape around the whole thing to insulate it. -At this point, turn the breaker back on to test it before you stuff it all in the junction box. -If it all works, then put it back together and do the Happy Dance. Or 30 seconds of wild fist pumping if you prefer. -Now in Home Assistant you can set up a switch using the MQTT topics that will communicate with the Tasmota’d Sonoff: switch: - platform: mqtt name: "Back Porch" command_topic: "cmnd/sonoff/power" state_topic: "stat/sonoff/POWER" qos: 1 payload_on: "ON" payload_off: "OFF" retain: true Restart home assistant and test it all out. That’s it. Now the hardest part is to decide which other switches in your house you’re going to upgrade. The End
7 سال پیش در تاریخ 1396/08/29 منتشر شده است.
166,730 بـار بازدید شده
... بیشتر