-
Notifications
You must be signed in to change notification settings - Fork 34
Sample RGB Color
Massimo edited this page Nov 1, 2023
·
4 revisions
Assuming you send a message from a function node, to a knx-ultimate node with Group Address and Datapoint properties set.
To colorize a lamp that support colors, like Philips HUE, you can pass the colors in red, green and blue values.
Create a function node and paste this code.
Set RGB color, Datpoint 232.600
// Each color in a range between 0 and 255
msg.payload={red:255, green:200, blue:30};
return msg;
- OVERVIEW
- KNX DEVICE NODE (THE MOST USED)
- OTHER KNX NODES
- HUE NODES
-
SAMPLES
- Switch Light
- Dimming
- RGB color
- RGBW color + White
- Command a scene actuator
- Datapoint 213.x 4x Setpoint
- Datapoint 222.x 3x Setpoint
- Datapoint 237.x DALI diags
- Datapoint 2.x 1 bit proprity
- Datapoint 22.x RCHH Status
- Datetime to BUS
- Read Status
- Virtual Device
- Subtype decoded
- Alexa
- Apple Homekit
- Google Home
- Switch on/off POE port of Unifi switch
- Set configuration by msg
- Scene Controller node
- WatchDog node
- Logger node
- Global Context node
- Alerter node
- Load control node
- Viewer node
- Youtube samples