Do you use the 3v3 from the FTDI, (I can’t see why you would)
As I look at the photo- I see (4) lines, -so I guess you are using the 3v3 as well as the Gnd…
This looks great - I bought a three of these and currently have 2 controlling my pond pump and lights.
Now frantically looking for the third one.
I am planning to put a light and temperature sensor in the same waterproof box (with an esp8266 module when it arrives).
Combining a sensor module with the SONOFFs using Cayenne would be cool.
Just a few questions.
Which board type do you select in the Arduino IDE?
Is there a way to restore the original SONOFF code?
Lastly - there is a version of the SONOFF available which includes a sensor input, but the standard unit can also be hacked as there is a GPIO pin available: