Peter Radcliffe <p...@pir.net> probably said:
>The problem is that some experimentation with the ow python module
>(the one shipped with owfs) is I can't find a way to get at
>HIH4000/humidity.
>
>I can read sensor.humidity ok, and HIH4000 is listed in
>sensor.entryList() but trying to use it as an attribute with
>sensor.HIH4000.humidity just gives me:
>  AttributeError: HIH4000

For reference, I did find a way to do this:

  humidity = ow.owfs_get('/uncached/%s/HIH4000/humidity' % sensor_name)

Not pretty compared to the Sensor() object but it works.

P.

-- 
pir


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to