Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Joshua
#58216 Hi,

I am looking into getting one of the Sonoff switches and wanted to control a light and keep the functionality of the actual light switch. Once flashed, do these devices have any extra I/O pins that can be used to either detect a low signal or output 3.3v/5v?

My plan is to have the relay state change whenever a ground signal is received on an input pin and update its status to an MQTT server and also be able to control the relay via MQTT. I’m aware if I did this that the switch being in the up position would not necessarily mean the light would be on.
Do you think this would?

Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
By jankop
#58240 Without any problems you can use two inputs for anything. They are GPIO14 and GPIO1(Tx). I use the button GPIO0 too.