HS100-smartplug-controller

Simple control of smartplug without 3rd party software.

Setup

The device is likely using port 9999. Do a network scan to find the device IP.

  1. Find your network IP.
ifconfig
  1. Scan your network to find the device IP.
nmap <inet addr>/26
  1. Edit '/src/config.json' to device IP.

  2. Install dependencies.

 npm install

Run

Run the CLI of the controller.

npm start build

Resource

Reverse Engineering the TP-Link HS110

Controlling the TP-LINK HS100 Wi-Fi smart plug