Closed r00tat closed 3 years ago
Yep, sensor read errors should not cause the sensor read loop to stop.
I've committed a change including a backoff to the develop
branch. Would you mind testing it out and seeing if it solves your issue?
Sure, I'll deploy it in the evening and let you know, if this solves the issue!
Thanks a lot!
Hi @flyte, it seems like backoff did solve my sensor issue and I do not see any errors in the log any more.
Thanks for your quick response and fix!
Is your feature request related to a problem? Please describe. After some time the
ds18b
module fails to read the sensor data. From that point in time the sensor is gone and only a restart helps.This is the error:
Describe the solution you'd like If a sensor can't be read, there should be an exponential backoff retrying the read on the sensor.
Describe alternatives you've considered I've implemented a simple ds18b replacement based on the
w1_therm
kernel module and the 1wire sys files:Additional context
This is my
config.yaml
: