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 regards,
Roland
Mick Sulley <m...@sulley.info> hat am 9. Januar 2017 um 00:46 geschrieben: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.....
OK ignore the first loop. The logic and logging takes more than 1 second, so when I read the temperatures they are all converted because it was initiated at step 2 on previous loop, no wait time and no 85 degree readings.
I agree that there is a design fault with the DS1820, but it is nothing we can fix here, and Dallas are not going to do anything about it now.
Hope that helps a bit
Mick
On 08/01/17 22:30, Jan Kandziora wrote: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 onewire plugin). I have also not all my sensors (Type 28 = DS18B20) external powered, so the simultanues read of values will not work. On this way the value of latesttemp will be only updated, when the sensor is read on an second way. Only latesttemp will hold his value without any changes. So it is not (For me) complete right working as i was suggesting, that the update of that value will be also made. But this will be never be done.I'm sorry, I do not understand from the above what your problem is. Kind regards Jan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers