Skip to main content

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.22.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

pyShelly-0.0.22-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file pyShelly-0.0.22.tar.gz.

File metadata

  • Download URL: pyShelly-0.0.22.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pyShelly-0.0.22.tar.gz
Algorithm Hash digest
SHA256 eaf190796b2707ef042b149a3f5bc96047164fb0c5ffe030d6aa6b0eab6f7a5b
MD5 0ea449818c96a152587b254759321a0c
BLAKE2b-256 9e590c71cd047745fe83f766a7ddd0437849abcbcfc8595d8d8167d586bc24cb

See more details on using hashes here.

File details

Details for the file pyShelly-0.0.22-py3-none-any.whl.

File metadata

  • Download URL: pyShelly-0.0.22-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pyShelly-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 1e4a886b970f6aded09e0f1d9bb63ac9d3763e7c97bc3cea9c297bbe17dec8ff
MD5 8cf65b1698ec4f11b17a0ead9c88b1c6
BLAKE2b-256 c0a658dc2f7ed3a8aa9f932358d2d1df103d956e3d160c0fc3187ab789896e30

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page