nicolaiev / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

clients.py enhancement #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I added the following to clients.py so I could poll temperatures from my 
onewire sensor... thought you might find it useful also.

    def inputtempf(self, channel):
        return float(self.sendRequest("GET", "/devices/temp%d/temperature/f" % channel))

Thank you,
Kewlj1313

Original issue reported on code.google.com by kewlj1...@gmail.com on 14 Feb 2013 at 4:19

GoogleCodeExporter commented 9 years ago
Client classes does not reflect yet server possibilities...
All new advanced features will be added in all client (including javascript) 
with the next release.
All devices will be wrapped into client classes in a consistent manner.

Original comment by tro...@trouch.com on 14 Feb 2013 at 9:51

GoogleCodeExporter commented 9 years ago
Device classes for everything supported added in r979

Original comment by tro...@trouch.com on 25 Feb 2013 at 9:59