Hi On 17/10/2014 00:05, Mario Gruenwald wrote: > Hi > > I tried reportbug and reportbug-ng, but it was too difficult for me. > Therefore i write an simple Email. > > I have an USB-1wire-Adapter and some DS18S20 temprature sensors. After my > last upgrade of ow-shell from 2.8p15-1 to 2.9p5-1.1 my temperature graphs had > steps. You can see the effect in a graph at: > http://blaeser.vc-graz.ac.at/1wire.png > After downgrade the problem disappeared. You can see it at > http://blaeser.vc-graz.ac.at/ow-shell-bug.png > starting from 19:00. > > I guess it is the same problem as here: > http://developer.mbed.org/users/snatch59/notebook/onewirecrc/ > citation begin ----- > I have an DS1820 and my values looked quite the same. > > I think the problem is with the calculation of the enhanced 9bit calculation > in DS18S20::calculateTemperature(BYTE* data)
Indeed, it seems similar to effects describe in comments. > The manual of my DS1820 says: > > "After reading the scratchpad, the TEMP_READ value is obtained by truncating > the 0.5C bit (bit 0) from the temperature data..." > > This truncation was missing in the code. > > I extended like this - which can be done better, I'm sure :-) : > citation end ----- > > It would be cool, if you can fix the current package for jessie or guide me, > where and how to report the problem. I just uploaded yesterday the last version (2.9p7). It is on my personnal repo (see my signature) or in the NEW/BYHAND QUEUE (new library packages). Please look if these new packages fix your problem. Else, I'm putting owfs developers in copy so that they can try to fix this bug. Regards, Vincent > kindly regards > Mario > ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers