I'm evaluating pyowfs for use in a USB based 1-wire system running on a
RaspberryPi.
I've got pyowfs running fine on the RaspberryPi. At this stage I'm
reading temperatures (from four DS18B20 sensors). I'm using the code
described on the 'pyowfs website' to read temperatures. This generates a
list of sensors, this sensor list is then parsed for the required sensor
(eg sensor with an ID 28.450EDC020000) and then the temperature is read
(eg. temp = s.get ("temperature") where s is the sensor with the
required ID).
Is there a more direct way of identifying the sensor with a given (ie
known) ID? I tried:-
root = Connection ("localhost:4304")
s = root.get("/28.450EDC020000")
temp = s.get ("temperature")
but that didn't work.
Any ideas\suggestions ?
--
Regards
Joe P.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers