Am 14.10.2016 um 09:36 schrieb Colin Law:
> On 14 October 2016 at 00:25, Jan Kandziora <> wrote:
>> Am 14.10.2016 um 00:01 schrieb Michael Hughes:
>>> If I read the humidity from:
>>> /uncached/1F.49D100000000/main/26A829150000002E/humidity
>>> and then read the temperature from:
>>> /1F.49D100000000/main/26A829150000002E/temperature
>>> will I get the temperature that was used to calculate the
>>> humidity?
>> No. Reading "temperature" will start another temperature conversion. You
>> have to read "latesttemp" to read the contents of the temperature
>> register from last conversion (which was triggered by the humidity
>> conversion in this case.)
> What is the difference between ../temperate and uncached/../temperature?
The "normal" cached tree, under some circumstances, will return a cached
value from the latest access to that particular node.

However, as Michael did not read .../temperature but ../humidity, there
should be no cached value for the temperature node. (Well, in reality,
it is, because reading .../humidity in fact reads .../temperature
internally and *does not* bypass the cache. Good riddance.)

But it's better not to rely on the cache.

Kind regards


Check out the vibrant tech community on one of the world's most 
engaging tech sites,!
Owfs-developers mailing list

Reply via email to