Library for Shelly smart home devices
Project description
pyShelly
Library for Shelly smart home devices. Using CoAP for auto discovery and status updates.
This library was created for Shelly Plugins for Home Assistant and Telldus Tellstick Net/zNet v2.
Features
- Discover devices
- Monitor status
- Monitor switch 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
Devices supported
- Shelly 1
- Shelly 1 PM (bug in firmware)
- Shelly 2 (relay or roller mode)
- Shelly 4 Pro
- Shelly PLUG
- Shelly PLUG S
- Shelly BULB
- Shelly RGBWW
- Shelly RGBW2
- Shelly H&T
- Shelly EM
- Shelly 2.5 (relay or roller mode)
- Shelly 2LED
- Shelly Flood
- Shelly Door/Window
- Shelly Dimmer
Usage
shelly = pyShelly()
shelly.cb_device_added.append(device_added)
shelly.open()
shelly.discover()
def device_added(dev):
print (dev.devType)
Feedback
Please give us feedback on info@styrahem.se or Facebook groups: Shelly grupp (Swedish) or Shelly support group (English)
Founder
This plugin is created by the StyraHem.se, the Swedish distributor of Shelly. In Sweden you can bye Shellies from StyraHem.se or any of the retailers like Kjell&Company, m.nu.
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.1.19.tar.gz
(16.7 kB
view details)
File details
Details for the file pyShelly-0.1.19.tar.gz
.
File metadata
- Download URL: pyShelly-0.1.19.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.5.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d9a0791c2c7b49a1d5fe7395d2f8f3b05e7d91d4faa9d9ce9439445cedf8b65 |
|
MD5 | 3cc77403340a55f505b4be0da3411c32 |
|
BLAKE2b-256 | 1fe33cf712dd1368bf627b28e1ff9bb7964132e8d7e5c45657a391b65e628e42 |