Hi together,
finally I took some time to integrate my shelly rgb2 in color mode and got it working using the following config:
Thing shelly:shellyrgbw2-color:814eca "Shelly_EG_Kueche_Arbeitsplattelinks" @ "zzz" [deviceIp="192.168.186.43", userId="xxx", password="yyy", eventsCoIoT=true,brightnessAutoOn="false"]
Group gShellyKuecheArbeitsplattelinks "Arbeitsplatte links" (gKueche) ["LightStripe"]
Color ShellyKuecheArbeitsplattelinksColorHsb "Farbe" (gShellyKuecheArbeitsplattelinks) ["Control","Light"] {channel="shelly:shellyrgbw2-color:814eca:color#hsb", listWidget="oh-colorpicker-item"[iconUseState=true, icon="light"]}
Dimmer ShellyKuecheArbeitsplattelinksColorWhite "Helligkeit Weiß" (gShellyKuecheArbeitsplattelinks) ["Point","None"] {channel="shelly:shellyrgbw2-color:814eca:color#white", listWidget="oh-slider-item"[min=0,max=100,step=1.0, scale=true,scaleSteps=5,releaseOnly=true,label=true]}
Dimmer ShellyKuecheArbeitsplattelinksColorGain "Helligkeit Farbe" (gShellyKuecheArbeitsplattelinks) ["Point","None"] {channel="shelly:shellyrgbw2-color:814eca:color#gain", listWidget="oh-slider-item"[min=0,max=100,step=1.0, scale=true,scaleSteps=5,releaseOnly=true,label=true]}
Switch ShellyKuecheArbeitsplattelinksPower "Schalter" (gShellyKuecheArbeitsplattelinks) ["Point","None"] {channel="shelly:shellyrgbw2-color:814eca:control#power"}
It took me a while to find the docu for the color mode as it seams to be not part of the OH 3.3.0 documentation but the preview of 3.4.0.
What I am wondering is the switch control for the light: The Color item generates also a toggle switch. I do not like this, especially as it does not react to the status of the light at all. This is why I use the additional Switch item using the power channel from the control group. This additional switch items works for controlling and receiving the status (e.g. when toggling the physical button).
Having also a switch as part of the color item, I get also wrong counting of turned on lights within semantic model. I try already to get rid of this switch but failed so far.
Is there any reason for this switch? Do I oversee some good thoughts and think to complicate? Maybe life is easier than expected?