lucien2k / sonoff-python

Make use of your sonoff smart switches without flashing them via the cloud APIs
MIT License
51 stars 32 forks source link

get_devices always return empty list #15

Closed osustudentta closed 4 years ago

osustudentta commented 4 years ago

I can not get devices by get_devices, I am sure the username, password, and region are correct. And the code on my side is also the latest version. Thank you.

osustudentta commented 4 years ago

I found the reason, the code on https://pypi.org/project/sonoff-python/ is not the latest version. the code from https://github.com/lucien2k/sonoff-python.git works fine.