Two Interesting Projects on Github: Zigbee to MQTT bridge & “Deep Painterly Harmonization”

zigbee-dongle

Hey Karl here. I thought I would try and showcase some GitHub projects that I run into that seem interesting or fun. This week I will start out with 2 projects. Zigbee to MQTT bridge The first one today is a Zigbee to MQTT bridge. Previously we did a couple articles with 433MHz bridges for home automation, a diy RF bridge and one by Sonoff. This bridge is similar but with Zigbee. Unfortunately 433MHz typically have one way communications, and when a message is sent there is no response and the system has to assume the message is received. Zigbee is a 2 way protocol and an acknowledgement can be sent back. The code is moving fast right now and blowing up my GitHub notices. It is a little bit of a mystery on how this works right now with the parts list, but seems to be working for some people. Link to github: zigbee2mqtt Deep Painterly Harmonization The second …

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

FOSDEM 2018 Open Source Developers Meeting Schedule

FOSDEM (Free and Open Source Software Developers’ European Meeting) occurs every year on the first week-end of February, where developers meet for two days discussing about open source software projects. FOSDEM 2018 will take place on February 3-4 this year with  652 speakers, 684 events, and 57 tracks, an increase over  last year 608 speakers, 653 events, and 54 tracks. There will be 8 main tracks namely: Community, History, Miscellaneous, Performance, Python, Security and Encryption, Space, and Global Diversity CFP Day. There will also be 33 developer rooms, and since the full schedule is now available, I’ll make a virtual schedule mostly based on sessions from the Embedded, mobile, and automotive, Hardware Enablement, and Internet of Things devrooms. Saturday 3, 2018 09:50 – 10:15 – Turning On the Lights with Home Assistant and MQTT by Leon Anavi In this presentation you will learn the exact steps for using MQTT JSON Light component of the open source home automation platform Home …

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

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