SONOFF releases HTTP API for SPM-Main power meter

Sonoff power meter DIY Mode

SPM-Main is the main unit of Sonoff Smart Stackable Power Meter using RS485 to provide up to 128 relays. Besides support for the eWelink mobile app, we were promised an HTTP API at the time of the launch in September 2021. ITEAD kept its promises and has now released the HTTP API for the SPM-Main smart power meter to allow IoT home automation users and developers to control SONOFF devices via existing home automation open-source platform or local HTTP client. It’s the same REST API used for SONOFF MINI & R3 smart switches, but it adds support for power monitoring as well. The API allows you to switch between eWelink and DIY modes as needed, and provides the following functions: Device Status Broadcast – Returns the switch status of all channels with current, voltage, power, overload status, RS485 communication status, and more Get the List of Sub-device – List of […]

International Black Friday 2021 Deals

Black Friday Crazy Sale 2021

We’ve been listing Black Friday and Cyber Monday deals available internationally since 2014, going beyond the US-centric Amazon Black Friday deals for instance. So let’s do it again this year from the usual suspects like Aliexpress and Banggood, as well as direct deals from manufacturers. Arduino Black November The maker board manufacturer offers discounts on eight products until November 29, namely the Arduino Starter Kit, the Arduino UNO board, the Arduino Nano Arduino Micro, Oplà IoT Kit, Arduino Due, Portenta H7 machine vision bundle, and the Arduino Mega. The company also offers discounts on Arduino-branded gears from T-Shirts to pens. Khadas 20% discount Khadas has an upcoming deal on the Amazon US store that will run for only 24 hours from 25th November 12:00 am to 26th November 11:59 pm (Pacific Standard Time). As I understand it, they ship internationally too, and you’ll be able to get 20% off the […]

Setting up a motion activated light with Sonoff Zigbee sensor and T2 WiFi switch

Sonoff T2 wiring Thailand

Earlier this month, I received a Sonoff ZBBridge Zigbee gateway, a motion sensor, and a Sonoff T2 wireless switch in order to set up everything to work as a motion activated light using Zigbee and WiFi through the eWelink Android app and cloud service. You can check out the first post to have a closer look at the hardware and accessories. We’ve now had time to configure everything and will report the results of the project in this post. The idea is basically to detect motion with the Zigbee sensor, which then transmits the info through the gateway, and the T2 switch is controlled by the eWelink cloud. Last time around, I thought I had a switch with a neutral wire at home, but I did not check in detail enough, and I’ve been unable to use it. Without suitable switches in my home, it was not practical to rewire […]

Playing with Sonoff Zigbee & WiFi automation – Part 1: Hardware overview

Sonoff T2 Switch Zigbee Bridge Motion Sensor

I don’t think I’ve ever used Zigbee, but I’ll soon have the opportunity as ITEAD sent me the Sonoff ZBBridge gateway, a Sonoff T2 2-gang WiFi switch as well as a Zigbee motion sensor. I had reviewed several Sonoff devices in the past, but it had been over three years that I hadn’t. ITEAD recently contacted me basically telling me I could select whatever I wanted from their product list for a review on CNX Software. Since I had reviewed several of the company’s WiFi smart sockets, smart switches, and a light bulb, I had less to play with, and then I thought it might be fun to play with Sonoff Zigbee products. But I did not own any Zigbee hardware, so I had to think about a use case. I have a small annoyance in the house I rent. When we come back at night, we have to leave […]

$9.90 SONOFF Zigbee 3.0 USB Dongle Plus works with Home Assistant

Sonoff Zigbee 3.0 USB Dongle Plus

ITEAD has launched a new Zigbee dongle with the Sonoff Zigbee 3.0 USB Dongle Plus powered by Texas Instruments CC2652P wireless MCU which follows the company’s Zigbee 3.0 USB Dongle based on Silicon Labs EFT32MG21 Cortex-M4 microcontroller. The dongle is pre-flashed with Z-Stack 3.x.0 coordinator firmware which enables ZHA in Home Assistant or Zigbee2MQTT compatibility. Sonoff Zigbee 3.0 USB Dongle Plus (ZBDongle-P) specifications: Wireless MCU – Texas Instruments CC2652P SimpleLink Arm Cortex-M4F multiprotocol 2.4 GHz wireless MCU with integrated power amplifier for Bluetooth 5.2 Low Energy, Thread, Zigbee 3.0 Connectivity – Zigbee 3.0 with SMA antenna connector, +20 dBm output gain Host interface – USB port with CP2102N USB to TTL chip Expansion – 5-pin IO header with programming pins Misc – Boot and reset buttons, LED, DIP switch for hardware flow control Power Supply – 5V/100mA via USB port, LDO Dimensions –  87 x 25.5 x 13.5 mm (Aluminum […]

Sonoff NSPanel – A 3.5-inch HMI display for home automation (Crowdfunding)

Sonoff NSPanel

You’ll soon be able to control all Sonoff smart switches, sockets, light bulbs, IP cameras, as well as Philips lighting solutions with the Sonoff NSPanel, a 3.5-inch HMI display supporting wall installation to US or EU standards. The ESP32 based touchscreen display integrates a dual-channel wall switch, supports Amazon Alexa, Google Home, or Yandex Alice voice assistants, and if you are not at home, you can still control your appliances with eWelink app for Android or iOS. Sonoff NSPanel specifications: WiSoC – Espressif ESP32-DOWD V3 dual-core Xtensa processor @ 160 MHz with 512KB RAM, 2.4 GHz 802.11n/g/n WiFi 4, and Bluetooth 4.2/5.x Display – 3.5-inch capacitive touchscreen display with 480×320 resolution Power Input – 100-240V @ 50/60Hz up to 4A Power Output – 100-240V @ 50/60Hz up to 2A per gang, or 4A in total LED Load 110V – 150W per gang, 300W total 220V – 300W per gang, 600W […]

SONOFF Smart Stackable Power Meter supports up to 128 20A relays

SPM RS485 daisy-chaining

ITEAD has introduced many smart switches over the year under the SONOFF brand, and their latest SONOFF Smart Stackable Power Meter is DIN mountable and made for larger industrial applications with up to 128 devices. The solution is comprised of the “SPM-Main” WiFi connected main unit controlling up to 32 “SPM-4Relay” units with 4 relays each using RS485 daisy-chaining. SPM-Main specifications: Storage – MicroSD card slot up to 32GB to store up to 180 days of energy usage data Connectivity Ethernet 2.4 GHz 802.11b/g/n WiFi 4 RS485 master Power Input – 100-240V 50/60Hz up to 50mA max Dimensions – 142.5 x 90 x 66.5 mm (PC V0 material) SPM-4Relay specifications: Connectivity – RS485 Power Input – 100-240V 50/60Hz up to 20A per relay, 80A total Power Output – 100-240V 50/60Hz up to 20A per relay, 80A total Safety – Current, voltage, and power overload protection with delay function from 0 […]

Sonoff & Tuya smart plugs found to transmit unencrypted passwords

Sonoff Tuya security vulnerability

There are many low-cost smart plugs based on ESP8266 that provide a convenient way to control lights or home appliances with your smartphone. But cybersecurity firm A&O IT Group found vulnerabilities in ITEAD’s Sonoff S26 and Ener-J Wi-fi (Tuya) smart plugs that would allow an attacker to easily access your wireless network. The first security vulnerability is pretty common and hard to exploit since it’s only a concern during the setup.  Sonoff S26 starts itself into access point mode with ITEAD-1001xxxxxx SSID, and is set up through the eWelink app with the user not needing to know the password. But with older firmware is was needed, so ITEAD still shares the default password: 12345678 in the user manual, and it can be used to connect to the smart plug by anyone. But once configured, it’s not accessible anymore as the smart plug should be in client mode connected to your […]

EmbeddedTS embedded systems design