Shell
Install in shell
-
Clone the repo
git clone https://gitlab.com/hydroqc/hydroqc2mqtt cd hydroqc2mqtt
-
Create a python virtual env and activate it
python -m venv env . env/bin/activate
-
Install requirements and module
pip install --upgrade setuptools_scm pip install .
-
Copy and change the configuration or use environement variable.
cp config.sample.yaml config.yaml
-
Copy and adapt run.sh to your MQTT configuration. If your MQTT server does not require auth leave the MQTT_USERNAME and MQTT_PASSWORD values empty
cp run.sample.sh run.sh chmod +x run.sh
-
Run it!
./run.sh
To update you have to re-rerun the steps above. A simple git pull is not sufficient.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.