hiveeyes / ds18b20-datalogger

A temperature sensor matrix with heatmap visualization for bee hive monitoring, using Raspberry Pi, Linux, Python, DS18B20, MQTT, Kotori DAQ, and Grafana.
https://community.hiveeyes.org/t/laborprotokoll-4x5-temp-matrix-mit-ds18b20/5102
GNU General Public License v3.0
1 stars 0 forks source link

New configuration file using YAML #9

Closed amotl closed 5 months ago

amotl commented 5 months ago

Introduction

The new configuration file for this program is using the YAML format.

image -- https://www.reddit.com/r/ProgrammerHumor/comments/qz0av8/box_of_devops/

Synopsis

Use the read or run subcommands together with a configuration file to invoke a measurement reading.

ds18b20-datalogger read /path/to/datalogger.yaml
ds18b20-datalogger run /path/to/datalogger.yaml

Configuration File

After installing the program, you can easily create a configuration file blueprint, using the make-config subcommand.

ds18b20-datalogger make-config > datalogger.yaml

Other than this, see also etc/mois.yaml as a full working example, defining a 5x6 temperature sensor matrix, supporting beehive monitoring.

bee-mois commented 5 months ago

dont forget to fill with your own mqtt connection info and with your sensor ids/device addresses, and it works like a charm.