Added brightness command.

This commit is contained in:
Shy 2024-08-03 22:44:50 +02:00
parent 4e91c778ce
commit 39a7a2b653

View file

@ -1,8 +1,18 @@
# wled.sh
Simple shell script to turn predefined wled instances on/off or switch presets.
Simple shell script to turn predefined wled instances on/off, change brightness
and switch presets.
Requires *curl* version 7.82.0 or newer.
Usage: **wled** *f\(nordcenter\)*|*w\(ohnzimmer\)* *on*|*off*|*1-17*|*list*
## Usage
Switch on/off:
`**wled** *f\(nordcenter\)*|*w\(ohnzimmer\)* *on*|*off*`
Switch between presets 1 to 17 or list available presets:
`**wled** *f\(nordcenter\)*|*w\(ohnzimmer\)* *1-17*|*l(ist)*`
Change brightness:
`**wled** *f\(nordcenter\)*|*w\(ohnzimmer\)* *b(rightness)* *[1-255]*`