Code Monkey home page Code Monkey logo

tuya-led's Introduction


Logo

Tuya Led

Taskbar LED Light controller.

About The Project

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!

Setup Tuya accounts

  1. Install Tuya Smart mobile app and sign up.
  2. Configure your LED Stripe to work with Tuya Smart mobile app (follow instructions that shows in app).
  3. Sign up to Tuya Cloud Developer Platform here https://www.tuya.com/
  4. Developer Platform: Go to Cloud > Development > Create Cloud Project, choose Smart Home development method.
  5. Developer Platform: Copy your Client ID and Client Secret.
  6. Developer Platform: Click Open Project and go to Devices tab, then in the Link Tuya App Account tab below, click Add App Account.
  7. Developer Platform: Link your mobile Tuya app with the project (scan QR code with your mobile app).
  8. Developer Platform: In project details, go to All Devices tab and copy your device ID.

Installation

  1. Clone the repo:

    git clone https://github.com/filiprak/tuya-led.git
  2. Install NPM packages:

    npm install
  3. 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>"
    }
  4. Build application:

    npm run make
  5. Run application executable: out/tuya-led-win32-x64/tuya-led.exe, LED status icon should appear in your system taskbar.

tuya-led's People

Contributors

filiprak avatar

Watchers

 avatar

tuya-led's Issues

Need configuration help.

How does it work? I need to be able to control my Tuya Led Strip but the cable configuration is wrong (RBG)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.