Am 06.12.2016 um 11:04 schrieb Sven Giermann:
> I have no idea of what pyownet does or how it is implemented...
> But I know from another project, that DS1820 reports 85.0 deg C when it
> encounters errors.
>
Sven, 85°C isn't an error code but the power-on value the chip has. When
you read it, it means the chip was de-powered during temperature
conversion, usually by using parasite power and encountering a pullup
problem.


> Unfortunately without any other error flag! That's why I
> implemented a way to accept a temperature of 85.0 only, if the previously
> read temp was in that range (82-88), otherwise I just skip this reading and
> try once again.
> 
This is exactly what owfs does and what leads to this error.

Currently I'm in favor of throwing all that 85°C "fixup" code out of
owfs completely. If there's an error in your electrical setup, you have
to fix it there, not by throwing more and more software workarounds at it.

Kind regards

        Jan

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to