This suite, which might be outdated, consists of two components: a Node.js server application and a Gnome Shell extension. The server application controls a Tuya smart device's color and brightness, and the Gnome extension provides a desktop UI for color control. You may need to adjust the code to be compatible with your Tuya bulb model and the latest Tuya API.
- Function: Control color and brightness of a Tuya smart device via HTTP requests.
- Technologies: Node.js, Express.js
- Features: Remote color control, brightness adjustment, state persistence.
- Function: Desktop UI for sending color change requests to the server.
- Dependencies: Gnome Shell, Soup library.
- Clone the repository and install dependencies:
git clone [https://github.com/szv99/gnome-tuya-bulb.git] cd [gnome-tuya-bulb] npm install
- Add your id & key in
main.js
- Start the server:
node main
- Copy to Gnome extensions directory and restart Gnome Shell.
- Enable the extension via Gnome Tweaks.