node-red-contrib-hs100 0.3.0

This Node-RED node is for controlling tp-link Wi-Fi Smart Plug - Model HS100.

npm install node-red-contrib-hs100

This Node-RED node is for controlling tp-link Wi-Fi Smart Plug - Model HS100.

This node has only been tested with a HS100(UK). The HS100 is also available in US and EU plug versions. We expect they will work too.

This node simply wraps the excellent work here https://github.com/czjs2/hs100-api.

Installation

Change directory to your node red installation:

$ npm install node-red-contrib-hs100

Alternatively, use the Palette Manager in Node-RED.

Configuration

Drag this node on to a worksheet and double click it. Enter the IP address of the plug on your network. Save and deploy.

Actuation

Turn on

To turn the HS100 on, send a message to this node's input with the topic or payload set to on.

Turn off

To turn the HS100 off, send a message to this node's input with the topic or payload set to off.

Obtain power consumption data

To obtain the power consumption, send a message to this node's input with the topic or payload set to consumption. The consumption data will be sent via this node's output in msg.payload.

Node Info

Version: 0.3.0
Updated 4 months, 2 weeks ago
License: MIT

Downloads

0 in the last day
4 in the last week
16 in the last month

Nodes

  • hs100

Keywords

  • node-red
  • tp-link
  • tplink
  • hs100

Maintainers

  • biddster