Leds on zencontrol smart switches can have mode configurations, target tracking configurations, and in some cases colour configurations. Configurations are only valid on ECD instances. Configurations will be written for the currently active LED profile except where specified. Where an instance does not support an LED, it will not answer to any queries.
Modes
Mode
|
Value |
Coms Status
|
0 |
Target Status
|
1 |
At Scene
|
2 |
Always On
|
5 |
Always Off
|
6 |
Ignore Bus Commands
|
7 |
Last Heard Scene
|
8 |
Any values not specified are reserved and will cause undefined behaviour.
How To Query
- Send ECD DTR1 = Instance number that the Led is attached to
- Send eDali Command 0xBE<address>02
- Where <address> is the ECD address byte as per IEC62386-103
How to Set
- Send ECD DTR1 = Instance number that the Led is attached to
- Send ECD DTR0 = Mode to set
- The mode to set is a value from the above table in bits 7-1, and bit 1 being inversion
- Target Status = 0x02
- Inverted Target Status = 0x03
- The mode to set is a value from the above table in bits 7-1, and bit 1 being inversion
- Send eDali Command 0xBE<address>12
- Where <address> is the ECD address byte as per IEC62386-103
Tracking Bytes
Primary Target
This is used to track a dali targets status. The target should be the ECG address byte as per IEC62386-102 shifted right by one bit (address >> 1 = target).
How To Set
- Send ECD DTR1 = Instance number that the Led is attached to
- Send ECD DTR0 = Primary Target
- The Dali102 address byte (as per IEC62386-102) right shifted by 1
- Send eDali Command 0xBE<address>10
- Where <address> is the ECD address byte as per IEC62386-103
How To Query
- Send ECD DTR1 = Instance number that the Led is attached to
- Send eDali Command 0xBE<address>00
- Where <address> is the ECD address byte as per IEC62386-103
Listen Scene
This is used to track the active or last heard scene.
How To Set
- Send ECD DTR1 = Instance number that the Led is attached to
- Send ECD DTR0 = scene to track [0-15]
- Send eDali Command 0xBE<address>11
- Where <address> is the ECD address byte as per IEC62386-103
How To Query
- Send ECD DTR1 = Instance number that the Led is attached to
- Send eDali Command 0xBE<address>01
- Where <address> is the ECD address byte as per IEC62386-103
Colour
Products that support colour Leds might support one of 2 colour modes. This can be discovered by querying the Leds colour where bit 7 will indicate a 7 bit colour mode if set, or 3 bit colour mode where cleared.
How To Query
- Send ECD DTR1 = Instance number that the Led is attached to
- Send eDali Command 0xBE<address>29
- Where <address> is the ECD address byte as per IEC62386-103
- Bit 7 will indicate 7 bit colour support if set, or 3 bit colour support if cleared.
How To Set
- Send ECD DTR1 = Instance number that the Led is attached to
- Send ECD DTR0 = Colour to set
- The Led will only use the bits that it supports in DTR0 (0b111 or 0b1111111 depending on colour support)
- Send eDali Command 0xBE<address>28
- Where <address> is the ECD address byte as per IEC62386-103
3 Bit Colour
3 bit colour is a binary switch on a red, green, and blue LED. This allows the use of the following colour palette.
Bit 2 | Bit 1 | Bit 0 |
Blue | Green | Red |
7 Bit Colour
The zencontrol 7 bit colour palette can be seen below where a value of 0 is the top left colour, iterating left to right, top to bottom. The 7 bit colour value corresponds to its index in this palette.
Comments
0 comments
Article is closed for comments.