Hello
Smart On Off just recently released the S26 Smart Plug. It's a new version of the S20 Smart Plug.
I see support is not yet added for this. So here's me requesting it.
Thank you in advance guys!
Only now gonna start using your software but I have a feeling it will be great! ;)
Why do you think it is not compatible?
Just try S20 as device. It looks like a design upgrade only...
Popping the info here as it seems relevant.
The S26 is still an ESP8266 device and as Jason mentions it looks more like a board redesign to create smaller sockets.
Seems to work with the S20 setup on the same GPIO but more testing is needed. I have more on order to play with as this one got used in another project.
However it is not all good news. At least on the UK style model, the ESP8266 is moved off to a daughter board and the pads (no holes any more) for the serial and 3.3v are much smaller in pitch making soldering more of a pain.
It may mean these are much less desirable for tinkering than the S20's as flashing them is so easy for a DIY'er.
Attached are a few (bad, as I was in a rush) photos of the board.
Dam... the S26 is a bit smaller but more importantly its cheaper!
Keep us updated if support comes
As @djwillis suggested it might just work choosing module S20...
Hi,
I can confirm it works without issues when choosing module S20.
The pads are tiny and not easily accessible, so loading the firmware was a pain. I connected the power pins to the regulator output pins using test clips and soldered a wire to RX and TX. The button is connected to GPIO0 so can be used to enable the serial bootloader.
I soldered some wires to them and installed a BME280 inside :). So when they run above 60 degrees I get a pushmessage that they caught fire :D. Ambient 22-23°C gives 30°C inside the Sonoff S26. 40°C when turned on with a 60W bulb.
Great pictures!!
My S26 is on the way. Glad it is supported already. When verified I'll update the readme and wiki.
@fluppie are they easy to disassemble? Are the RX and TX ports marked? I can't quite see in the photos. I am keen to purchase one.
3 screws, so quite easy yes :). Only the solder pads are tiny, so it shouldn't be the first time that you solder :).
Perfect thanks for the photo!
Sorry to pseudo-hijack, but while we're discussing it can the plug/socket be inverted?
Looking at the S26, for my specific purpose it wouldn't work as it would be "upside down" and not fit; From these and other photos it SEEMS like both the plug and socket could be rotated 180degrees, can anyone confirm or reject? OK if it needs longer wires soldered to achieve.
@roguestreak I opened one up and it'd be easy enough to change the orientation.....
S26 fully supported in latest releases either as S20 or S2X.
@fluppie thank you. With your images and 4 hours later ( i'm a n00b at soldering ) i did it :)
Might help someone: I had to increase the voltage from 3.3 to 3.4 V (or was it 3.6?) to get it into programming mode. Before that it didn't react. Probably depends on how well you soldered - although mine didn't look too bad 😄
The ESP is a 3.3 Volt device if your power supply for flashing is reliable there is no need
to increase!
I think your power supply does not deliever enough current.
Maybe you use a FTDI device. The 3.3 Volt path are delivering only a few mA!!
Try a extra power supply or use a CH340 Usb serial adapter
I used a Rigol DP832 for power, the current limit was at 500mA.
Nice Power Supply. Why have you limit current at 500mA?
Just connect the power wires correct and safe and use 3.3V
No current limit needed. The device takes only the current which it needs!
Before you power on connect GPIO to GND. Urgent keep Gnd from power supply, device and serial adapter always connected. Put serial adapter in usb port. Now power via Rigol with 3.3V.
Start flash process. After flash power off and disconnect Gpio0 from Gnd.
Disconnect rx and tx connection. Unplug serial adapter.
Power on Rigol. S26 will work, just relais wont switch (5v are missing)
Disconnect everything and reassemble.
Safety? I didn't check what the max current draw was, but 500mA should be more than enough, no? I think it was 0.3 mA powered down and ~34 mA after I got it into programming mode.
I just wanted to share that I had to increase the voltage. First I thought I fried it somehow. Maybe it was the breadboard/cables.
I'm using an arduino as a programmer (as i did with all sonoff basic i have), but i can't get the S26 in programming mode. Does the led has to stay off? mine is blinkning no matter what.
@vogler, I'm about to flash my S26 and read that CH340G doesn't deliver enough current as you seem to confirm. Can you explain how you did increase the voltage ?
@ichbinrodolf
The CH340 should deliver enough power (current)
FTDI devices are not suitable
I managed to flash it using CH340 + external power supply. Now i'm facing another problem. Even before i first test it after flashing, it felt off my desk. The little electric transformator broke. Does anyone have a close up photo of the front part where it's soldered to the board? i need to check if i can solder it's filaments again. Or, anyone knows where i can buy a new one?
I hope this helps.
A bit, but i need a closer and more "front" photo of this. If possible, from the side where you see "T1" on the board.
Hi,
Ok, here it is under a magnifying glass. Best I can do with my cam. Best of luck.
Thanks.. i have a bigger filament that i can sold to the other that got severed, but it seems that there are small filaments too that connects to the other pins... this is the condition i'm right now. Better way is if i find a replacement that i can put in place of this, but i think it will be hard.
Does anybody know if it has 1M or 4M? And is it upgradable?
I have used a slightly recharged lipo (3.7V) as a power supply, otherwise I was not able to connect so the insufficient current might have been the reason indeed.
@svh1985 1MB, mine is running Tasmota 6.1.1 and gives this info:
Flash Size | 1024kB
-- | --
Program Flash Size | 1024kB
Program Size | 536kB
Free Program Space | 464kB
Free Memory | 16kB
hi all,
I'm using a CH340 USB Serial Adapter. I have two Sonoff S26 sockets. I managed to flash one by connecting the power to the VCC port but I cannot get the second one to enter flash mode no matter what I do. I even used a step-down regulator and connected it to the 5v pin to no avail. Connecting it to the 3.3v pin does not work and connecting it to the VCC pin makes it heat up and still does not work. The same happened with the step-down regulator. It just heats up and nothing else happens.
It is still working as I can connect it to a power socket and control it via the eWeLink app. I just cannot flash Tasmota. I don't have a professional power device so is there anything else that I can use?
Hi,
There is an AMS1117 LDO regulator on the board. I would suggest connecting
the ground and input pins with the 5V output and ground output of your USB
Serial adapter.
You can find the datasheet here:
http://www.advanced-monolithic.com/pdf/ds1117.pdf . Pins 1 and 3 are ground
and Vin respectively.
On Sun, Sep 2, 2018 at 7:18 PM tam481 notifications@github.com wrote:
hi all,
I'm using a CH340 USB Serial Adapter. I have two Sonoff S26 sockets. I
managed to flash one by connecting the power to the VCC port but I cannot
get the second one to enter flash mode no matter what I do. I even used a
step-down regulator and connected it to the 5v pin to no avail. Connecting
it to the 3.3v pin does not work and connecting it to the VCC pin makes it
heat up and still does not work. The same happened with the step-down
regulator. It just heats up and nothing else happens.It is still working as I can connect it to a power socket and control it
via the eWeLink app. I just cannot flash Tasmota. I don't have a
professional power device so is there anything else that I can use?—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/arendst/Sonoff-Tasmota/issues/2808#issuecomment-417945531,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-eR8T340JL_ltxgUpwtpRe5bzhQ8NOks5uXBL6gaJpZM4UK1an
.
@freynder Thank you very much indeed. That worked beautifully. I've managed to flash Tasmota successfully.
Not sure if this is the right place to ask but I successfully flashed 3 x S26 sockets a few days ago. My only issue is the Blue LED. Usually it flashes, I've managed to set it to permanently on using the "LedPower on" command. Is it possible to turn it off permanently?
try commands ledpower and ledstate. please see for more information in the wiki
I bought 3 of these modules - was able to flash two of them using esptool (platformio was unable to upload the firmware).
Does anyone know the pinout for the esp daughterboard? I ripped one of the traces out accidentally and want to replace it with an esp-01. The mainboard of the S26 has the labels of J1-5 & J10 (6 connection points)
@ascillato Unfortunately neither ledpower or ledstate permanently turn off the blue LED.
I've resorted to covering the button with some black tape where needed.
And in addition set SetOption31 to 1 to get rid of wifi and/or mqtt connection failure blinks
Great, thanks. Looks like that's one I need.
After buying another 3 S26 sockets I decided to look at an easier way to flash.
I designed and 3D printed a solderless type adapter to flash a bit easier. It's not perfect but does work
I'll upload the STL soon.
Also found that the 2 more difficult pads out of the 4 to solder are the 3V3 and GND. You can use alternative pads underneath
J1 - 3V3
J2 - GND
ant-thomas - looks nice, do you have this stl file? would be great :) or maybe to find in thingiverse
br
Hi,
I'm trying to flash this with SonOTA but the ITEAD wifi won't come up (it came up once and never again). Anyone had any luck?
A
I'm pretty sure the current Sonoff firmware doesn't allow OTA flashing anymore? V1.6 was the last version that worked I think...
ITEAD wifi
My undestanding that fw (2.6.0 at least) is not more using open AP but use some kind of promiscuous mode and get ssid/password by listening to multicast udp (from app):
https://www.reddit.com/r/sonoff/comments/9q49dq/beware_sonoff_s26_firmware_260_and_ewlinkapk_is/
That sounds about right. Anyway happily using them via the EWElink app but just wish I had something to tinker with Home Automation. Will wait.
Hello @alexmelSC @TommySharpNZ and @rzr,
I'm pretty new to this world as I received yesterday my first Sonoff unit ever so I might not understand well what you are talking about..
What I can tell you is that I had some issue with getting the ITEAD WiFi SSID appearing for the first config of the unit but at the fourth try it worked and I was able to configure the socket to connect with my WiFi.
The firmware version showed up in the EWeLink app is 2.6.0.
I didn't have to work with OTA at this time so I might be out of the scope of your discussion ^^
My two cents,
Hi, it took some time, but it works :)
I used pogo pins:
https://www.aliexpress.com/item/100Pcs-Bag-Spring-Test-Probe-Pogo-Pin-P50-B1-Dia-0-5mm-Length-16-35mm/32845302540.html
A good write up on the espurna github solved my issues i.e. I wasn't pushing the button hard enough.
That was 3 hours wasted on a sticky button
Hi Guys, great show here: I was able to flush two S26 with the latest ESPEasy software using the provided pictures above. At times a bit complicated to put it in flash mode but with some fiddling (connect everything except USB, push button and simultaneously connect USB, release button) it works.
Now my problem is: After re-assembling both S26, only one of them works: The blue LED is lit and it connects to the Wifi. For the other one: No blue LED, not Wifi. I re-opened it, resoldered power and reconnected 3.3V and it works great. Only when assembled and connected to the mains, it does NOT work. I've double checked all connections internally, checked soldering etc. but no avail.
Any educated guesses out there what the problem could be?
Thanks // Tom
@thomasleitner , Can you see any difference between the two, can you at least try to revert to original firmware ?
I have one S26 that was just paired once.
Thx. However I don’t think that it’s a software problem. As I’ve explained, when reconnecting to an external 3,3v supply, it works great. Only when reassembled and connected to 230v AC power, it does not power up. Hmm ...
maybe be not but it could help to narrow the problem, If you want to discuss more join: irc://irc.freenode.net/#iot
@thomasleitner could it be the button it getting pushed by the casing? The LED might not be on because it's gone into flash mode.
I know the button extender on mine will sometimes get caught in the case because it's not a flat surface, kind of a design flaw in the S26 IMHO
@dugite-code yes I was already thinking about that, but the button feels as if it would click when the case is assembled. I’ll double check, though ... thanks ...
Hey,
is it safe to reflash S26 with 2.6.0 firmware, or it doesn't matter? (Some time ago I had 1.8.1 but the new one is 2.6.0, dunno why).
I am wondering is it a good idea to backup the stock fw to eventually reflash later ? is it scripted or documented anywhere ?
@rzr if you're using esptool like I do it's in the wiki
@pwaldon I have 2.6.0 on mine and it works fine
I have tried flashing these after following this thread and Jon Oxer SuperHouse Episode 31. I think I have a power related issue as flashing results in the "A fatal error occurred: Failed to connect to Espressif device: Timed out waiting for packet header" error. To rule out issues with the MacBook I used an ESP-01 and a cheap USB adapter for flashing these. All good. I conclude that it's a power issue therefore as I know the USB Serial adapter is good but it produces ~3.3V (possibly slightly less as my cheap multimeter reads it as 3.25V). Can I use a LiPo battery to "up the voltage" a bit as I'm pretty sure there's not enough juice for the flashing procedure? I'm thinking I could do VCC and GND from battery and just use the serial connection for Tx and Rx. Would this work? I don't have a bench supply but I may be able to get access to one. The other idea I had would be to extract the ESP breakout board and then flash this before resoldering it. In this case, how would I tie GPIO 0 to GND? Is there a contact for this on the ESP board? (_Edit: OK found details for this_ here. I am going to try the LiPo route first.)
I managed to flash mine , but I have to say that getting to flashing mode is not straightforward.
Also I'd be curious to compare what is differing in original images backuped from different devices...
I managed to flash mine
Do you mind if I ask you for details of what your process was to successfully flash them? I've soldered onto pads for all without success and also using the Jx points under the board. I'm using the same Freetronics USB Serial adapter as Jon Oxer and the latest esptool. Scoured the troubleshooting section looking for a solution but without success yet. I would really like them to work. I've temporarily junked one of them by pulling off the solder pad inadvertently so that's a job for another day. Starting to wish I'd bought the S20s instead.
I used exptool from git at 460800 baudrate and address 0x000000
In my notes:
$esptool \
--port ${port} \
write_flash \
$address \
$@
Wrote 454864 bytes (313424 compressed) at 0x00000000 in 27.6 seconds (effective 131.8 kbit/s)...
And for the USB/UART adapter I think i git it along nodemcu like ESP8266,
I can get the reference if needed
Hey, I got that error when I hadn't pushed the button firmly enough, it was a bit sticky on mine. Is the led flashing?
On February 23, 2019 8:32:06 AM UTC, neirbomn notifications@github.com wrote:
I have tried flashing these after following this thread and Jon Oxer
SuperHouse Episode 31. I think I have a power related issue as flashing
results in the "A fatal error occurred: Failed to connect to Espressif
device: Timed out waiting for packet header" error. To rule out issues
with the MacBook I used an ESP-01 and a cheap USB adapter for flashing
these. All good. I conclude that it's a power issue therefore as I know
the USB Serial adapter is good but it produces ~3.3V (possibly slightly
less as my cheap multimeter reads it as 3.25V). Can I use a LiPo
battery to "up the voltage" a bit as I'm pretty sure there's not enough
juice for the flashing procedure? I'm thinking I could do VCC and GND
from battery and just use the serial connection for Tx and Rx. Would
this work? I don't have a bench supply but I may be able to get access
to one. The other idea I had would be to extract the ESP breakout board
and then flash this before resoldering it. In this case, how would I
tie GPIO 0 to GND? Is there a contact for this on the ESP board?--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/arendst/Sonoff-Tasmota/issues/2808#issuecomment-466629208
@dugite-code Thanks for that but no flashing on LEDs on S26.
@rzr I've tried pulling the breakout ESP board off the main board and the LiPo approaches with the same error as a result. LED flashes when I don't ground GPIO 0 so I'm assuming the S26s I have work. I bought them from iTead directly. I really can't see what I'm doing wrong here.
have you managed to backup the stock fw ? I can try to diff your image with mine to see if there is any hw version or others hints ?
have you managed to backup the stock fw ? I can try to diff your image with mine to see if there is any hw version or others hints ?
Thank you for the offer and thanks for helping me out, problem is I get the same error when attempting to backup stock fw. It's definitely not getting into the bootloader properly or it's crashing early once there and I can only conclude that it's a power issue. I used a different adapter to flash an ESP-01 and this worked.
I have a few things left to try and then I'm out of ideas. Really wish I'd gone for the S20s now!
And for the USB/UART adapter I think i git it along nodemcu like ESP8266,
I can get the reference if needed
@rzr Could you find a reference for this too? My USB to Serial device uses the ATmega16u2 MCU. I have flashed the ESP-01 and decided to use the esptool and settings with an Adafruit Huzzah to load the sonoff.bin file. It didn't work at the low baudrate. I omitted the baudrate and all was ok. The only device I haven't checked is the USB to Serial device I have. If yours works then I may as well try this too. I have another device but even though it has a switch for 3.3V the Vout remains at 5V. I may use the Vout from the ATmega and the Tx and Rx from the other device...
I have it here "sds011_usb2ttl_004" is printed on pcb and it looks like:
As this bug is closed, maybe you can continue this thread to esptool project ?
Dear community,
I started using Tasmota a few weeks ago successfully for my NodeMCU + DHT 22 and love it. THank you so far for the great software and development!
Now I tried to flash my Sonoff S26. Flashing was successful (at least what I assume) with version 6.4.1.19 and Visual Studio Code. I can access the Tasmota web interface via browser, changed the module to Sonoff S2X (8) and can toggle the switch. I even can hear the relay working but nothing happens. I tried a second Sonoff S26 which I used before with original firmware and it behaves the same way. Same if I change to generic device and manually assign GPO12 to relay1 or relay1i.
So I am out of ideas why it seems to work properly but it is not working as expected.
Any hints?
Thank you and best
MatzeMuc86
I might have found a simpler method to avoid the "fatal error occurred: Timed out waiting for packet header" error.
I was using tasmotizer - power on with the button pressed, release button, start the flashing process. It backed up the original firmware then timed out and gave me the error. However, if I held the button down for the whole of the upload process it flashed successfully; hopefully this will help others who have the same problem.
@PJFonseca @freynder @vogler I'm sorry to revive this old issue, but I'm having issues getting this flashed. I'm seeing continuity between 3.3v and GND pads on the board, but the device still works. Is this expected?
Also, I'm using this to try and flash, would it work?
https://pt.aliexpress.com/item/32953781344.html?src=google&src=google&albch=shopping&acnt=494-037-6276&isdl=y&slnk=&plac=&mtctp=&albbt=Google_7_shopping&aff_platform=google&aff_short_key=UneMJZVf&&albagn=888888&albcp=1626568036&albag=65942329430&trgt=539263010115&crea=pt32953781344&netw=u&device=c&albpg=539263010115&albpd=pt32953781344&gclid=EAIaIQobChMI3-3Trs-76AIVDoWRCh3K5Q0eEAQYASABEgJlCPD_BwE&gclsrc=aw.ds
It depends what you are measuring continuity with. There is a circuit between them, through the esp8266 itself. It should not be a dead short though.
I could not see how you set the txd output level to 3.3v on that board, sending 5v to the esp8266 on any pin is not advised. Measure it! You might get away just using a potential divider. I don't know if it will recognise the levels correctly on the rxd pin either, but that should be safe to try.
Nevermind, I just noticed that I've ripped the TX pad from the board. =(
I guess I'm doomed with this one?
It's all down to your physical soldering skills now. Is the pad still connected? The trace from that pad must have gone somewhere, if you follow it maybe you can connect a wire to it somewhere else. I guess it depends on whether the device has any value you might lose by trying.
Yeah, I have shaky hands, so I'm guessing not possible. Also, these are too small components, and I don't have a magnifier or microscope. =(
If someone knows another spot for this TX pin, please let me know
Does anyone know how to use the button on a S26 plug as a separate switch in domoticz?
I would like to use the input to decide if the plug state was changed by pushing the button (admin) or a script.
Most helpful comment
I soldered some wires to them and installed a BME280 inside :). So when they run above 60 degrees I get a pushmessage that they caught fire :D. Ambient 22-23°C gives 30°C inside the Sonoff S26. 40°C when turned on with a 60W bulb.
