arendst / Sonoff-MQTT-OTA-Arduino

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE - Now EOL
618 stars 197 forks source link

Support of "1 Channel Inching /Self-Locking WiFi Wireless Switch 5V 12V" #178

Closed lionhe1966 closed 7 years ago

lionhe1966 commented 7 years ago

Do you plan to add support for this device ? https://www.itead.cc/inching-self-locking-wifi-wireless-switch.html I've read on itead forum that someone was able reflash it, even though there was a problem with the header pins. http://support.iteadstudio.com/support/discussions/topics/11000009218

I've just ordered one to control a gas boiler. Thank you,

arendst commented 7 years ago

See #159. Seems to work.

lionhe1966 commented 7 years ago

Thank you for your answer. I updated the wiki to mention also this device. I'll test as soon as I will receive it.

lionhe1966 commented 7 years ago

I recently bought from Banggood this switch and I found that this firmware works but the RELAY_PIN is connected to GPIO13 instead of GPIO12. Maybe there are different versions of this switch around. In my case I also found that both the RX and TX pins were not connected to the header pins: in order to program the chip I had to connect to esp8266 both RX and TX pins of the FTDI programmer.

putos11 commented 7 years ago

@lionhe1966 ,, I can confirm,, I had to connect to esp8266 both RX and TX pins too.. how did you get into Flash/programming mode??

lionhe1966 commented 7 years ago

@putos11 I basically followed the wiki instructions: if i remember well, you have to connect the ftdi programmer to the board, press a button and then connect the ftdi programmer to the pc.