Dear Community,
I would like to be able to control LED lighting using Alexa.
These components I am using for this purpose:
*) OpenHAB 2.5.1 (stable)
→ OpenHAB Cloud Service
→ Milight Binding
) MiLight Wifi Bridge Box Controller iBox2
) MiLight Controller YL5 (RGBWW)
*) RGBWW Led Stripe
*) Amazon Echo (Alexa)
myopenhab.org service registered, Alexa Skill installed and connected.
I added the Wifi Bridge as a THING as follows:
mi-light.things:
Bridge milight:bridgeV6:98D86370BBAC [ host=“192.168.10.155”, bridgeid=“98D86370BBAC”, passwordByte1=0, passwordByte2=0, repeat=2, delayTime=75 ] {Thing rgbwwLed 1 [ zone=“1” ] }
It was discovered correctly and set ONLINE:
14:36:21.038 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - ‘milight:bridgeV6:98D86370BBAC’ changed from OFFLINE (CONFIGURATION_PENDING): Waiting for session to ONLINE
14:36:21.052 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - ‘milight:rgbwwLed:98D86370BBAC:1’ changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
Now I wanted to try out changing the temperature color:
For this purpose I created the following ITEM and let the Alexa successfully search for this device:
alexa.items:
Dimmer Buero_Colortemp_Test “Büro Farbe” {channel=“milight:rgbwwLed:98D86370BBAC:1:ledtemperature”, alexa=“ColorTemperatureController.colorTemperatureInKelvin” [range=“2700:6500”,increment=“2500”]}
Now, when I say “Alexa, switch “Büro Farbe” to coldwhite” Alexa switches to warmwhite and vice versa.
So, in the Paper UI the dimmer at 0% is “warmwhite” and at 100% maximun of “coldwhite” but it should be the other way round.
Has anyone had this situation and can help me here?
Is there a way to invert the commands?
I am grateful for every answer!