Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

node-red-contrib-homekit-rgb

1.0.3 • Public • Published

Node-RED node to convert HomeKit Light Accessory's HSB values to RGB values

Useful with: node-red-contrib-homekit | node-red-contrib-homekit-bridged

Image of example flow

Expected input

Output of HomeKit light accessory. Any of the following:

  • msg.payload.Hue {float} 0.0 to 360.0
  • msg.payload.Saturation {float} 0.0 to 100.0
  • msg.payload.Brightness {int} 0 to 100
  • msg.payload.On {bool} true|false

Output

R,G,B channels as a single array [0,1,2]

Each channel with values of 0 to 255

Install

npm i node-red-contrib-homekit-rgb

DownloadsWeekly Downloads

9

Version

1.0.3

License

Apache-2.0

Unpacked Size

4.95 kB

Total Files

4

Last publish

Collaborators

  • avatar