diff --git a/README.md b/README.md new file mode 100644 index 0000000..9a734a3 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# 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-schedex + +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. + +To turn the HS100 on, send a message a message with the topic or payload set to `on`. + +To turn the HS100 off, send a message a message with the topic or payload set to `off`. diff --git a/index.html b/index.html index 4b04a8d..df53179 100644 --- a/index.html +++ b/index.html @@ -48,12 +48,27 @@