52: LED Control โ
๐งช Alpha
This message was only defined on 17/11/2025 and is subject to change.
Control LEDs
Payload โ
| Field | Name | Description | Type | Unit |
|---|---|---|---|---|
| 2 | Red | Red LED intensity (0-255) PWM value | uint8 | |
| 3 | Green | Green LED intensity (0-255) PWM value | uint8 | |
| 4 | Blue | Blue LED intensity (0-255) PWM value | uint8 |
Examples โ
Set Strobe LED on P2 to green from a cloud link
Protocol
3
3
Length
170
17 bytes
Type
520
52 (LED Control)
Header Count
10
1
Header Types
14
14
Forward To
11
1 (ESP32)
Payload Count
10
1
Payload Types
3
3
Green
1255
255
Checksum
194216
55490
๐ก Real example from Generate tool on 2025-11-18This example was generated using the generate tool, and tested against an RH2 device, sent from L1 (Cloud link 1).
Set Strobe LED on P2 to be off from a cloud link
Protocol
3
3
Length
230
23 bytes
Type
520
52 (LED Control)
Header Count
10
1
Header Types
14
14
Forward To
11
1 (ESP32)
Payload Count
30
3
Payload Types
234
2, 3, 4
Red
10
0
Green
10
0
Blue
10
0
Checksum
195195
50115
๐ก Real example from Generate tool on 2025-11-18This example was generated using the generate tool, and tested against an RH2 device, sent from L1 (Cloud link 1).
Code โ
For convenience, the following constants can be used to reference this message type.