From 39a7a2b6535026c2ff35996bdf0d5ae0ccb5aeec Mon Sep 17 00:00:00 2001 From: Shy Date: Sat, 3 Aug 2024 22:44:50 +0200 Subject: [PATCH] Added brightness command. --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0de71ac..5861030 100644 --- a/README.md +++ b/README.md @@ -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]*`