node-red-nodes/hardware/blink1
dceejay cd57346cae Update leveldb node to try to force topic to string for key.
Add extra "help" for blink1 users.
2015-04-14 17:23:31 +01:00
..
77-blink1.html Make blink1 (and ledborg) consistent with both docs and cheerlight colours 2015-03-12 11:12:44 +00:00
77-blink1.js update redmes and some colours for blink1, ledborg and digirgb 2015-03-12 13:54:20 +00:00
LICENSE Add npms for various hardware nodes, Blink1, DigiRGB, LEDBorg, PiFace 2014-07-08 22:57:42 +01:00
README.md Update leveldb node to try to force topic to string for key. 2015-04-14 17:23:31 +01:00
package.json Update leveldb node to try to force topic to string for key. 2015-04-14 17:23:31 +01:00

README.md

node-red-node-blink1

A Node-RED node to control a Thingm Blink(1) LED.

Pre-requisites

As the blink1 is a USB HID device you may need some extra hardware libraries as documented here and here.

Specifically Ubuntu/Debian/Raspbian user may need to

sudo apt-get install libusb-1.0-0.dev.

Install

Run the following command in the user directory of your Node-RED install. This is usually ~/.node-red

npm install node-red-node-blink1

Usage

Sends the msg.payload to a Thingm Blink(1) LED device. The payload can be any of the following:

  • a three part csv string of r,g,b - e.g. red is 255,0,0
  • a hex colour #rrggbb - e.g. green is #00FF00
  • a @cheerlights colour name - e.g. blue

The @cheerlights colours are - red, amber, green, blue, cyan, magenta, yellow, orange, pink, purple, white, warmwhite, black