Tuya Led is a nifty little tool crafted for controlling your LED light strips straight from your Windows taskbar. It's like having a magic wand for your lights! With Tuya LED, you can tweak colors and switch the lights on and off in a snap, all from the comfort of your desktop. It's open-source, so feel free to dive in, tweak things, and make it even better!
- Install Tuya Smart mobile app and sign up.
- Configure your LED Stripe to work with Tuya Smart mobile app (follow instructions that shows in app).
- Sign up to Tuya Cloud Developer Platform here https://www.tuya.com/
- Developer Platform: Go to
Cloud > Development > Create Cloud Project
, chooseSmart Home
development method. - Developer Platform: Copy your
Client ID
andClient Secret
. - Developer Platform: Click
Open Project
and go toDevices
tab, then in theLink Tuya App Account
tab below, clickAdd App Account
. - Developer Platform: Link your mobile Tuya app with the project (scan QR code with your mobile app).
- Developer Platform: In project details, go to
All Devices
tab and copy your device ID.
-
Clone the repo:
git clone https://github.com/filiprak/tuya-led.git
-
Install NPM packages:
npm install
-
Create
.env.json
file in the project root and put your credentials in it:{ "TUYA_CLIENT_ID": "<your-tuya-client-id>", "TUYA_SECRET_KEY": "<your-tuya-client-secret>", "TUYA_DEVICE_ID": "<your-tuya-device-id>" }
-
Build application:
npm run make
-
Run application executable:
out/tuya-led-win32-x64/tuya-led.exe
, LED status icon should appear in your system taskbar.