[hdpowerview] Improve color channel for Repeater and remove redundant brightness channel (#15880)

* Improve color channel
* Log warning for unexpected color command

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen
2023-11-18 12:44:09 +01:00
committed by GitHub
parent 70095cdb49
commit 7d24cfbc9e
7 changed files with 88 additions and 58 deletions

View File

@@ -129,12 +129,13 @@ On Generation 3 gateways the signal strength is displayed in dBm (deciBel-milliW
### Channels for Repeaters (Thing type `repeater`)<sup>[1/2]</sup>
| Channel | Item Type | Description |
|-----------------|-----------|---------------------------------------------------------------------------------------------|
| color | Color | Controls the color of the LED ring. A switch item can be linked: ON = white, OFF = turn off |
| brightness | Dimmer | Controls the brightness of the LED ring. |
| identify | String | Flash repeater to identify. Valid values are: `IDENTIFY` |
| blinkingEnabled | Switch | Blink during commands. |
| Channel | Item Type | Description |
|-----------------|-----------|----------------------------------------------------------|
| color | Color | Controls the color of the LED ring. |
| color | Dimmer | Controls the brightness of the LED ring. |
| color | Switch | Switches the LED ring on or off. |
| identify | String | Flash repeater to identify. Valid values are: `IDENTIFY` |
| blinkingEnabled | Switch | Blink during commands. |
### Roller Shutter Up/Down Position vs. Open/Close State
@@ -292,7 +293,7 @@ Repeater items<sup>[1/2]</sup>:
```java
Color Bedroom_Repeater_Color "Bedroom Repeater Color" {channel="hdpowerview:repeater:home:r16384:color"}
Dimmer Bedroom_Repeater_Brightness "Bedroom Repeater Brightness" {channel="hdpowerview:repeater:home:r16384:brightness"}
Dimmer Bedroom_Repeater_Brightness "Bedroom Repeater Brightness" {channel="hdpowerview:repeater:home:r16384:color"}
String Bedroom_Repeater_Identify "Bedroom Repeater Identify" {channel="hdpowerview:repeater:home:r16384:identify"}
Switch Bedroom_Repeater_BlinkingEnabled "Bedroom Repeater Blinking Enabled [%s]" {channel="hdpowerview:repeater:home:r16384:blinkingEnabled"}
```