python-vesync
python-vesync copied to clipboard
VeSync API Wrapper in Python. Used by EtekCity Smart Wifi Outlets.
Bumps [requests](https://github.com/requests/requests) from 2.18.4 to 2.20.0. Changelog *Sourced from [requests's changelog](https://github.com/psf/requests/blob/master/HISTORY.md).* > 2.20.0 (2018-10-18) > ------------------- > > **Bugfixes** > > - Content-Type header parsing is now case-insensitive (e.g. >...
Bumps [certifi](https://github.com/certifi/python-certifi) from 2017.11.5 to 2022.12.7. Commits 9e9e840 2022.12.07 b81bdb2 2022.09.24 939a28f 2022.09.14 aca828a 2022.06.15.2 de0eae1 Only use importlib.resources's new files() / Traversable API on Python ≥3.11 ... b8eb5e9 2022.06.15.1...
Possible for your script to be expanded to include the energy monitoring stats that these outlets collect?
Thank you for this lib! The example of use is out dated based on the code. The method get isn't the module anymore. Getdevices is there instead.
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%
When running a python app from init.d I was getting connection errors and there seems to be no way of setting retries. I eventually added some error handling retry login...
`verify=False` in the requests seems unnecessary. The cert from vesync is valid so this seems unneeded. PS. Thanks for the library. I've been tinkering with adding support for power monitoring...