Skip to main content

Library for Shelly smart home devices

Project description

founder-wip buy me a coffee

stability-wip PyPI


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.


  • 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


shelly = pyShelly()

def device_added(dev):
  print (dev.devType)


Please give us feedback on or Facebook groups: Shelly grupp (Swedish) or Shelly support group (English)


This plugin is created by the, the Swedish distributor of Shelly. In Sweden you can bye Shellies from or any of the retailers like Kjell&Company,

buy me a coffee

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyShelly, version 0.1.18
Filename, size File type Python version Upload date Hashes
Filename, size pyShelly-0.1.18.tar.gz (16.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page