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!