Command Line

Native command line installation

Linux Installation

You will need python 3.12

  1. Create a folder for hydroqc2mqtt

    mkdir hydroqc2mqtt
    cd hydroqc2mqtt
    
  2. Create a python virtual environment and activate it

python -m venv env
. env/bin/activate
  1. Install (and/or upgrade) the module and its dependencies
pip install --upgrade hydroqc2mqtt
  1. Create your configuration

Either use environment variable or a config file

  1. Run hydroqc2mqtt

If you are using environment variables

hydroqc2mqtt

If you are using a config file

hydroqc2mqtt --config yourconfig.yaml
  1. 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.