Openhab+alexa milight white issues

  • Platform information:
    • Hardware: VM - Hyper-V
    • OS: Ubuntu Server 16.04
    • Java Runtime Environment: Sun Java
    • openHAB version: 2 - latest stable
  • Issue of the topic: Hi all, hate to make this my first post but was hoping to be steered in the right direction, I have a milight v6 controller with a selection of lights, trying to switch to openhab from domoticz+controlicz+habridge. But have an issue with the light configuration, i’ve got more issues but i’m dealing with one thing at a time, get that perfect and then move on.

My linux skills are not fantastic, but i’ve got as far as having my lights detected by Alexa and colour changeable, except for the colour white.

I have configured the Color thing as suggested in other posts, and not the brightness thing, which seems to work fine for red blue and green but not white.

So far i have configured two lights (the V6 Bridge and some V5 RGBW lights) and neither can change to white.

Not sure what to include for troubleshooting, please steer me in the right direction. I’m hoping to switch to openhab2 completely, as it’s a cleaner one stop shop, but it’s a little complicated. I’ve used the REST API to add the Tags for Lighting on the two items, but again, i cannot change anything to white.

Thanks in advance.

Got the switching order the wrong way around, i’m switching to openhab :slight_smile:

Post your Items, Sitemap, and Rules (if any).

It’s a very simple configuration, and hopefully will stay simple, just don’t know if i’m doing it right.

Items:

[
{
“link”: “http://10.10.10.209:8080/rest/items/Hub”,
“state”: “240,100,0”,
“type”: “Color”,
“name”: “Hub”,
“label”: “Hub”,
“category”: “ColorLight”,
“tags”: [
“Lighting”
],
“groupNames”: []
},
{
“link”: “http://10.10.10.209:8080/rest/items/LivingRoom”,
“state”: “0,0,0”,
“type”: “Color”,
“name”: “LivingRoom”,
“label”: “Living Room”,
“category”: “ColorLight”,
“tags”: [
“Lighting”
],
“groupNames”: []
}
]

Sitemap: Have not configured anything yet:
[
{
“name”: “_default”,
“label”: “Home”,
“link”: “http://10.10.10.209:8080/rest/sitemaps/_default”,
“homepage”: {
“link”: “http://10.10.10.209:8080/rest/sitemaps/_default/_default”,
“leaf”: false,
“widgets”: []
}
}
]

No rules

OK, so first thing to realize is that the values of the Color Items are Hue Saturation Brightness, not RGB.

So if you wanted to just have white, you would have ?,0,100 where the value for Hue doesn’t matter because your saturation is zero.

The second thing to realize is that a Color Item can receive Dimmer commands as well as Switch commands. So the question is: How are you trying to control the white? You don’t have these on a sitemap in such a way as to be able to send them Dimmer or Switch commands because you haven’t actually built a sitemap to let you do that.

Ok, so you’ve just blown my mind a little.

Via the paper UI I added the color items, and added the tag. That’s all so far, obviously there is more to do to get this to work.

Looks like I have more reading to do.

Start with the Beginner’s Tutorial and move on to the User’s Manual, particularly the Concepts section.

I thought this would be a quick replacement, but it doesn’t seem like it. Will have to put this on the back burner for a while then.