Belleds Node for Node RED
Control your Belleds Light Bulbs using Node RED. Built on the official Belleds API specifications. Tested using the latest r500 firmware.
Installation
Just install this plugin to your Node Red installation by using npm: "npm install node-red-contrib-belleds" in your Node Red root directory
Usage
All you need to know is bundled with the installation: Just drag one of each of the Belleds nodes into your graph and read the manual displayed. The Belleds station is discovered automatically, as well as the connected light bulbs.
Example Flow
[{"id":"641dc979.442668","type":"inject","z":"b688a6c.ae46d58","name":"On","topic":"enable","payload":"1","payloadType":"num","repeat":"","crontab":"","once":false,"x":534,"y":267,"wires":[["6483ab7b.bc9494"]]},{"id":"f7aa0441.67cc38","type":"debug","z":"b688a6c.ae46d58","name":"","active":true,"console":"false","complete":"false","x":932,"y":379,"wires":[]},{"id":"ec91905.c48757","type":"inject","z":"b688a6c.ae46d58","name":"Off","topic":"enable","payload":"0","payloadType":"num","repeat":"","crontab":"","once":false,"x":533.5,"y":305,"wires":[["6483ab7b.bc9494"]]},{"id":"7f1c4d2c.e49c74","type":"inject","z":"b688a6c.ae46d58","name":"","topic":"brightness","payload":"12","payloadType":"num","repeat":"","crontab":"","once":false,"x":514,"y":376,"wires":[["6483ab7b.bc9494"]]},{"id":"38191868.d79448","type":"inject","z":"b688a6c.ae46d58","name":"","topic":"brightness","payload":"100","payloadType":"num","repeat":"","crontab":"","once":false,"x":506.5,"y":418,"wires":[["6483ab7b.bc9494"]]},{"id":"f34fce82.1e91b","type":"inject","z":"b688a6c.ae46d58","name":"","topic":"colour","payload":"#7cfc00","payloadType":"str","repeat":"","crontab":"","once":false,"x":509.5,"y":500,"wires":[["6483ab7b.bc9494"]]},{"id":"40db99.333b5468","type":"inject","z":"b688a6c.ae46d58","name":"","topic":"colour","payload":"darkcyan","payloadType":"str","repeat":"","crontab":"","once":false,"x":510.5,"y":539,"wires":[["6483ab7b.bc9494"]]},{"id":"6483ab7b.bc9494","type":"belleds","z":"b688a6c.ae46d58","name":"All lights","serverip":"192.168.2.2","serverport":"11600","devices":"MD1AC44200002689,MD1AC44400002266,","x":741,"y":379,"wires":[["f7aa0441.67cc38"]]}]
Screenshots
Example Flow:
Configuration: