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 2.5
- Shelly 2LED (not tested)
- Shelly PLUG S (not tested)
Usage
shelly = pyShelly()
shelly.cb_device_added.append(device_added)
shelly.open()
shelly.discover()
def device_added(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.27.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for pyShelly-0.0.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f64c3dd46fa964a938f59c5d5d4a8d51e71950153ec900257ee0a7ce5697635 |
|
MD5 | 87cc2ab7bd7a0af3c735186ff7545e00 |
|
BLAKE2b-256 | ff14f3cf29ace65fcd9e22d1c518145585924cad4209d3c3672c6e064d26fc24 |