Am 03.01.2016 um 19:28 schrieb Jan Kandziora: > Am 03.01.2016 um 18:07 schrieb Matthias Urlichs: >> >> What I would like to have is a way to read /temperature which simply >> fails when no value is available. >> > It is easy to change that behaviour. Should we have another node in > /settings controlling how reading temperature/voltage values work or do > you see an ingenious way to have owfs find this out automatically? > Reading the sources again, it would be easiest to have another node "latesttemp" in the chip directory which just returns the interpreted values of scratchpad[0] and scratchpad[1].
Or you can read the scratchpad node and do the arithmetic yourself. Kind regards Jan ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers