LinuxChristian / pyW215

Python interface to the d-link W215 smart plug.
MIT License
37 stars 25 forks source link

Consumption through my_cgi #10

Closed nvella closed 7 years ago

nvella commented 7 years ago

The /my_cgi.cgi endpoint can be used on v1.xx to retrieve the current power consumption in Watts. This PR adds the ability to retrieve it when the legacy protocol is enabled.