Public Repository

Last pushed: 2 years ago
Short Description
Container with node-red and LightBlue bean access nodes
Full Description

An image to communicate with the LightBlue bean with node-red

Just run :

docker run --name mynodered --privileged --net=host -d ericbenoit/rpi-nodered-lightbluebean

or, if you like to keep your flows on the local disk,
create a folder /root/dockdir/nodered in your Rpi then run

docker run --name mynodered --privileged -v /root/dockdir/nodered:/root/node-red --net=host -d ericbenoit/rpi-nodered-lightbluebean

Tested on Rpi3 with Hypriot.
You can use the next flow where you change the UUID C4:BE:FF:FF:FF:FF by the UUID of your bean.

[{"id":"da6e00d8.1dfe5","type":"bean","z":"c9a025ee.161168","name":"Bean","uuid":"C4:BE:FF:FF:FF:FF","connectiontype":"constant","connectiontimeout":"0"},{"id":"5d73a81.a804ad8","type":"bean led","z":"c9a025ee.161168","name":"","bean":"da6e00d8.1dfe5","x":646,"y":293.5,"wires":[]},{"id":"9f9ee23c.a38cd8","type":"inject","z":"c9a025ee.161168","name":"","topic":"","payload":"0,255,0","payloadType":"str","repeat":"","crontab":"","once":false,"x":369,"y":212,"wires":"5d73a81.a804ad8"},{"id":"d9ebaf60.0308c8","type":"inject","z":"c9a025ee.161168","name":"","topic":"","payload":"0,0,0","payloadType":"str","repeat":"","crontab":"","once":false,"x":367,"y":328,"wires":"5d73a81.a804ad8"},{"id":"1dee19e9.81022e","type":"bean accel","z":"c9a025ee.161168","name":"","bean":"da6e00d8.1dfe5","x":491.5,"y":448,"wires":"c1985661.013f"},{"id":"52d625a7.010094","type":"inject","z":"c9a025ee.161168","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"x":260.5,"y":448.5,"wires":"1dee19e9.81022e"},{"id":"c1985661.013f","type":"debug","z":"c9a025ee.161168","name":"","active":true,"console":"false","complete":"false","x":715.5,"y":448,"wires":[]}]
Docker Pull Command
Owner
ericbenoit