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

Define MQTT and sensor configuration separately from implementation #8

Closed amotl closed 5 months ago

amotl commented 5 months ago

About

The data logger uses a YAML file for configuration now, for example like etc/mois.yaml. You will then invoke it like:

pip install ds18b20-datalogger
wget https://github.com/hiveeyes/ds18b20-datalogger/raw/main/etc/mois.yaml
ds18b20-datalogger run mois.yaml

More

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (63e9a71) to head (6f88b05).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #8 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 2 4 +2 Lines 153 148 -5 ========================================= - Hits 153 148 -5 ``` | [Flag](https://app.codecov.io/gh/hiveeyes/ds18b20-datalogger/pull/8/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hiveeyes) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/hiveeyes/ds18b20-datalogger/pull/8/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hiveeyes) | `100.00% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hiveeyes#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.