Philiptpp / sonoff_registered_devices

List all registered devices using eWelink
MIT License
21 stars 7 forks source link

Unable to fetch devices #1

Closed kamilmirza closed 4 years ago

kamilmirza commented 4 years ago

followed instructions and getting:

API region set to: as
Unable to fetch devices, please close eWelink application across all devices and try again.
Traceback (most recent call last):
  File "sonoffDevices.py", line 86, in <module>
    print('Found {} devices registered to this account'.format(len(devices)))
TypeError: object of type 'NoneType' has no len()

eWelink app is closed

Philiptpp commented 4 years ago

It appears that iTead has updated their devicelist REST request template.

Should be fixed now. Please try and let us know if it is working.

kamilmirza commented 4 years ago

works fine now thanks 👍🏾