Skip to main content

Library for Shelly smart home devices

Project description

founder-wip buy me a coffee

stability-wip PyPI

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 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.

buy me a coffee

Project details


Release history Release notifications | RSS feed

This version

0.1.1

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

Uploaded Source

Built Distribution

pyShelly-0.1.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyShelly-0.1.1.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.4

File hashes

Hashes for pyShelly-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fb2c044071fa9fa5e919324ecff9ff63765e2c461dd44ce76f918692e87d8026
MD5 0bbf2c8b210b2e0614edbb5983f31182
BLAKE2b-256 1a7a338aa007f2a9ba6689111cdd27aa344cfbbdb90f0ccee7f18b5a4c1c3e04

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pyShelly-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.4

File hashes

Hashes for pyShelly-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d285ef2b770a0393de8ce39331cc40c509c4acbf17f11b25779becbc0bf8bc8
MD5 04dd4f4c9db14da6e06d51d56dd68f0b
BLAKE2b-256 eb63886f4e15133d780689a32974ae5aff3f7ec27299c21009ea5809e7d4f0f2

See more details on using hashes here.

Provenance

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