https://github.com/colindembovsky/wled-scripts
https://github.com/colindembovsky/wled-scripts
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/colindembovsky/wled-scripts
- Owner: colindembovsky
- Created: 2023-03-13T14:09:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-16T23:03:50.000Z (over 2 years ago)
- Last Synced: 2025-02-05T22:19:26.618Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WLED Scripts
These scripts are for controlling a WLED lamp from Stream Deck. Stream Deck can't pass args to scripts, so you have to create wrapper scripts for each action you want.
I created a "main" script (`control-light.sh`) that is parameterized, and some wrapper scripts to turn on/off and to change the theme.
## Instructions
## Structure
* The main script `control-light.sh` is in the root
* To add a light, copy one of the folders and edit the `.env` file to set the IP address
## On/Off
* Use a multi-action button for on/off so that the same button is used for both
* Point to the `on/off` script in the corresponding folder
## Themes
* Open WLED and create themes. Note the indexes for the themes.
* Create/edit `light-fire.sh` and `light-universe.sh` to enter update the index of the themes
* Use a multi-action button for themes so that the same button is used for both
* Point to the corresponding script in the folder