Karl’s Home Automation Project – Part 1: Home Assistant & YAML, MQTT, Sonoff, and Xmas Lights

Karl here. I am here to write about my home automation project. First thing I want to say is that I am very cost conscious and I don’t mind putting in extra effort into the setup of things to keep costs down. I did invest a lot of time and had to do a lot of reading to get my project going. It took while and I received a lot of groans from my wife while testing. I am still in the process of tweaking things. I started watching a series of videos on YouTube from Bruh Automation. He introduced me to Home Assistant. It got me really excited. He uses a Raspberry Pi as a server but I already had a Wintel Pro CX-W8 Smart TV Box which I use as a server. I run 3 Minecraft Servers, Emby Server, iSpyConnect DVR (2 IP Cameras), Unifi wifi controller, and […]

Sonoff SC WiFi Environmental Monitor mini Review

Sonoff-SC-USB-Power-Modem

Yesterday I received two environmental monitors with Sonoff SC and vThings CO2 Monitor, and while I’ve plugged both, I have not had time to look into vThings documentation, but since I’m already using the eWelink app for Sonoff TH16 wireless switch, setting up Sonoff SC just took me a few minutes, so I’ll report my experience with the device in this review. I powered Sonoff SC using the USB port of my modem router, and the green LED on the back of the device started to blink every 2 or 3 seconds. Then I started the eWelink app on my Android phone and taped on the “+” icon to add a new device following the instructions here which are basically the same for all Sonoff devices. Then you need to press the “Audio” button for about 5 seconds until the green LED blinks faster, at which point you can click […]

How to Use Sonoff POW ESP8266 WiFi Power Switch with MQTT and ThingSpeak

ITEAD Studio’s Sonoff is a family of cheap home automation products based on ESP8266 WiSoC, and I’ve already tested Sonoff TH16 wireless switch with a humidity and temperature sensor using the stock firmware and eWelink app for Android or iOS. It works, but up to recently it required a registration to a cloud service (the company will now allow use from the local network), and the source code is closed. So for the second device under review, namely Sonoff POW wireless switch with a power consumption monitor, I decided to install ESPurna firmware working on ESP8266 Sonoff devices and NodeMCU, as it’s open source, supports Sonoff POW natively, includes a web interface to control the device from the LAN, and includes an MQTT client. MQTT (Message Queuing Telemetry Transport) is a lightweight publish/subscribe messaging protocol used to control IoT sensors and devices, and it’s a popular method to gather data […]

Sonoff SC WiFi Environmental Monitor Sells for $20

ITEAD Studio has done some good job with their Sonoff home automation devices based on Espressif ESP8266 WiSoC, as they are affordable, working as advertised with default firmware, and hackable with our own. The company has now added a new model, which may or may not be as useful, with Sonoff SC environmental monitor device that detects current temperature, humidity, light intensity, air quality, and sound levels, and sends the data to eWeLink app installed on your Android or iOS phone. You may be thinking it can be used as a home assistant since it really looks like a speaker and include some sort of microphone, but the top of the device is probably used to let air and dust go through. Sonoff SC specifications: WiSoc – Espressif ESP8266 Tensilica L106 processor @ 80/160 Mhz with WiFi MCU – Atmel ATMega328 MCU Connectivity – 802.11 b/g/n WiFi Sensors Sharp GP2Y1010AU0F dust sensor […]

How to Build and Flash ESPurna Open Source Firmware to Sonoff POW Wireless Switch

ITEAD Studio Sonoff family is comprised of various inexpensive ESP8266 WiFi power switch, and the company sent me two of their latest CE certified models with Sonoff TH16 + external temperature & humidity probe, and Sonoff POW to measure power consumption. I checked the hardware is the first part of the review, and used Sonoff TH16 to control a water pump with the stock firmware and Ewelink Android app in the second part. It works reasonably well, but it relies on the cloud, so if you lose your Internet connection or the service closed, you can’t control the relay manually anymore. Luckily, the UART pins are exposed on Sonoff switches so you can solder a 4-pin header and connect a USB to TTL to flash your own firmware. Please don’t connect Sonoff devices to the mains when programming them, it’s very dangerous, instead the USB to TTL board will power […]

LeMaker HiKey 96Boards Board Sells for $29.70 (Promo)

[Update: The promo is over back!] You’d think Cyber Monday should be over by now, but ITEAD Studio still has a clearance with real 70% discount, as 96Boards hardware compliant LeMaker Hikey board is now sold for just $29.70 instead of the usual $99 price. A quick reminder of the specifications: SoC – HiSilicon Kirin 620 octa core Cortex A53 processor @ 1.2 GHz with ARM Mali-450MP4 GPU System Memory – 2 GB LPDDR3 @ 800 MHz Storage – 8GB eMMC + micro SD slot Video Output / Display – HDMI up to 1080p, MIPI-DSI interface Connectivity – 802.11 a/b/g/n Wi-Fi, Bluetooth 4.1 LE (WL1835MOD module) USB – 2x USB 2.0 host ports, 1x micro USB OTG Camera – MIPI CSI interface Debugging – UART header), unpopulated 10-pin JTAG header (back) Expansion headers 40-pin LS (Low Speed) Expansion connector – UART, I2C, 12x GPIOs, SPI, PCM, PWM, SYS_DCIN, 1.8V, 5V, […]

Getting Started with Sonoff TH16 ESP8266 Relay and Sensor using the Stock Firmware and eWelink Android App

Sonoff TH16 is a WiFi relay device powered by Espressif ESP8266 WiSoC, able to handle a load up to 16A (3500Watts @ 220V), and including a jack for sensors. The company recently sent me a sample together with  Sonoff AM2301 temperature and humidity sensor, and Sonoff POW power meter device, and in the first part of my Sonoff review I checked out the hardware for all three items. In the second part, I’ll report my experience with Sonoff TH16 and the temperature sensor with a practical example, as I’ve installed it to control a groundwater pump. What you see above is a picture of my house water tank with two pumps, the white one keep the pressure in the taps and is always on, and the blue one pumps the water from the ground and is the one I’m going to control. Over the last year or so, I’ve tried […]

Sonoff POW and Sonoff TH16 WiFi Relays Review – Part 1: The Hardware

Sonoff TH16 is a WiFi 16A relay that can take external sensors via a 2.5mm jack, while Sonoff Pow is a WiFi relay capable of measuring power consumption. Both have been designed by ITEAD Studio, and feature Espressif ESP8266 WiSoC. The company sent me both items for review, and I’ll start by checking out the hardware a little more closely than what is possible during the product announcement. I received Sonoff TH16 together with Sonoff AM2301 temperature and humidity sensor, which I’ll use to use to control an outdoor water pump and gather temperature and humidity data, as well as two Sonoff POW relays,which I plan to use to measure power consumption in my office, both from the power outlets and my aircon. All three WiFi relays support 3500 Watts, and 85 to 250V input. The packages have three QR codes for eWeLink iOS app, the Android app (coolkit.apk), and […]

Memfault IoT and embedded debugging platform