Flashed Sonoff Touch with ESPEasy for control via MQTT and HA

Posted a quick video with full description on how I did it here. Enjoy.

Guide here How to flash ESPEasy onto the Sonoff Touch for MQTT control

And for those interested in the design features/quirks of the US one, another video for you.

5 Likes

Thanks for sharing.
Now you can share your schematic? How did you connect wires. My switch only have 2 wires.

Sonoff Touch requires a neutral wire to work https://www.itead.cc/sonoff-touch.html

big big Thanks!!

there is any info or video how do i flash it? what wird need to connect?

Do you know if alexa will find it ?
can i use also FTDI USB?

You flash it the same way as any other Sonoff once you’ve soldered the wires shown. Good video here on flashing Sonoff’s https://youtu.be/fN_QKOWvG1s. If you install ha-bridge on either your LibreELEC Raspberry Pi or on a spare Pi running Jessie, both Alexa and Google Home can discover the device using MQTT. So yes, I have control of this using voice in my house with ha-bridge running in the background. My ha-bridge is running on the same Pi as Home Assistant and my MQTT broker.

Let me know if you’d like a video on that.

Many Thanks, but can i use on FTDI USB? As i see the sonoff touch is not same as regular sonoff.

I understand correctly?

Yes, as shown in the video and the same as all Sonoffs. The touch is exactly the same as all other Sonoff’s in regards to pin out. Just ground GPIO0 on power up to enter flashing mode.

I do not understand how you flash it???

This is my inside

You need to solder a pin header to the small daughter board. YouTube is your friend here.

Link to the YouTube video?
Thanks

In this thread already.

I don’t get it

I see 3 youtube video links, and in none I see what you are referring to

just flashed one an hour ago without soldering. i just stuck the headers into the holes and shorted the GPI0 to the GND. You need to be a bit more careful when connecting everything and will probably need another set of hands but it saves you the trouble of soldering (which i’m awful at)

1 Like

What are you actually stuck with? The small daughter board has the holes for the pin header clearly marked and the photo in my blog post shows the header installed and the position of GPIO 0.

ESPeasy is better then Tazmota code?

how to do this (without soldering … I also hate soldering, because I am a disaster at it)

You need a pin header and some dupont line cables to connect the ftdi to the empty holes on the pcb.
You ground the GPI0 by connecting a scrap cable to the GND header on the pcb and to the GPI0 when you’re connecting the ftdi. Might not work at first since it is very fiddly, I got my kids to help with their tiny hands :stuck_out_tongue:

i watched this https://www.youtube.com/watch?v=-JxPWA-qxAk and this https://www.youtube.com/watch?v=s5gbdy0niAs and http://xbmcnut.blogspot.hr/2017/02/how-to-flash-espeasy-onto-sonoff-touch.html to help me understand what i need to be doing.

ESPeasy is probably the most feature loaded code which isn’t necessarily good if you’re not gonna use all the features. I liked Tasmota since it has a simple web interface for configuration and supports OTA upgrades via the web thanks to madoxx keeping the latest firmware build hosted in the cloud.
You can choose whichever firmware you want depending on your needs since they all seem to be very stable and bug free.
Also ESPeasy can be flashed via command line so you don’t need to mess with Arduino IDE and dependencies

2 Likes

that’s tough. This just during power off, and then I can release the gpio0-gnd connection, or has to be connected during all firmware upload process?

you only need it shorted while it boots so it can boot into its firmware download mode, its a few seconds tops so not that difficult