Command Line
Native command line installation
Linux Installation
You will need python 3.12
-
Create a folder for hydroqc2mqtt
mkdir hydroqc2mqtt cd hydroqc2mqtt
-
Create a python virtual environment and activate it
python -m venv env
. env/bin/activate
- Install (and/or upgrade) the module and its dependencies
pip install --upgrade hydroqc2mqtt
- Create your configuration
Either use environment variable or a config file
- Run hydroqc2mqtt
If you are using environment variables
hydroqc2mqtt
If you are using a config file
hydroqc2mqtt --config yourconfig.yaml
- Upgrade to newer release
pip install --upgrade hydroqc2mqtt
Windows
Les commandes d’installation sont sensiblement les mêmes. Une procédure plus complète est en cours d’élaboration.