Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.14 KB

File metadata and controls

37 lines (24 loc) · 1.14 KB

μledd

LGPL-2.1-only license CI

About

μledd is OpenWrt's micro daemon which allows users to control PWM driven RGB LEDs using ubus. Currently it is possible to make LEDs blink at different brightnesses and/or make them fade in/out between colours.

Install

μledd is available via OpenWrt package feeds, so the installation should be straight forward.

opkg install uledd

Usage examples

Turn green LED on and red LED off

ubus call led set '{ "leds": { "ap:green:status": 255, "ap:red:status": 0 } }'

Make green LED and red LED fade on/off over 2 seconds:

ubus call led set '{ "leds": { "ap:green:status": [0, 255], "ap:red:status": [255, 0] }, "on": 2000, "off": 2000, "fade": 1 }'