jso / py-wink

Python library for interfacing with Wink devices by Quirky
MIT License
46 stars 25 forks source link

cloud_clock example now fails #6

Closed zandr closed 10 years ago

zandr commented 10 years ago

Decided to bring the Nimbus along on vacation to tinker a bit. There's clearly been a software push from their side, and now I'm seeing issues with the cloud_clock example:

$ python cloud_clock.py 
found cloud_clock 573 called Nimbus!
'demoing' each of the dials:
dial #1 'Weather'...
dial #2 'Traffic'...
dial #3 'Calendar'...
dial #4 'Weather'...
let's switch things up... rotate left!
reverting to original state.
Traceback (most recent call last):
  File "cloud_clock.py", line 32, in <module>
    c.revert()
  File "build/bdist.macosx-10.9-intel/egg/wink/devices.py", line 119, in revert
  File "build/bdist.macosx-10.9-intel/egg/wink/devices.py", line 118, in revert
AttributeError: 'dial' object has no attribute 'subdevices'

It restores the first dial successfully, then fails.

jso commented 10 years ago

Oops, this is a problem I introduced -- not an issue on Quirky's side. I didn't think to retest the example script after my updates over the weekend. Sorry! I just pushed a fix.

I don't have my Nimbus in front of me at the moment, but the examples/cloud_clock.py script now runs successfully and the status of my Nimbus looks correct after the script completes.

On Mon, Jan 13, 2014 at 11:51 AM, Zandr Milewski notifications@github.comwrote:

Decided to bring the Nimbus along on vacation to tinker a bit. There's clearly been a software push from their side, and now I'm seeing issues with the cloud_clock example:

$ python cloud_clock.py found cloud_clock 573 called Nimbus! 'demoing' each of the dials: dial #1 'Weather'... dial #2 'Traffic'... dial #3 'Calendar'... dial #4 'Weather'... let's switch things up... rotate left! reverting to original state. Traceback (most recent call last): File "cloud_clock.py", line 32, in c.revert() File "build/bdist.macosx-10.9-intel/egg/wink/devices.py", line 119, in revert File "build/bdist.macosx-10.9-intel/egg/wink/devices.py", line 118, in revert AttributeError: 'dial' object has no attribute 'subdevices'

It restores the first dial successfully, then fails.

— Reply to this email directly or view it on GitHubhttps://github.com/jso/py-wink/issues/6 .

zandr commented 10 years ago

All good, does what it says on the tin. Now... off to build a tide clock. :)

jso commented 10 years ago

Oh, cool! I'd love to keep a list of projects using the library -- I just added a page to the wiki and would really appreciate it if you would add yours to the list! ( https://github.com/jso/py-wink/wiki/Projects-using-py-wink)

On Mon, Jan 13, 2014 at 12:30 PM, Zandr Milewski notifications@github.comwrote:

All good, does what it says on the tin. Now... off to build a tide clock. :)

— Reply to this email directly or view it on GitHubhttps://github.com/jso/py-wink/issues/6#issuecomment-32196447 .