Do you still have to solder the modern revisions of Sonoff plugs to flash them?

tl;dr

Do you still have to solder the recent revisions of Sonoff plugs in order to flash their firmware?

Details

Hey everyone, I’m hoping you can help me determine the current status of Sonoff plugs and custom firmware.

I got a bunch of these plugs (inline and plug in) a while back to test out and they work pretty great. Being able to have state is a huge plus coming from RF switches. And flashing them was super easy!

Since then though, it’s come to my attention that the more recent revisions aren’t flashable via wifi and you have to solder them. With Christmas coming, I was planning on replacing all my RF plugs with them. We’re talking like 20-25 plugs (yes it’s a freaking WINTER WONDERLAND in my house).

Solder modding 20-25 plugs sounds miserable to me, so I’m wondering if it’s still the case that these plugs need to be soldered in order to flash them. If so, is there an alternative out there?

Thanks!

I believe you’re correct that wifi flashing no longer works. RE: manual flashing, you don’t have to solder. If you can hold the jumper wires in place while flashing, everything will work fine – I recently did that to 8-10 Sonoff Basics with no issue.

1 Like

If there are holes in the PCB for the programming pins, then you might just be able to hold them in place long enough by hand. This is what I did with my last few Sonoff Basic devices. I got a row of 4 PCB header pins that you would otherwise solder into the board. Connect the wires going off to your USB serial/TTL adapter. Now, with maybe some clamps or an extra person, insert the pins into the holes on the PCB in the correct order/orientation and lean the pins back.

Meanwhile, hold down the button and plug the USB serial adapter into your computer to supply power using your third (gripping :slight_smile: hand… or maybe with some help from someone else, or other clamping arrangement.

It sounds horrible, but its really not that difficult, and you only have to do it occasionally. I did 3 Sonoff devices this way with great success.

Now, I hear that some of the recent manufacturing runs have flowed solder into those holes, so this approach won’t work. Or you’ll have to be even more clever/careful to hold the connection in place for the 20 seconds or 30 seconds it takes to erase and program.

I made a rig up like this:


So it works like a plug.

Just push it through holes and put a little sideways pressure and it makes good contact. You can hold it and the sonoff with one hand and also push the button in while you plug in the USB into your computer.

My last sonoff had one of the holes soldered however I just used a header pin on one side and heated the other with a soldering iron and it just cleared it with no fuss.

It’s pretty simple. I also had one switch lock up when I did an OTA update once and I had to reuse the cable to be able to get it up and running again so it’s worth making sure the holes are clear as you might need to flash it again in the future. You could also use solder wick to clear the holes. Either that or just solder in pins but that’s a skill some people don’t have and you can screw the switch up.

1 Like

Thanks for the replies guys.

There seem to be a lot of SKUs for these now. If I were looking for the inline ones, which exact model should I look at getting?

A few years back, I ended up with 5 or 6 USB serial adapters, usually acquired one or two at a time, whenever I bought something else from a random ebay supplier and wanted to leverage the shipping. I know there’s concern about counterfeit chips on these, but I’ve had luck with the CP2102/4 and FTDI devices on my macOS machine after installing drivers. Oh, and apparently i’ve got some PL2303HX based devices too. I bought all of them from the alice1101983 seller on ebay that I’ve been pleased with.

The FTDI-based devices tend to be more expensive by just a little bit, and seem to have good quality drivers. I have some of them, too. If you use Windoze or Linux, my experience might not directly apply.

Thanks, I meant the Sonoff inline plugs though :smile:

I’ve programmed the Tasmota firmware on 3 of the Sonoff S20 plug-in modules, too, using this same technique…

The sonoff s26 is a pita you have to solder and is not easy… Stay with the older ones s22 and s20

Can confirm SonOTA does not work on new S26 plugs :frowning:

These are the style of wires you want. They are easy to stick into the hole and if you press firmly they stay there.

65pcs/Lot New Solderless Flexible Breadboard Jumper wires Cables Bread plate line
https://s.click.aliexpress.com/e/bBr2uVOZ

Pogo pins can be useful too. You can make a setup like @DavidFW1960 with pogo pins on the end.

https://www.kr4.us/solderless-headers-10-pin-straight.html

I love these. Push-in header.

1 Like

Unfortunately I can’t find anyone who makes or stocks these anymore

Same here.