Skip to content

Library for Shelly smart home devices

License

Notifications You must be signed in to change notification settings

michael-denzler/pyShelly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Library for Shelly smart home devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%