stianaske / pybotvac

Python module for interacting with Neato Botvac Connected vacuum robots.
MIT License
85 stars 44 forks source link

sample.py issues #4

Closed timppa1 closed 7 years ago

timppa1 commented 8 years ago

Has something changed in Neato side??

Running sample produces an error;

Robots: Traceback (most recent call last): File "./sample.py", line 12, in for robot in account.robots: File "/usr/lib/python2.6/site-packages/pybotvac-0.0.1-py2.6.egg/pybotvac/account.py", line 53, in robots self.refresh() File "/usr/lib/python2.6/site-packages/pybotvac-0.0.1-py2.6.egg/pybotvac/account.py", line 68, in refresh secret=robot['secret_key'])) File "/usr/lib/python2.6/site-packages/pybotvac-0.0.1-py2.6.egg/pybotvac/robot.py", line 26, in init self._url = 'https://nucleo.neatocloud.com/vendors/neato/robots/{}/messages'.format(self.serial) ValueError: zero length field name in format

timppa1 commented 8 years ago

Seems to work with python 2.7.12 but not with 2.6.6