Create Message
Create a Connect Mesh message payload. This message does not have a target yet, so its output needs to be piped into a setTarget Node.
Fields
All fields, except for the name, can be overwritten by the incoming message:
{
"messageType": "lightness",
"lightness": 0.9,
"transition_time": 2
}
Name
Set the nodes name. Nice to distinguish different preprepared mesh messages.
Message Type
messageType
Select the message type. Depending on that, other fields will appear:
- Power
power
- Lightness
lightness
- Temperature
temperature
- Hue
hue
- Saturation
saturation
- Hue/Saturation/Lightness
hsl
- Temperature/Lightness
ctl
Power
power = [true, false]
Lightness
0 < lightness < 1
Lightness as percentage.
Transition Time
0 < transition_time < 372000
Time the transition from the current state to the target state is supposed to take. In deciseconds (0.1s). However, due to the limited resolution of transition times in the BLE Mesh Specification (Section 3.1.3), the provided time may be rounded down. The supported transition time increments are as follows: 0.1s steps within the range of 0-6.2s, 1s steps within the range of 0-62s, 10s steps within the range of 1-10.5 minutes, and 10-minute steps up to 10.5 hours.
Temperature
800 < temperature < 20000
Temperature of tunable white light on black body curve in degree kelvin. Integer. Most Häfele products have a temperature between 2700 and 6000 degree kelvin.
Hue
0 < hue < 360
Color hue on a 360° color wheel.
0° is red, 120° is green, 240° is blue.
Saturation
0 < saturation < 1
Color saturation as percentage, 0 is white, 1 is pure hue.