Domoticz Plugin Manager
Step-by-step how-to guide install the Python Plugin (PP) manager on a Raspberry Pi 4, with the latest Raspbian Buster image and Domoticz.
Until earlier, plugins in Domoticz where a bit of a nightmare. In some cases it still is, mostly because Domoticz is an ongoing project that is still being developed. and for the most part, it will always be a work in progress, as is the nature of most open source projects. But life got easier since 2018 with the Python V3 based Plugin Manager for Domoticz. This how-to article guides you true the installation of this great piece of software and how to use it.
This how-to is part of a bigger series of Domoticz how-to’s on sancla.com!
This tutorial has been verified with:
Python Plugin Manager version 1.5.1
- Running Domoticz installation with stable Raspbian Buster release and SSH access. See my previous post for a how-to:
- Raspbian Buster Lite 4.19, Februari 2020
- Domoticz Stable 2020.1 (compile date 22-3-2020)
- Domoticz Python plugin manager dated January 2th, 2020
Step 1: Preparation
Connect with SSH to your Domoticz installation and follow below instructions.
First, make sure that git is installed:
sudo apt-get update sudo apt-get install git python3-pip -y
Next, make sure the correct Python library is installed on your system.
First, check the current installed Python version:
[email protected]:~ $ python3 -V
Also, check the library version with this command:
dpkg --get-selections | grep libpython
[email protected]:~ $ dpkg –get-selections | grep libpython
As you can see, both the Python 2.7 and the 3.7 libraries are installed, but Python version 3.7.3 is active. However, in order to use the Plugin Manager, we also need the corresponding “dev” libraries. Run the following commands to install them:
sudo apt-get install python3.7 libpython3.7 python3.7-dev sudo systemctl restart domoticz.service
Step 2: Install the Python Plugin Manager
Now everything is ready for the Python Plugin Manager, it’s time to install it. Run the below commands to install the PP-Manager plugin.
cd cd domoticz/plugins git clone https://github.com/ycahome/pp-manager.git PP-MANAGER cd PP-MANAGER chmod +x plugin.py sudo systemctl restart domoticz.service
The plugin manager should be installed and ready in Domoticz. Go to your Domoticz hardware page and you can now use it to install plugins.
Before you start installing plugins, make sure to check the Domoticz Plugin page in advance. Not all plugins are duly tested and some need some steps in advance. As stated earlier, Domoticz and the plugin manager are work in progress (but very good progress!).
For more information about the Python Plugin Manager, you can follow one of these sites: