Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-09 Thread fli4l
Hallo Jan,ich arbeite im Projekt FLI4l (Ein Softwarerouter)in Verbindung mit OWFS.Auf dem Router läuft nun zur Datenerfassung diverser Werte auch nochdie Erfassungssoftware collectd (www.collectd.org) mit dem darin vorhandenenplugin "onewire".Dieses Plugin arbeitet direkt mit OWLIB zusammen und

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-09 Thread Jan Kandziora
Am 09.01.2017 um 09:33 schrieb fl...@franke-prem.de: > Hello, > sorry for the confusion. > The reading by me has nothing to do with the 85 degree values. > It was only the hint, when readout values with the OWLIB Connection, > that then the values by reading with only "latesttemp" will be not

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-09 Thread fli4l
Hello,but the "simultanues/temperature bit" Need  external powered sensors as i suggest.So what is when you have sensors with paratite-power?And i suggest that you will Trigger the simultaneous/temperature bit manually in your external application. Not directly inside the OWFS code.Best

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-09 Thread fli4l
Hello,sorry for the confusion.The reading by me has nothing to do with the 85 degree values.It was only the hint, when readout values with the OWLIB Connection,that then the values by reading with only "latesttemp" will be not updated.This is the Problem by me.Best regards,Roland Jan Kandziora

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-08 Thread Ekkehard Pofahl
Thanks for all the replies. *Suggestion :* *IF *reading == 85 *then *ignore reading I will now implement something like this for each reading of the OWFS server. Most probably I will add the following else branch : *else *reading = last_reading Even if there is a valid 85 degree measurement,

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-08 Thread Mick Sulley
I don't know if this will help to explain the operation, but my code runs in a continuous loop - * Read all temperatures * Set the simultaneous/temperature bit * Perform logic operations, setting outputs to devices based upon temperatures read, etc * Log values to database * repeat.

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-08 Thread Jan Kandziora
Am 08.01.2017 um 19:39 schrieb Roland Franke: >> >> It's still in there, as Stefano found the real bug causing problems with >> .../latesttemp. > > But this has also an problem (For me). I will read over OWLIB from the > OWSERVER values out (Let me say the program collectd will read it with > the

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-08 Thread Roland Franke
Hello, >>> ... >>> This has all been taken care for already, OWFS repeats a >>> .../temperature triggered conversion for the case 85°C is the result. >>> When you still have stray 85°C readings, it means your power failures >>> are so serious you should check your hardware setup. >> >> Is that

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-08 Thread Colin Reese
If there is no way to distinguish 85 error/power up from 85 valid, you cannot filter it. Period. It must all be done on the other side of owfs, and the user strategy for this depends on application and expected results. You could add flags like last_was_85, or a time stamp last_non_85, but

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-08 Thread Jan Kandziora
Am 08.01.2017 um 17:05 schrieb Colin Law: > > It is surely undeniable that this is a design flaw in the chip. Much > more sensible would have been to make it default to full scale (or > full negative scale), then it would have been much easier to program > around. > Full scale values mean there

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-08 Thread Colin Law
On 8 January 2017 at 14:59, Jan Kandziora wrote: > Am 08.01.2017 um 14:54 schrieb Ekkehard Pofahl: >> >> I am using OWFS since more than two years in different versions on a Raspi >> 2. This alone shows, that I think it is a very good program. >> >> From time to time there is the "85

Re: [Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-08 Thread Jan Kandziora
Am 08.01.2017 um 14:54 schrieb Ekkehard Pofahl: > > I am using OWFS since more than two years in different versions on a Raspi > 2. This alone shows, that I think it is a very good program. > > From time to time there is the "85 degree" discussion. It is a clear design > flaw of the DS 18xxx

[Owfs-developers] 85 degree reading means error, readout timing, error should be filtered

2017-01-08 Thread Ekkehard Pofahl
Hello, I am using OWFS since more than two years in different versions on a Raspi 2. This alone shows, that I think it is a very good program. >From time to time there is the "85 degree" discussion. It is a clear design flaw of the DS 18xxx chips to sent out a valid temperature reading, when an