A simple gui to control tplink lights with ease. Built with:
This project also uses tplink-lightbulb repository by konsumer to control tplink lights with nodejs.
Please note that everything you see below is subject to change.
After cloning the repo, create an .env file in the root folder containing a LIGHT_IP variable as follow:
LIGHT_IP="192.168.1.1"
This is just an example, change the IP with the one of the device you want to control.
- node
npm install npm@latest -g
- vscode (or equivalent)
- Clone the repo
git clone https://github.com/Rex-82/Tplight-App.git
- Install NPM packages
npm install
- Enter light's ip in
.env
file
LIGHT_IP = 'enter your ip';
Run with:
npm run dev
If DevTools are showing, in main.js
file comment line:
mainWindow.webContents.openDevTools();
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
Distributed under the GPL-3.0 License. See LICENSE for more information.