SM-S0301 WiFi Smart Power Strip with USB

1,714 views
Skip to first unread message

Bryan Mayland

unread,
Feb 3, 2018, 4:42:46 PM2/3/18
to SonoffUsers
I grabbed one of these 4 outlet power strips that with wifi support off of Amazon, hopeful that inside there was an ESP8266 to be able to put Sonoff-Tasmota on it. Inside there was a TYWE3S module oh no! It looked just like an ESP-12F without crenelations for the flash I/O and a quick bit of googling told me that the pinout was identical to an ESP-12F so I set to flashing. For some reason they decided to put the button on GPIO5 so I just soldered a wire to GPIO0 to be able to ground it for flashing.

Works like a charm, all 4 relays for controlling 4x AC sockets and there's a 5th control for being able to turn off the 4x USB ports power. The transformer inside is rated 5V 2.5A so I would not try to run what the specs say, which is 2.4A per port. I'd also be dubious of running 10A of current through the PCB traces that connects the AC outlets, and put your highest current draw closest to the power input. These are sold under a dozen different brands if you search Amazon for "WiFi Smart Power Strip", however some are only 3x AC outlets. The one I got was Geekbes branded for $28 at the time, but searching for the model number that was printed on the PCB (SM-S0301) I only got three hits, all for different brands.


Here's the definition needed in sonoff_template.h to make it work:
  { "SM-S0301",
    GPIO_LED1_INV,     // GPIO0 1 Blue LED
    0, 0,              // TX (no pad), GPIO2 (no pad)
    GPIO_LED2_INV,     // GPIO3 (RX) 3 Red LEDs
    GPIO_REL1_INV,     // GPIO04 Relay 1 closest to mains cord
    GPIO_KEY1,         // GPIO05 Power Button
    0, 0, 0, 0, 0, 0,  // Flash connection (no pads)
    GPIO_REL3_INV,     // GPIO12 Relay 3
    GPIO_REL2_INV,     // GPIO13 Relay 2
    GPIO_REL4_INV,     // GPIO14 Relay 4 furthest from mains cord
    0,                 // GPIO15 - 4.7k ohms to ground
    GPIO_REL5,         // GPIO16 Relay 5 (MOSFET) USB power
    0                  // ADC0 (no pad)
  },


I never tried it out before I went to taking it apart, so I'm not 100% sure how the LEDs worked before the switchover to Sonoff-Tasmota. There are 3x Red LEDs by the power button, and 1x Blue LED. Both of these are on different GPIOs so I mapped the blue one to LED1 because all the ports already have red LEDs that indicate when they are on. I can't figure out what LED2 is used for (if anything) by Sonoff-Tasmota. It would be nice to have one be the "any power on" indicator like it is now and one indicate that wifi is connected or something. Am I missing a command to do this?

Finally, when putting it back together, the power button becomes wedged if I tighten the screw closest to the button down all the way. I took it back apart a couple times and see no way to mechanically avoid this and it seems a little hokey because the rest of the power strip is made to pretty good standards but like I said, I didn't try it before I took it apart and did not note if any screw was 1mm shy of being screwed in all the way so if anyone gets one of these I'd be interested to hear if their button ceases to function as well if that screw is tight. One down side to this power strip is that there are not any mounting holes in the case, so if you like things neat and tidy and off the floor, you're going to have to resort to your own adhesive methods.

Bryan Mayland

unread,
Feb 3, 2018, 9:06:43 PM2/3/18
to SonoffUsers
Guess I can't edit the post but when I was throwing out the box it looks like the model number actually might be SM-SO301 (sierra mike - sierra oscar 301) and not sierra mike - sierra 0301. Recording this for posterity.

poldim

unread,
Apr 24, 2018, 1:47:42 AM4/24/18
to SonoffUsers
Thanks for posting this!! Your photo helped me find the correct VCC pin and I snagged your template file!  Works great. 

One improvement would be to use a single MQTT entry to control it similar to this:

{"devId":"DEVICE_ID","dps":{"1":true,"2":false,"3":false,"4":false,"5":true,"6":0}}
I bought three of these and can confirm the power button works just fine on the two I've yet to take apart.  

LucasS

unread,
May 12, 2018, 9:15:47 PM5/12/18
to SonoffUsers

hello,

I was able to flash the power strip but it does not seem like the firmware  sticks. In other words, Arduino IDE indicates that the upload is complete but when I reboot the device the original firmware kicks in. Attached are the Arduino settings.

Any suggestions?

Thanks!
Lucas



On Saturday, February 3, 2018 at 4:42:46 PM UTC-5, Bryan Mayland wrote:

flyn...@gmail.com

unread,
Jun 1, 2018, 11:15:02 AM6/1/18
to SonoffUsers
MMMM...3 months on so I am probably wasting my time ...but.... try changing  the reset method from ck to nodemcu

LucasS

unread,
Jun 6, 2018, 10:23:44 AM6/6/18
to SonoffUsers
Thanks I have tried that already but no luck. I am slowly giving up on this since I am running out of ideas.

Eric MacMullin

unread,
May 22, 2019, 7:19:29 AM5/22/19
to SonoffUsers
Hi.  I have one of these Wifi power bars, branded as "Etlephe" but same model # as what you are discussing.  It worked great for a grand total of 2 months but now won't turn on.   Any suggestions on a repair?  I tap the power button and nothing happens, where before (when it was working) the power button would light up.  

Any thoughts would be appreciated!  Have your units lasted?  

Thx!

On Saturday, February 3, 2018 at 4:42:46 PM UTC-5, Bryan Mayland wrote:

Phil

unread,
May 22, 2019, 7:34:15 PM5/22/19
to SonoffUsers
I also have some similar looking strips,  3 x white box no brand iirc sourced via amazon uk circa £21-22 delivered. And as they were advertised as for use with the Tuya Smart-Life app I flashed all 3 OTA with a raspi-3B and a sd card flashed and preped for the Tuya-convert method.

2 x are in 'light infrequent use around my play/work bench/corner table set up. while the 3rd is in constant daily use turning on/off AV equipment and the bedroom tv,
TV and Soundbar get switched on as one and the usb for amazon stick power and playstation are turned on/off as needed..  

All 3 have been running for 6 months + without issue..

One aspect that disappointed when opening the box was the strain relief on the power supply flex,  i added a cable tie around the flex end to take the initial/main strain against the flex hole in the shell.  
Reply all
Reply to author
Forward
0 new messages