ITEAD Sonoff and Slampher Review (and Teardown)
January 10, 2016 — 23:40

ITEAD, purveyors of electronics kits and bits, and one of the original sources of the super cheap PCBs, have come up with their own range of IoT remote controlled mains switches. The Sonoff, a 10A capable multipurpose switch and the Slampher, a 2A lamp switch for anything with an E27 screw in socket. They have sent me one of each for the purposes of reviewing as they are currently running an indiegogo campaign for both. In addition to being IoT devices these can also be controlled by the included RF remote control.

Both devices are functionally identical so apart from the physical connections and power switching capabilities what applies for one also applies for the other.

Initial Setup

The setup guide is located here so I won’t go into too much detail. You can use them immediately and offline with the RF remote, it is simply a matter of teaching the device which button on the (4 button) remote toggles the output by holding the relevant button down when the device is in “learning” mode. Wifi control setup requires an android/iphone (tested with android here) device. Note that account verification uses an sms message so a phone is required for initial account creation. There is no requirement for the phone component after this so hipsters rocking a nokia 5110/ipad combo will be able to use this. I do question the reasons why this is done over the more usual email verification but Xiaomi also do the same so perhaps its more common in China.

Wifi setup involves putting the device into some sort of access point mode, the details of this are handled within the app, where you input you wifi passkey. The device then appears in your app where it can be renamed, turned on/off or a timer set. All in all the app end was quite a seamless process, the only problem i had was that the button on the sonoff was a bit awkward to use, it needed to be about 1mm further out of the casing, i’m unsure if any changes are planned from this sample unit but i found it necessary to cut the cover sticker so i could see what i was doing and use a pen to press the button.

20151227_202911

Usage

I used both devices with both the RF remote and via wifi/phone. The RF performance is a bit flakey at best. It requires holding the button down before you’ll get a successful switching. Its a nice extra to have it in cases where wifi is down or you want a third party to have control over your device temporarily. For me it was much easier to use the phone app.

I put the devices into use over christmas. The screw in bulb connection is not that common here and i had only one light fitting which is a floor lamp from IKEA. Generally having remote control over lights is not something we require but i came up with a great idea for Christmas morning where i told the kids that they couldn’t get up until the lamp in the hall came on and I set a timer in the app for the lamp to come on at 8am. Around 7:30 i could hear them talking in their bedroom so i went down where they were patiently waiting. I went back to our room where i made sure the wife and baby were ready to start Christmas. Once ready i turned the lamp on via the app and the kids were into us in a matter of seconds! If it wasn’t for the slampher i fear we would have been up about 5am! A useful feature is that the timer settings are saved to the server so if you run the app on separate devices they will sync up and more importantly even if your phone is off the device will still switch.

For the last year or more i have been using a spark core to control our central heating boiler with a solid state relay (a separate post on this is coming at some point). This was turned on and off with http post requests from my phone. I have now replaced this with the sonoff and have set timers in the app so it comes on in the morning. Manual control is obviously also available. Over the last two weeks it hasn’t failed to come on at the right time or via manual control in the app.

20151228_185129

Teardown

Sonoff:

20151227_203008 20151227_203311 20151227_203330 20151227_203402 20151227_203421

Slampher:

20151227_210620 20151227_210637 20151227_210703

So whats inside? Each shares the same hardware with the only difference being the relay in one and triac in the other.

The relay in the sonoff is a Hongfa HF32F and the triac is a JST131U (chinese link). Interestingly this is listed as a 1A part, not the 2A that is claimed.

The RF module is RXC6 433MHz module which can be bought for a couple of dollars from any of the usual sources.

Wifi is handled by everyones new favourite ESP8266 but here it it integrated into the circuit design and not just a plug in module.

All of this is tied together with a Silabs EFM8 8bit microcontroller

Programming headers for both the ESP8266 and the EFM8 are broken out.

Overall Impressions

I have to say, i’m quite impressed by these devices. They have been faultless in operation and control over wifi is as good as instant. One thing i would love to see is access to the API so they can be controlled by other apps. I use Tasker on android for my automation but i have no way to integrate these as yet. I did spend a bit of time wiresharking the app but that needs more time spent on it. I have a feeling the app opens a TCP socket and commands are sent via this. Initial app config (timers) are downloaded via http on startup and the app also sends phone info out (imei amongst other stuff) which may be an issue for some.

Even without direct access i still see this as extremely useful. So much so that i’m backing the campaign on indiegogo as an extra couple of sonoffs will definitely get used.