Hello...
I'm using Peter Kropf's OWFS Python library (python-ow_2.9p8-6_armhf.deb) on my
Raspbian Jessie system (sudo apt-get install python-ow).
** I'm having trouble accessing the memory of a DS2438 Smart Battery Monitor.
** The "entryList function says "pages" is a valid attribute:
spipc = ow.Sensor("Alias2438")
print spipc.entryList()
['B1-R1-A', 'CA', 'EE', 'HIH3600', 'HIH4000', 'HTM1735', 'IAD', 'MultiSensor',
'S3-R1-A', 'VAD', 'VDD', 'address', 'alias', 'crc8', 'date', 'disconnect',
'endcharge', 'family', 'humidity', 'id', 'locator', 'offset', 'pages',
'r_address', 'r_id', 'r_locator', 'temperature', 'type', 'udate', 'vis']
** But __getattr__ doesn't like the name:
spipc = ow.Sensor("Alias2438")
print spipc.pages
Traceback (most recent call last):
File "ospi_gc.py", line 278, in <module>
main()
File "ospi_gc.py", line 241, in main
print spipc.pages
File "/usr/lib/python2.7/dist-packages/ow/__init__.py", line 349, in
__getattr__
raise AttributeError, name
AttributeError: pages
** Can you tell me what's wrong?
73,
Gary
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers