Switcher Unofficial Integration.
Project description
Switcher Unofficial Integration
PyPi module integrating with various Switcher smart water heaters and
power plugs.
Check out the wiki pages for a list of supported devices.
Install
pip install aioswitcher
Usage Example
async with SwitcherApi(device_ip, device_id) as swapi:
# get the device state
state_response = await swapi.get_state()
# control the device on for 15 minutes and then turn it off
await swapi.control_device(Command.ON, 15)
await swapi.control_device(Command.OFF)
# create a new recurring schedule
await swapi.create_schedule("13:00", "14:30", {Days.SUNDAY, Days.FRIDAY})
Check out the documentation for a more detailed usage section.
Command Line Helper Scripts
- discover_devices.py can discover devices and their states.
- control_device.py can to control a device.
Contributing
The contributing guidelines are here
Code of Conduct
The code of conduct is here
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
aioswitcher-2.0.3.tar.gz
(18.9 kB
view hashes)
Built Distribution
Close
Hashes for aioswitcher-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73eabd3d1efebac3c11a9ec14888f8eab85096ca5d6ea2535f89299b5b85f5e0 |
|
MD5 | 7bfc77118b11e5a6bb99f46deb808bdc |
|
BLAKE2b-256 | 058dfc79787af1b5985f8bc4ef2ff19305fd064a6f6948ef40cf99a2fb7be881 |