pyvesync is a library to manage Etekcity Switches
Project description
pyvesync is a library to manage Etekcity Switches.
Installation
Install the latest version from pip:
pip install pyvesync
Usage
To start with the module:
from pyvesync.vesync import VeSync
manager = VeSync("USERNAME", "PASSWORD")
manager.login()
manager.update()
for switch in manager.devices:
print("Turning on switch '%s'" % (switch.device_name))
switch.turn_on()
Notes
VeSync switches controlled through the Etekcity api do not always respond to the initial request for turn_on() and turn_off(). Retrying once or twice as needed often works.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyvesync-0.1.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for pyvesync-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be25da77f5ee0b0a228f34ee077d883cc3619ad5cac21edc96327176d43cd38a |
|
MD5 | fd5d8cfcb1442a3ea028435570080c31 |
|
BLAKE2b-256 | abea95d48ccc0781221af87c8d45b9c7c5dd3fd2d499f7e52c5e5ab1e3ced3cf |