July 3rd, 2017

Temperature Sensors - Take 2

This post contains a corrected Python script for reading the temperature and relative humidity from a DHT11 sensor and sending them on to a Domoticz server. Bogus values will not be passed on when it is not possible to read the sensor. The second topic of the post is human comfort as it relates to relative humidity and temperature. This is groundwork for controlling an air exchanger and a dehumidifier in the future. [...more]

May 31st, 2017

X10 RF controller with a CM19A Interface in Domoticz

This post shows how to use an X10 PalmPad Remote Control to manually control a lamp connected to a Sonoff WiFi switch from ITEAD. This is a continuation of the previous post about the necessity of providing a way of manually turning on and off lamps connected to Sonoff WiFi switches [...more]

April 26th, 2017

Local Control of Sonoff Switches

Occasionally it is convenient to control devices with a smart phone or tablet,or even a desktop computer. But, very quickly, one tires of having to use such a device to simply light a lamp. I will describe how I added manual switches to control two bedside lamps connected to Sonoffs... [...more]

May 19th, 2017

Over the Air Sonoff Flashing

One of the very useful features of the Sonoff-MQTT-OTA-Arduino firmware for Sonoff switches by Theo Arends is its ability to update itself over the air (OTA). Here is how to use this very usefull capability especially once a switch is being used [...more]

June 3rd, 2017

Workflow when Working with a Headless Raspberry Pi

The missing second post in the new series about home automation with Domoticz on a Raspberry Pi is finally added. I explain how I use FileZilla to more easily modify files on the Raspberry Pi. The instructions on making backups have been moved to this post [...more]

June 1st, 2017

Motion and Dusk Sensor with CM11A in Domoticz

This post explains how I added the X10 ActiveEye Motion Sensor (outdoor model MS16A) to a Domoticz home automation server running on a Raspberry Pi. The latter is linked to the sensor through a CM11A serial computer interface and a RR501 transceiver. It is a reworked version of Adding an ActiveEye Motion Sensor that showed how the same sensor was used with a wireless CM19A computer interface [...more]

May 30th, 2017

MQTT with Domoticz

This post continues the new series about home automation with Domiticz and ESP8266 based hardware showing how I installed an MQTT broker on the Raspberry Pi and how it is used with the home automation software [...more]

May 27th, 2017

X10 Dimmer Switches with a CM11A Interface in Domoticz

This post continues with the building of a home automation system using legacy X10 hardware with Domoticz on a Model B Rev 2 Raspberry Pi. At the end of the post, it will be possible to add fully integrated X10 LM465 Lamp (dimmer) module. Unfortunately, the Lua script may not work with newer (post 2007) lamp modules [...more]

May 23rd, 2017

X10 On/Off Switches with a CM11A Interface in Domoticz

This post continues with the building of a home automation system using legacy X10 hardware with Domoticz on a Model B Rev 2 Raspberry Pi. At the end of the post, it will be possible to add fully integrated X10 on/off modules. [...more]

May 20th, 2017

Domoticz on a Raspberry Pi - "Déjà Vu All Over Again"

This is a detailed description of installing the Raspbian operating system and the Domoticz home automation server on a Model B Rev 2 Raspberry Pi and on a Pi 3 Model B. This is the first in a series of posts about DIY home automation using legacy X10 hardware and using the newer, cheaper, and in my opinion better ESP8266 based hardware [...more]

May 17th, 2017

Flashing a Sonoff with the Arduino IDE (1)

There is nothing very new here. I show how to upload a sketch in a Sonoff WiFi switch from the Arduino IDE. The steps described are a) Installation of the Arduino IDE in Ubuntu; b) Preparation of IDE; c) Serial port access; D) USB-serial connection with the Sonoff switch and e) Uploading a Blink sketch [...more (French)]

May 15th, 2017

Real Time Clock, DS3231, for Domoticz on the Raspberry Pi

Since the Raspberry Pi does not have a physical clock, schedules events triggered by the time of day will not work properly in Domoticz if access to the Internet is lost during a power failure. The obvious solution is to install a hardware real-time clock (RTC) [...more]

February 12th, 2017

Adding an ActiveEye Motion Sensor

This will be one of the last posts about X10 hardware I should think. It shows how to add the combined motion and light sensor to Domoticz. [...more]

February 12th, 2017

BlitzWolf SIC1 Wifi Surveillance Camera... Again

This is another short post with additional information about the camera, its software and firmware. [...more]

February 10th, 2017

Conditional timers in Domoticz

The Decemter 17th blog on conditional timers in Domoticz was updated. Phil (user PhillChillBill on the Domoticz forum; sorry, I don't know his last name) has written a Perl script to automate the process by creating the bash script I described before. [...more]

February 9th, 2017

USB-Serial Converter, Counterfeit or Not?

The USB-TTL converter ordered on the 27th of November finally arrived yesterday. Initially, it would not work with esptool.py to flash an ESP8266. Was the converter harbouring a counterfeit chip? In the end, I did find a way to make it work as I wanted [...more]

February 1st, 2017

Sonoff, NodeMCU and Domoticz

An ITEAD Sonoff WiFi switch with NodeMCU firmware is added to the list of devices controlled with the home automation software Domoticz [...more]

January 31st, 2017

Emulating a Sonoff Switch with a Wemos D1 mini

I still have not received the USB-TTL (3.3V) cable to flash and program Sonoff WiFi Switches. Using the Rapsberry Pi as I did to flash the switches is too cumbersome for software development. Si I decided to emulate a Sonoff with a WeMos D1 mini. [...more]

January 31st, 2017

Flashing a Sonoff Switch with a Raspberry Pi

I decided to rewrite the January 23rd posting and to tranlate it into English. It now shows how to use a Raspberry Pi (instead of USB-TTL cable (3.3V) cable) to flash a Sonoff WiFi Switch from ITEAD with one of three firmware: Sonoff-MQTT-OTA-Arduino (TASMOTA), Sonoff-MQTT-OTA and NodeMCU. Full integration of the switch with Domoticz is achieved with the first one without any programming of any sort [...more]

January 23rd, 2017

Flashing a Sonoff Switch with a Raspberry Pi

The USB-TTL cable (3.3V) ordered from China in December is still in transit. My impatience is such that I decided to use a Raspberry Pi to flash a Sonoff switch. I managed to flash two Sonoffs and I can happily report that no Raspberry Pi nor Sonoff was hurt in the process. And the good news is that it takes about ten minutes to program the second: five minutes to solder a connector and five minutes to flash the Theo Arendst firmware: Sonoff-MQTT-OTA. Here are the details [...more (French)]

January 21th, 2017

Wemos D1 mini and NodeMCU - reworked

The January 15th post has been reworked slightly to better explain the work flow when using NodeMCU with command line tools. In particular, setting the baud rate correctly makes for a smoother experience [...more]

January 17th, 2017

NodeMCU, MQTT and Domoticz - part 1

This post continues with the previous one. In it I show how to establish a WiFi connection and how to update a device (a temperature sensor) in the home automation software Domoticz. This is done in two ways: using an MQTT broker and directly using an HTTP request [...more]

January 15th, 2017

Wemos D1 mini and NodeMCU

When I purchased my first ITEAD Sonoff WiFi switches, I also got a Wemos D1 mini board. I thought using a ESP8266 development kit would be a good way to prepare for hacking the switches. In this post, I relate how I learned to program the ESP8266 using a tool chain made up of NodeMCU firmware and Python command line utilies: esptool, nodemcu-uploader and miniterm. [...more]


Using the BlitzWolf SIC1 Camera in Domoticz

Domoticz uses video cameras as if they were photo cameras: one image at a time. Many security video cameras can snap a photograph even as they send out a video stream. Unfortunately, in the case of the Blitzwolf BW-SIC1 camera, this requires use of the ONVIF api which, apparently, Domoticz cannot do. There seems to be no choice but to write a bash script to pull a frame from the camera's video stream [...more (French)]


Using the BlitzWolf SIC1 Camera in Kodi

There is an add-on application for the Kodi multimedia player to see the video feed from the BliztWolf BW-SIC1 camera. It is called IP Cam. It is rather easy to do without it and to use Kodi which can read RTSP streams. [...more (French)]

January 12th, 2017

Setting up the BlitzWolf SIC1 Wifi Surveillance Camera

Setting up the BlitzWolf BW-SIC1 Wifi surveillance camera with the BlitzCam application on a Windows computer [...more]

January 11th, 2017

BlizWolf SIC1 Camera - in the cold

The BlitzWolf BW-SIC1 wireless security camera spends its firt night in the cold and hits the lower limit of its operating temperature. There is also a short low resolution video. [...more (French)]

January 3rd, 2017

First use of the BlizWolf SIC1 security camera

The BlitzWolf BW-SIC1 wireless surveillance camera has interesting features with respect to its relatively low price. Unfortunately, the instructions accompanying this unit are almost incomprehensible. In addition, they contain no information about its use with the Linux operating system. Luckily, it transmits its video streams with the RTSP protocol, so it can be seen and recorded with standard software in Linux. [...more (French)]

December 21st, 2016

Domoticz as a Linux Program

How can Domoticz be made to look like a native Linux application much like can be done in Android. While possible it is much more complicated. [...more]

December 21st, 2016

Domoticz on Android

Here is a little trick to make Domoticz easier to use on Android device. [...more]

December 19th, 2016

Add MQTT to Domoticz

This short page is a draft of a post on how Domoticz interacts with the MQTT broker. No real device is added to my setup, this is merely prepatory work in the vein, "I should write about this to learn about this" [...more]

December 19th, 2016

Add an MQTT Broker to the Raspberry Pi

MQTT is a communication protocol first proposed in 1999 but now becoming ubiquitous with the so called Internet of Things. In this post, I look at the protocol and add an MQTT Broker to the Raspberry Pi [...more]

December 17th, 2016

Conditional Timers in Domoticz

What I needed was to have lights turn on and off at "usual" times to simulate an inhabited house when no one is at home. I felt that was an important aspect of the prevention side of home security. It turns out there is more than one way to achieve this. There follows a detailed description of the approach I am currently using [...more]

December 13th, 2016

X10 with Domoticz on a Raspberry Pi (Domespic)

A description of how I use X10 hardware with the home automation software Domoticz running on a Raspberry Pi. I installed both the Heyu serial bridge and the Mochad TCP bridge to communicate with X10 computer interfaces (CM11A, CM15A and CM19A). After the introduction, the first part describes the hardware and software used. The second part shows how to install and configure Raspbian (Jessie Lite). The third part is about the installation of the gateways. The fourth part covers the installation of Domoticz and the integration of the bridges. Additional topics, including remote access through Tor, are found in the last part. [...more]

December 12th, 2016

Update to Installing eWeLink on an Android Tablet

It is now very easy to install eWeLink on a tablet without a telephone number if it is running a recent version of Android. Just get the latest version from Google's Play Store. If you have an older version of Android it may yet be possible to use eWeLink or another variant of that program [...more]

December 4th, 2016

Home Automation Reboot

When we moved to our current house about four years ago, I tried to rebuild a modest home automation system around a newly purchased CM15A. But I quickly ran into problems and more or less gave up. I am now back into the game. News about the ESP8266 and the appearance of ITead’s Sonoff have sparked my interest in the hardware side of things. As a consequence I have been experimenting with home automation software that will work on a Raspberry Pi, handle my old X10 hardware and be able to handle the cheap yet practical Sonoff [...more]

November 22nd, 2016

Install eWeLink on an Android Tablet

It turns out that, if all the conditions are in order, you may be able to install eWeLink on a tablet. You will need an Android phone and you must be lucky and install a version from the Google's Play Store that is not the latest version. That way you will get a chance to download the latest version [...more]
August 4th, 2016

August 2016 Update on the Status of X10

It's been more than a year since my last update on the status of X10. It seems nothing much is happening. Authinx (X10.com) is still announcing the reactivation of ActiveHome Pro on the horizon. Unfortunately, it seems that the CM11A is no longer available but the CM15A and CM19A are. The last version if ActiveHome Pro (SW31A only; no plug-ins) is available free of charge [...more]