By taking advantage of the node-piglow module, you can now control your Piglow using Node-RED.
- Install the node-piglow module:
npm install node-piglow
should do it. - Add node-piglow to the node-red settings.js in the functionGlobalContext:
functionGlobalContext: { piglow:require('piglow') }
- Launch Node-RED and add the flow below and start hacking! Check out the documentation here to see what you can do.
-James