Hey,
my newest part at OH3 are shelly Bulb Duo RGB.
Thing and items are no problems - everything works fine:
// Shelly Color Bulb 1
Switch ShellyCB1On "Color Bulb Wohnen" <light> (gshellyBulb, aTPLinkon) {channel="shelly:shellycolorbulb:e8db84d29322:control#power"}
// Number ShellyCB1Watt "Verbrauch Bulb 1 [%.0f W]" <energy> (gshellyBulb) {channel="shelly:shellycolorbulb:e8db84d29322:meter#currentWatts"}
// Number ShellyCB1WattA "Verbrauch Bulb 1 gesamt [%.2f kWh]" <energy> (gshellyBulb) {channel="shelly:shellycolorbulb:e8db84d29322:meter#totalKWH"}
Number ShellyCB1Wifi "Signalstärke Bulb 1" <wifi> (gshellyBulb) {channel="shelly:shellycolorbulb:e8db84d29322:device#wifiSignal"}
Switch ShellyCB1Update "Fimwareupdate vorh." <update> (gshellyBulb) {channel="shelly:shellycolorbulb:e8db84d29322:device#updateAvailable"}
Dimmer ShellyCBBrightness "Helligkeit" <slider> (gshellyBulb) {channel="shelly:shellycolorbulb:e8db84d29322:white#brightness"}
Dimmer ShellyCBtemperature "Licht-Temperatur" <slider> (gshellyBulb) {channel="shelly:shellycolorbulb:e8db84d29322:white#temperature"}
Color ShellyCBColor "Farbe" <rgb> (gshellyBulb) {channel="shelly:shellycolorbulb:e8db84d29322:color#hsb"}
String ShellyCBFColor "Voll-Farbe" <rgb> (gshellyBulb) {channel="shelly:shellycolorbulb:e8db84d29322:color#full"}
Number ShellyCBeffect "Lichteffekt" <zoom> (gshellyBulb) {channel="shelly:shellycolorbulb:e8db84d29322:color#effect"}
Now I want to chanche the color to red, if my item Netatmo Co2 get higher 1000 ppm., by using rule.
But it didn´t work:
ShellyCBFColor.sendCommand (red)
Any ideas?
Greetings, Ansgar