Simple control of smartplug without 3rd party software.
The device is likely using port 9999. Do a network scan to find the device IP.
- Find your network IP.
ifconfig
- Scan your network to find the device IP.
nmap <inet addr>/26
-
Edit '/src/config.json' to device IP.
-
Install dependencies.
npm install
Run the CLI of the controller.
npm start build