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_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.26.tar.gz
(6.7 kB
view details)
File details
Details for the file pyShelly-0.0.26.tar.gz
.
File metadata
- Download URL: pyShelly-0.0.26.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aabc822522baf4fa297c049ecd6dbd1d14b0aab79ae2a58006c7143c0c61a149 |
|
MD5 | d51f36a54337c6920164226e639e5741 |
|
BLAKE2b-256 | 0bbb495d70595a3df5f8f49359e785bf840f0170d5c251808d8a966f18e5d1e9 |