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)

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

Uploaded Source

Built Distribution

pyShelly-0.0.18-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyShelly-0.0.18.tar.gz
  • Upload date:
  • Size: 6.1 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.18.tar.gz
Algorithm Hash digest
SHA256 a86494e344f6feaafcf88beb3ad020d775d05579118a265d81ba0e40b8fdd198
MD5 f2c5aecf1901654f3cbbed570f4eb773
BLAKE2b-256 0387dfff44dc32af630b4aa424125efad1da1722f906fcd9d967a70d01500904

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyShelly-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 f7b04f4a3630a112a3f9c15e15ea6a69d14bb1bb6e96ab035cb8c559076434ca
MD5 47ead5ec15b875ec986e19caa3f18fac
BLAKE2b-256 a4234cc72262ab0b3a41d0fdf30ea9571c02520348be8f47b298d7fcb37526d3

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