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

temperature offset for particular sensor? #12

Closed bee-mois closed 5 months ago

bee-mois commented 5 months ago

some sensors show obvious offsets: image

in older code revisions (this and older) i had the possibility to add values to correct those offsets, for example:

        if folder == "/sys/bus/w1/devices/28-0346d4430b06":
            label = "temp-ir-1-1"
            temp_ir_1_1 = tc + 0.5

tc + 0.5 is correcting a negative 0.5°C offset of the given sensor.

where would i set offsets like that in the actual code, where the sensor config takes place in .yaml?

amotl commented 5 months ago

Thanks. Improved with e4b0b6915a on behalf of GH-14.

bee-mois commented 5 months ago

thank you very many.