Fork me on GitHub

pimatic-tplink-smartplug by Lukas Reinhart (thex) | github | npm

Pimatic TP Link Smartplug Plugin

This plugin adds the functionality to control TP Link Smartplug HS100 and HS110 via pimatic

Example config.json entries:

  "plugins": [
    {
      "plugin": "tplink-smartplug"
    }
  ],

"devices": [
  {
    "id": "tplink-plug-test",
    "name": "My Smartplug",
    "class": "TPlinkHS100",
    "ip": "192.168.XXX.XXX"
  },
  {
    "id": "tplink-plug-test2",
    "name": "My Smartplug with measurement",
    "class": "TPlinkHS110",
    "ip": "192.168.XXX.XXX"
  }
]

Plugin Config Options

TP Link Smart Plug options
OptionDescriptionDefault
debug
boolean
Debug mode. Writes debug messages to the pimatic log, if set to true.
false

Device Config Options

pimatic-tplink-smartplug device config schema

TPlinkHS100

TP Link HS100
OptionDescriptionDefault
ip
string
IP address of the outlet
interval
number
Polling interval for outlet state in seconds
60

TPlinkHS110

TP Link HS110
OptionDescriptionDefault
ip
string
IP address of the outlet
interval
number
Polling interval for outlet state and power usage in seconds
60
pimatic-tplink-smartplug is written by Lukas Reinhart (thex)