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 […]

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 […]

How to Install Domoticz Home Automation System in NanoPi NEO and Other ARM Linux Boards

I’ve recently started experimenting with IoT projects, and the first hurdle is to select the hardware and software for your projects are there are simply so many options. For the hardware your first have to choose the communication protocols for your sensors and actuators, and if you are going to go with WiFi, ESP8266 is the obvious solution, used together with your favorite low cost Linux development board such as Raspberry Pi or Orange Pi to run some IoT server software locally or leveraging the cloud. But the most difficult & confusing part for me was to select the server software / cloud services as there are just so many options. I prefer having a local server than something running only in the cloud, as my Internet goes a few hours a month, so I started with a solution combining ThingSpeak with MQTT gathering data from Sonoff power switches running […]

$10 RTLDuino is an Arduino Compatible WiFi IoT Board based on Realtek RTL8710AF WiSoC

Last summer, we discovered a cheap RTL8710AF WiFi module with many of the same function as ESP8266, but with an ARM Cortex M3 core instead. The only problem is that it was not quite as easy to play with as ESP8266 boards, as at the time I started by playing with AT commands with B&T RTL00 RTL8710AF module, and later on, I got a more convenient PADI IoT Stamp with breakout board, but if you wanted to change the firmware you had to play with the SDK and a J-Link SWD debugger. Realtek RTL8710AF did not offer the convenience of Arduino IDE program like its big brother “RTL8195AM” from the same Ameba family. I know mbed is being worked on, but in the meantime things have changed for the better, as kissste informed me that RtlDuino implementation added Arduino support to RTL8710AF and RTL8711AM modules, and an NodeMCU-like board with […]

Ten Most Popular Posts of 2016 on CNX Software and Some Stats

The last day of the year is a good time to look back at what the year brought us, and I have to say it has been a fun and interesting year on CNX Software. The TV boxes news cycle has been dominated by Amlogic products, but most products have now switched to 64-bit ARM SoC, with 4K and HDMI 2.0 support, and price have kept going down, so you can now get a 4K TV box for as low as $20, although many people will prefer spending a bit more for extra memory and support. Intel based Bay Trail & Cherry Trail mini PCs have continued to be released with Windows, and in some cases Ubuntu, but the excitement seems to have died off a bit, maybe with the expectation of upcoming Apollo Lake mini PCs that should be more powerful. The year have been especially fruitful in the […]

vThings WiFi CO2 Monitor Quick Start Guide

I’ve already checked out vThings CO2 Monitor hardware and we’ve seen it’s based on ESPrino ESP8266 board, and my model includes CM1106 CO2 sensor and BMP180 temperature and pressure sensor. I’ve now installed it in my kitchen, about 3 to 4 meters from the gas stove, and getting data to ThingSpeak. The door and window of my kitchen are open all day, and the wall have ventilation holes. That’s important for CM1106 sensor since it auto calibrates every 3 days in clear air. If you plan to use such sensor in a closed environment, you should buy Vthings with CM1102 CO2 sensor that costs more, but does not require calibration. Since all WiFi systems I’ve just so far starting AP mode for configuration, I first looked for an access point, but… nothing… Then I decided to read the documentation (might be useful at times), and the monitor is actually configured […]

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 […]

ESP8266 based Wireless Air Quality & Environmental Monitors Teardown – Sonoff SC and vThings CO2 Monitor

The mailman delivered two parcels today, and interestingly enough they have a similar functionality measuring air quality and environmental data such as temperature. The first package was ITEAD Studio Sonoff SC environmental sensor with ESP8266, an Atmel MCU, DHT11 temperature & humidity sensor, a dust detector, a light sensor, and a microphone, while the second was v-Air Monitor vThings CO2 monitor v3 also based on ESP8266 with a CO2 sensor and other optional sensors. I’ll test both with their stock firmware later on, but today I’ll have a look at the hardware design. v-Air Monitor vThings CO2 monitor specifications While I’ve already written about Sonoff SC, it’s the first time I cover v.Air Monitor products, so let’s start with the specifications of vThings CO2 Monitor v3: SoC – Espressif ESP8266 WiSoC Connectivity 802.11 b/g/n WiFi Optional RF315 / 433 MHz RF module Sensors CO2 Sensor (one of them) CM1106 NDIR […]

UP 7000 x86 SBC