Library for Shelly smart home devices
Project description
pyShelly
Library for Shelly smart home devices. Using CoAP for auto discovery and status updates.
Features:
- Discover devices
- Monitor status
- Control (turn on/off etc)
- Run only locally
- Support user name and password
- Coexist with Shelly Cloud and Shelly app
- Support static and dynamic ip address
- Zero configuration
Devices supported:
- Shelly 1
- Shelly 2 (relay or roller mode)
- Shelly 4
- Shelly PLUG
- Shelly BULB
- Shelly RGBWW
- Shelly RGBW2
- Shelly H&T
- Shelly 2LED (not tested)
- Shelly 2.5 (not tested)
- Shelly PLUG S (not tested)
Usage:
shelly = pyShelly()
shelly.cb_deviceAdded = deviceAdded
shelly.open()
shelly.discover()
def deviceAdded(dev):
print (dev.devType)
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
pyShelly-0.0.21.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for pyShelly-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e45bc301e005e685b70419f196393f90b8c2ef7f119a6d6b5c75750a3f34ac7 |
|
MD5 | 5c9742594c20a8262cc76ed3a7b102ec |
|
BLAKE2b-256 | 218cdf5fd057fb0161525579f5e9f9b147d3250e89ce52b12c47e613b9a12023 |