Skip to content

ggamble22/pyW215

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyW215

pyW215 is a python3 library for interfacing with the d-link W215 Smart Plug.

The library is largely inspired by the javascript implementation by @bikerp dsp-w215-hnap.

Usage

 from pyW215 import SmartPlug

 sp = SmartPlug('192.168.1.110', '******')
 cc = sp.current_consumption
 print(cc)

Note: You need to know the IP and password of you device. The password is written on the side.

Working firmware versions

  • v2.02
  • v2.22

Partial support

  • v1.24 (State changing working, but fails to read temperature or current consumption)

If you have it working on other firmware versions please let me know.

About

Python interface to the d-link W215 smart plug.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%