My domoticz system did run quite a while with updates straight from the Domoticz github repo. But after a while the update failed on new library requirements. So I cloned a new Domoticz and started compiling from scratch.
The first thing to upgrade was cmake, as you have to compile newer versions of Domoticz with a newer cmake. This proofed to be a bit problematic on an older ubuntu system. After that you will also need Boost and if you used zwave this is a good moment to update the libraries for it. Domoticz, at this moment, needs at least CMake 3.16, Boost 1.72 and optionally OpenZWave 1.6+
Note: all command block below assume that you start from your home directory or a directory of your choice.
You have to remove it first:
To compile/install CMake issue the following commands:
Verify you are on the correct version with:
Remove previous version with:
To compile/install Boost issue the following commands:
If you need support for ZWave, you need to compile open-zwave before compiling domoticz Make sure to follow the below steps, you will end up with a folder layout like:
I also did some changes in the startup scripts, aka converted stuff from rc.d tot system V services.
Contents:
Enable new domoticz service at Boot and disable the previous loaders:
More info can be found on the excellent Domoticz wiki.
Quick Links
Legal Stuff