I made a modification to one of my Sonoff's See the pictures above.
This allows me to have a momentary push button wired to the Sonoff to turn it off/on or pair a remote control to it. The push button can be some distance away from the Sonoff
The reason I did this is because I intend to install the sonoff in the roof space of my house connected to a light circuit. I will then run the low voltage wire to my push button light switch on the wall of the room.
I can then activate the lights by either the wall switch, the 433mHz remote, or my phone.
It would be good if this was a standard feature of the Sonoff. It only requires installation of a terminal block connector socket and some openings made in the casing.
Você pode fazer como um interruptor comum ao usar o modo de instalação do comutador paralelo.
Anyone know if a switch like this (https://www.amazon.com/dp/B07828MYZJ/ref=psdc_6291359011_t4_B00PB98W46) would work or why it wouldn't? It's a normal household momentary rocker switch.
Like Deepesh Golani said, holding the button for more than 7 sec WILL reset the device, just like the button on the sonoff does (since they are connected). However there will be no reason to hold the button for that long since the light will turn on (or off) as soon as you have pressed the button...
Thanks for the answer
But I still have a question if a person presses the button for more than 7 seconds will reset the sonoff, and this is what I wanted to change type the reset time and reconfiguration for longer.
Yes you can reset using this method.
I have about 7 sonoff switches connected throughout my home with wired push buttons(bell type switches)
i use alexa for turning on and off light,fan,ac,geyser etc
In case my network connection fails, i can still use my equipments using the wired buttons.
this is by far the cheapest smart home soultion if you buy these in bulk.
If I solder a push button switch to the momentary pause button to trigger the relay output can I have trouble if someone holds more than 7 seconds it tight? as an example reset sonoff?
Hey Arik, you happen to be from Singapore? According to our population, the chances are quite slim hahahaha... but how thank you for the helpful tip! Just to clarify, this is using the Sonoff Basic? So you install a Sonoff Basic behind every wall switch?
You are right. Your is a good solution without any work to do.
but I think many others have thought of your own solution.
But here we were looking for a solution to solve any kind of scenario.
And welding the two files on the sonoff button we created an external button and then we can use each button of our house!
Maybe the best thig is to ask to Itead to solve this problem via hardware/software. And this is possible because Sonoff have a pin (gpio14) free for this use !!
The data we can input to the scratch are simple, like the integrated button :
wall button on = tension = (HIGH)
wall button off = no tension = (LOW)
Your diagram is ok for 3 of 4 total scenario. But here we talk about make all scenarios workinig !
If accidentally someone turn off the light with wall switch..... we can do nothing !
With the solution posted by @Ian Gough we solve every scenario !!
But if there is some other solution without open and solder the sonoff..... it would be better!
There is a big problem in your diagram.
If the light is turned off with wall switch, how can I turn it on with sonoff ? Because sonoff take tension from the wall switch in your diagram !! And so we have the same problem !!
How is it possible for the sonoff shut down the light bulb if I turn on the light on by wall diverter (or by wall switch) ?
Can you explain me the electric diagram ( between light bulb-sonoff-wall diverter) to do what you say ?