HUB
Sign inSign up
driver-tplink-smart-plug logo

databoxsystems/driver-tplink-smart-plug

By databoxsystems

•Updated over 8 years ago

driver-tplink-smart-plug

Image
0

1.3K

databoxsystems/driver-tplink-smart-plug repository overview

A driver to collect data from TP-Link smart plugs

⁠Usage

Install the driver on data box then configure your local subnet.

By default, it will scan 192.168.1.[1-254] for plugs but this is configurable.

⁠Data

For each plug there are two data sources

  1. TP-Power-Usage, this holds a time series of:
    data: {
            "current":0.01587,
            "voltage":300.422028,
            "power":0,
            "total":0.017,
            "err_code":0
        }
  1. TP-PowerState, this holds a time series of
    data: {"state":1}

    1 indicates on 0 indicates off

and one actuator

  1. TP-SetPowerState, write on or off to turn the plug on or off!

Tag summary

Content type

Image

Digest

Size

6 MB

Last updated

over 8 years ago

docker pull databoxsystems/driver-tplink-smart-plug