Ufff what a name !
Is for reading / writing sys class leds on linux from Node-RED
ot-plc to use linux sys / class / leds kernel layer to flash your leds!
You need to have permissions to write to /sys/class/leds/*/[brightness|trigger] then this is working for setting. Without it is only able to read status now.
For now installation is by entering node-red home directory then installing localy for Node-RED
npm i node-red-otplc-linux-leds
then restart Node-RED and start your led instance!
iot keyboard led
You can send it topic {string}:
dirList - to get payload
with posible options to set as led
getStatus - to get payload
current brightness
getStatusLong - extended {json} in payload
info about set led
set - with payload
will write to brightness
trigger - with payload
write trigger
On start look on status of node or what is returning
To check it out .json to import to Node-RED link...
working
Video showing how to set it up and use it wrapt in node-red node as node-red-otplc-linux-sys-class-leds ...
node-red-otplc-linux-sys-class-leds oiyshTerminal at npm - on youtube from setting it up to blinking led...
If you see that this make sens