Hi,
I am using 18B20 sensor and task is configured that "Error State Value" parameter is set to 125.
What is happening is that if sensor is not connected value of task is not set to 125 but is 0.
Statistic on task shows:
Address: 28-10-98-23-4f-20-01-c5 [DS18B20]
Resolution: 0
Parasite Powered: false
Samples Read Success: 0
Samples Read Failed: 6774
I am expecting that in such cases value on task is 125 - correct?
BR
Dallas 18B20 - value if sensor not connected
Moderators: grovkillen, Stuntteam, TD-er
Re: Dallas 18B20 - value if sensor not connected
Hmm it should indeed make (more) sense if it does give this value.
But I think the code right now only sets this value if a read error occurred (read is tried after a sensor is found).
I agree that it should also consider a "not found" as an error.
Edit: Made an issue for this: https://github.com/letscontrolit/ESPEasy/issues/3796
But I think the code right now only sets this value if a read error occurred (read is tried after a sensor is found).
I agree that it should also consider a "not found" as an error.
Edit: Made an issue for this: https://github.com/letscontrolit/ESPEasy/issues/3796
Re: Dallas 18B20 - value if sensor not connected
correct - if sensor is not connected plugin shall evaluate this as error and set Error State Value.
waiting for ticket resolution.
waiting for ticket resolution.
Who is online
Users browsing this forum: No registered users and 3 guests