diff --git a/.gitignore b/.gitignore index d9391ed..d7eaccc 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ coverage.xml *.egg-info *.pyc __pycache__ +/dist diff --git a/README.md b/README.md index 89fa27e..e0136b5 100644 --- a/README.md +++ b/README.md @@ -47,15 +47,12 @@ We recommend to install the program into a Python virtualenv. ```shell python3 -m venv .venv source .venv/bin/activate -pip install 'ds18b20-datalogger @ git+https://github.com/hiveeyes/ds18b20-datalogger.git' +pip install --upgrade ds18b20-datalogger ``` In this spirit, you keep the installation separate from your system Python, so you can easily nuke it and start from scratch in case anything goes south. -Prerequisites: This program needs the `paho-mqtt` package. -https://pypi.org/project/paho-mqtt/#installation - ## Operations diff --git a/ds18b20_datalogger/core.py b/ds18b20_datalogger/core.py index e7a786d..3843b23 100755 --- a/ds18b20_datalogger/core.py +++ b/ds18b20_datalogger/core.py @@ -1,11 +1,10 @@ #!/usr/bin/env python """ -Requires: -paho-mqtt in a venv: https://pypi.org/project/paho-mqtt/#installation -insert your own sensor addresses (see below line 125+) -your MQTT connection settings and credentials (line 65+) +Configure: +- Insert your own sensor addresses (read_ds18b20_sensor_matrix). +- Adjust MQTT connection settings and credentials (send_measurement_mqtt). -Recommended: +Start: ``` ssh to your pi screen