Review of Sonoff B1 Smart RGB Light Bulb – Part 2: Sonoff-Tasmota Firmware

I’ve already reviewed Sonoff B1 light bulb using the stock firmware combined eWelink app for Android, and as promised in the first part of the review, I’ve also tested the ESP8285 based WiFi light bulb with Sonoff-Tasmota open source firmware, and report my findings in this new post. Before we can play with the new firmware, we need to install it, and I’ve just explained how to upgrade Sonoff devices to Sonoff-Tasmota firmware either using some soldering skills and a USB to serial board, or some network configuration skills and perform an OTA update using ITEAD Studio/eWelink original firmware update mechanism. So for this part of the review, I’ll assume we have just freshly update the light bulb with Sonoff-Tasmota using the binary images released by the developer. First, you’ll need to find the IP address of the light bulb with your router or tools like nmap or arp, and access the web interface in your web browser with for …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

ESPurna Firmware Now Supports Power Meters “Augmented” with ESP8266 Modules/Boards

Sonoff-Tasmota and ESPurna are the two main open source firmware used in home automation devices, such as Sonoff wireless switches, based on Espressif ESP8266 WiSoC. Xose Pérez – aka Tinkerman – has recently purchased “dumb” power meters / kill-a-watt meters, added WiFi to them with ESP-01 module and Wemos D1 mini board, and implemented support in ESPurna firmware leveraging earlier reverse-engineering work by Karl Hagström. The power meter above looks exactly like the one I’ve been using for review for over two years, and has been more more reliable than other models, such as Broadlink SP2 (with built-in WiFi) that gave up on me after a few months. Xose actually noticed that old and newer models of the power meters were based on different solutions. Karl’s meter relied on ECH1560, while Xose’s new meter was instead based on Vango V9261F, which has a public datasheet, and was already being worked on by Domoticz community. While he connect ESP-01 to one of the …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

$8.80 RAK CREATOR Pro Ameba RTL8711AM WiFi IoT Board Comes with 2MB SDRAM, Up to 64MB SPI Flash

Realtek Ameba is a family of WiFi ARM Cortex M3 micro-controllers for IoT applications, and RTL8710AF got some buzz last year, as modules would sell as low as $2, hereby competing with ESP8266 in terms of price. While the solution was interesting, the community activity around the solution has been slow as ESP8266 already have the community and software support. Other Realtek RTL8195AM and RTL8711AM processors offer much more memory, but at the time, price was not as attractive with Ameba Arduino board based on RTL8195AM selling for $25. But there’s now a new Arduino compatible board made by ShenzhenRAK Wireless Technology (RAK) that comes with RTL8711AM processor with 1MB ROM, 2MB SDRAM, 512KB SRAM, and up to 64MB SPI flash, and sells for just $8.80 + shipping on Aliexpress. CREATOR Pro (Wiskey) board specifications: WiFi Module – RAK473 with Realtek RTL8711AM ARM Cortex M3 MCU @ 166 MHz, 1MB ROM, 2MB SDRAM, 512KB SRAM External Storage – Up to …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Karl’s Home Automation Project – Part 4: MQTT Bridge Updated to Use YS-IRTM IR Receiver & Transmitter with NodeMCU

In a previous article, I wrote about an MQTT bridge by 1technophile. I added a DHT temperature and humidity sensor as well as a light sensor. Previously it included a software decoder to decode the IR signal. I never did test the IR transmitter on the gateway, as I didn’t have the parts. But thanks to IC Station, who sent me over a small YS-IRTM hardware based decoder and NodeMCU that I am writing about today. I have replaced the software based version with the YS-IRTM module in the latest update. I found this project challenging. I admit I am a little weak in my programming skills. It was difficult to find documentation but I found a forum talking about this device and basics of how it works. When an IR code is recognized it sends 3 hex codes via serial connection on the transmit pin. To transmit, it expects 5 hex codes: A1,F1,xx,xx,xx. A1,F1 tells it to send the …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

$12 AI Light ESP8266 based WiFi RGB Light Bulb Supports MQTT via ESPurna Open Source Firmware

AI-Thinker is famous in the maker world for their ESP8266 modules, but they’ve also recently launched a WiFi RGB light bulb that sells for about $12.5 and up on Ebay and Aliexpress (here and there). Some people noticed, and bought samples online, including Xose Pérez (aka Tinkerman), ESPurna open source firmware developer, who could confirm ESP8266 was used in the light bulb, did some investigations, and eventually added the light bulb into ESPurna, which means it can be managed using MQTT or a web interface. AI Light looks very similar to Philips Hue, but comes with WiFi instead of Zigbee. AI Light “M1636” key features: RGBW LED E27 bulb with 16.7M colors Connectivity – 802.11 b/g/n WiFi Encryption – AES Voltage Range – 110-240V LED Power – 5 watts WiFi Power Consumption – ≤0.3W Temperature Range – -5~45degree Humidity – ≤80% Certifications – FCC, CE, ROHS If you’re going to use the stock firmware, you can control the LED with …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Karl’s Home Automation Project – Part 2: 433 MHz / WiFi MQTT Bridge, Door & PIR Motion Sensors

Karl here again for part 2 of my home automation project. We will be looking at how to automate your lights based on time of day and motion. In the first part we setup Home Assistant and uploaded firmware to basic Sonoff Wifi switches. Today we will setup a 433 MHz to MQTT bridge and some sensors. 433 MHz Depending on your country 433 MHz is an open frequency to use to communicate with. There are hundreds of different types of devices that use 433 MHz to communicate information. We will be focusing on 2 today from Gearbest: WMS07 motion sensor (left) and WDS07 door/window sensor (2 parts, right). I am not taking the door/window sensor apart, since it is super basic, but I’ve included some photos of the PIR motion detector. 433 MHz Bridge While contemplating how to get presence on a per room basis I ran across this project. It monitors 433 MHz signals and publishes it to …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

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 now MQTT Server, and Home Assistant. Below is screenshot of …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

How to use Sonoff POW with ESPurna Firmware and Domoticz Home Automation System

Sonoff POW is an ESP8266 based wireless switch with a power meter that comes pre-loaded with a closed-source firmware that works with eWelink app for Android or iOS by default. But we’ve also seen Sonoff POW, and other Sonoff wireless switches from the same family, can be flash with open source firmware supporting MQTT (Message Queuing Telemetry Transport) lightweight messaging protocol such as ESPurna, and I initially sent data from Sonoff POW to ThingSpeak via an MQTT broker (mosquitto) to draw some pretty charts. I did that with the switch connected to a lightbulb, but I’ve since installed Sonoff POW in my office to measure the room’s power consumption minus the ceiling light and aircon as shown below. Sonoff cable mechanism is really a pain for hard copper wires, as they are hard to push inside the mechanism, and something come out. I finally managed by it took longer than expected to install. I had to cut the mains cable, …

Support CNX Software – Donate via PayPal or become a Patron on Patreon