X10 with Domoticz on Raspberry Pi (Domespic)
December 13, 2016
  Next: Part 1 – Descriptions

These six posts describe my experience in using X10 hardware with the home automation software Domoticz on a Raspberry Pi.

There are two lessons that if heeded, will spare you much time as I learned from experience.

  • Do not install an SD card image still available from Sourceforge as recommended on page 7 of the rather old Domoticz manual. I did that and was not able to make Mochad work in that environment. Follow the instructions that follow instead.
  • Do not follow the instructions in the Domoticz wiki page X10 devices, CM15 Pro because it is outdated. There is a native Mochad bridge which makes it a snap to install X10 modules controlled by a CM15A or CM19A.

The material can logically be divided into five parts. The first part describes the hardware and software used. The second part shows how to install Raspbian (Jessie Lite) on an SD card and how to configure the Raspberry Pi. The third part is about the installation of gateways that can communicate with X10 transceivers: Mochad (for the CM15A or CM19A) and Heyu (for the CM11A). At least one of these must be installed. As explained in part 3, it is very easy to install Domoticz with a one line script. There remains integrating the gateways in Domoticz, which is the subject of the fourth part. Additional topics are covered in the last part.


    Part 1 - Descriptions

  1. Hardware Description
  2. Software Description
  3. Part 2 - Raspbian

  4. Install Raspbian on an SD Card
  5. Boot the Raspberry Pi
  6. Update Raspbian
  7. Set a Static IP Address
  8. Enable a Wireless Connection (optional)
  9. Configure the Raspberry Pi
  10. Part 3 - Gateways

  11. Install Mochad
  12. Install Heyu
  13. Backup
  14. Part 4 - Domoticz

  15. Install Domoticz
  16. Add X10/Mochad to Domoticz
  17. Add X10/Heyu to Domoticz
  18. Part 5 - Extensions

  19. Transfer Files by SFTP with FileZilla
  20. Use Timers and Notifications
  21. Add a Web Camera
  22. Add Tor Onion Remote Access
  Next: Part 1 – Descriptions