On 03.01.2016 05:32, Jan Kandziora wrote:
> a) have to synchronize writing to /simultaneous with reading each node

I have a separate task in my system which checks the datastore how often
any temperature sensor on the bus wants to be read(*), then simply
writes to /simultaneous/temperature, waits a second, reads all values,
and broadcasts them.

(*) or rather, the parameter lives in etcd, so I get notified when it
changes.

What I would like to have is a way to read /temperature which simply
fails when no value is available. I do not want to lock the bus for a
second! there will be sensors on it that respond to conditional search,
I want to read their new state *now*, not "whenever".

-- 
-- Matthias Urlichs


------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to