node-red-node-ledborg 0.0.17

A Node-RED node to control a PiBorg LedBorg board for a Raspberry Pi.

npm install node-red-node-ledborg

A Node-RED node to control a PiBorg LedBorg board for a Raspberry Pi.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm i node-red-node-ledborg

Usage

A PiBorg LedBorg LED output node that expects a msg.payload with a three digit rgb triple, from 000 to 222. I.E. there are only 27 possible colours.

See the PiBorg site for more information.

You can also now use a msg.payload in the standard hex format "#rrggbb". The clip levels are :

0x00 - 0x57 = off
0x58 - 0xA7 = 50%
0xA8 - 0xFF = fully on

You can also use the @cheerlight colour names - red, amber, green, blue, cyan, magenta, yellow, orange, pink, purple, white, warmwhite, black

Notes

This node can only be used once per flow... as it uses physical pins 11, 13 and 15 on the Pi. Using it more than once will cause weird flashing and unpredictable behavior.

You can of course wire up multiple things in your flow to the same LEDborg node.

Node Info

Version: 0.0.17
Updated 4 months, 3 weeks ago
License: Apache-2.0

Downloads

136 in the last day
1018 in the last week
4029 in the last month

Nodes

  • ledborg

Keywords

  • node-red
  • ledborg

Maintainers

  • dceejay
  • knolleary