tylergets / python-vesync

VeSync API Wrapper in Python. Used by EtekCity Smart Wifi Outlets.
MIT License
31 stars 17 forks source link

API and request updates #3

Open greeneryguru opened 6 years ago

greeneryguru commented 6 years ago

updated BASE_URL to vesyncs new API addresses, and corrected all API requests to match vesync's native app requests (extracted from Proxie app). get_devices(), turn_on(), and turn_off() now work 100%

jslay88 commented 6 years ago

I still get the occasional problem where the switches will turn on and then immediately back off, then have to wait ~10-15s before I can get them to switch back on. On master branch here and even with this pull request.

I've opened an issue for myself to track on my own repo, but wanted to see if anyone else was experiencing these problems, and if so, if they ever solved them.

https://github.com/jslay88/pyhap_vesync/issues/2