W dniu 06.07.2012 o 10:32 Romain Bourdy <rom...@bourdy.eu> pisze: > My question today is, is there any way to be notified of values > changes of a 1-wire sensor instead of polling at regular interval ? > Some of us use low resolution and would prefer a PUSH rather than PULL > approach in getting the values ( Think Message queuing / subscribe ). > Is there any way to achieve this with the actual OWFS ? Does hack > exists with the actual owfs python binding to workaround this ?
If you mean that a sensor would send data when there is a change in temp or input state. It's not possible. Only 1-wire master can initiate communication. Lately there was discussion that some 1-wire/iButton slaves can do that but it's rather uncertain and limited to those few chips if it even works. So generally most popular DS18b20 has to be polled. -- Patryk ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers