Skip to content

Rex-82/Tplight-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

tplight control panel

A simple gui to control tplink lights with ease. Built with:

Electron Tailwind

Stargazers Issues License

About The Project

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.

Getting Started

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.

Prerequisites

  • node
npm install npm@latest -g
  • vscode (or equivalent)

Installation

  1. Clone the repo
git clone https://github.com/Rex-82/Tplight-App.git
  1. Install NPM packages
npm install
  1. Enter light's ip in .env file
LIGHT_IP = 'enter your ip';

Usage

Run with:

npm run dev

If DevTools are showing, in main.js file comment line:

mainWindow.webContents.openDevTools();

Contributing

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.

License

Distributed under the GPL-3.0 License. See LICENSE for more information.

Acknowledgements