Ok. Thanks that should help me out a bit.
These are the results I get in python at the moment: 

>>> b
Sensor("/2D.C1E79A010000")
>>> b.type
'DS2431'
>>> b.entryList()
['address', 'alias', 'crc8', 'family', 'id', 'locator', 'memory', 'pages',
'r_address', 'r_id', 'r_locator', 'type']
>>> b.pages
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 349, in
__getattr__
    raise AttributeError, name
AttributeError: pages
>>> b.alias
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 347, in
__getattr__
    return owfs_get(object.__getattribute__(self, '_attrs')[name])
  File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 159, in _get
    raise exUnknownSensor(path)
ow.exUnknownSensor: '/2D.C1E79A010000/alias'




--
View this message in context: 
http://owfs-developers.1086194.n5.nabble.com/Diagnosing-disappearing-devices-adapters-tp10045p10057.html
Sent from the OWFS Developers mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to