Skip to content
Daniel-t edited this page Jan 7, 2016 · 1 revision

Welcome to the node-red-contrib-milight wiki!

Thoughts / future work

The following payload structure is being considered for a single milight node which includes all functionality (power/color/brightness) msg.payload={

zone: 1, //optional override default zone from config could be [1,2,4] array

power: true, // false

fade: false, // future addition, requires storing current state

color: '#012234', // or [255,255,255], or 'white'

//should provide hsv as well

brightness: 1-100 // 0 == off

};

The above payload is structured as the node actions commands e.g. Zone, then power, then color, then brightness ALL parts of the payload are optional

Clone this wiki locally