0.0.907 • Published 1 year ago

node-red-otplc-linux-sys-class-leds v0.0.907

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

node-red-otplc-linux-sys-class-leds

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.

install it

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!

in result we have

iot keyboard led

using it

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

npm.io

example flow set

To check it out .json to import to Node-RED link...

status

working

screenshots

Video showing how to set it up and use it wrapt in node-red node as node-red-otplc-linux-sys-class-leds ...

npm.io

node-red-otplc-linux-sys-class-leds oiyshTerminal at npm - on youtube from setting it up to blinking led...

npm.io


If you see that this make sens

npm.io

0.0.907

1 year ago

0.0.906

1 year ago

0.0.905

1 year ago

0.0.904

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago