- GND - Black Wire
- VCC 3.3v - Red Wire
- ? - May have been the User Button
- GPIO to Red Led to GND
- GPIO to Blue Led to VCC
- RF (i think)
- TX - Yellow Wire
- RX - Green Wire
- GPIO 0 - Blue Wire
There are 2 other IO that are used, but i did not track them to the pads, the User Button accessible from the outside of the case and the output to the relay. See the Github link for the firmware and configuration i use, as i have all the I/O set correctly in it.
The esp8266 on the board has 1mb of flash, same as the standard on/off SONOFF's, but with a different pinout from any other esp8266 i have seen. Also the pinout does not match the informaiton on the FCC lookup.
On a side note I did not include any extra functions in the lua scripts, its just a mqtt output device. You could easily add schedules and other features if you wanted but i use cron jobs and other scripts on my automation server to run everything.