OH3 Milight Binding

I can’t get the Milight binding to work.
That means, Things and Items are created with the Basic UI and are online. But all switches and dimmers do not react.

OH Version 3.1.0
Raspberry Pi3+
2 x Milight ibox2 v6 with 8 channels.
xx X Miboxer RGBCCT Spotlights

Okay, what have I done so far:
1.) OH3 with the Openhabian Image v 3.1.0 completely fresh installed.
2.) Milight Binding installed.
3.) Built a model.
4.) 2 x Milight Bridge v6 (iBox2) integrated as Things. (Were automatically detected and displayed in the postbox).
Both are displayed online.
5.) 1 rgbwwLed created as Thing and connected to the corresponding Bridge.
6.) All channels of the rgbwwLed were inserted into the model as items from a piece of equipment.
The Thing Color Bulb with Cold/warm White (iBox) is also displayed online.

So far so good, but unfortunately the lamps do not react to anything.
Neither brightness nor color selection or anything else.

Under the Homebridge and with the remote control everything runs as desired.
What I noticed is that in the illustration for the iBox2 the baud rate is always displayed with 9600.
This cannot be reduced for me and comes up with 38400. Could this be causing my problems?

Does anyone have any ideas or have solved this problem for themselves?
I am grateful for every tip.

Here are my Yaml Config:


UID: milight:rgbwwLed:98D8630AXXXX:20cd4709a9
label: Color Bulb with Cold/warm White (iBox)
thingTypeUID: milight:rgbwwLed
zone: 1
bridgeUID: milight:bridgeV6:98D8630AXXXX
location: Flur EG


UID: milight:bridgeV6:98D8630AXXXX
label: Milightbridge Flure
thingTypeUID: milight:bridgeV6
bridgeid: 98D8630AXXXX
port: 5987
repeat: 5
refreshTime: 5000
passwordByte1: 0
delayTime: 25
passwordByte2: 0

Thanks in advance.

Best Ralf

You should put the binding into TRACE logging and post what is happening. See openhab docs on logging for how to do that.

I use this alternative way to control the globes so consider if you want to do this too.

Hello Matt,

thanks for your answer.

here are some parts from the Event.log.
Other errors ( like: 2021-07-22 16:09:50.859 [WARN ] [nal.protocol.MilightV6SessionManager] - Session timeout!) I can prevent by changing the brigdesetting.

It would be interesting for me, does anyone have success with the Milight- Binding and the Milight V6 Bridge?

==> /var/log/openhab/events.log <==

2021-07-22 16:01:51.485 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘ColorBulbwithColdwarmWhiteiBox_Color’ received command 249,84,63

2021-07-22 16:01:51.495 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘ColorBulbwithColdwarmWhiteiBox_Color’ predicted to become 249,84,63

2021-07-22 16:01:51.502 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘ColorBulbwithColdwarmWhiteiBox_Color’ changed from 249,84,47 to 249,84,63

2021-07-22 16:01:51.515 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘ColorBulbwithColdwarmWhiteiBox_Brightness’ changed from 47 to 63

==> /var/log/openhab/openhab.log <==

2021-07-22 16:01:51.611 [INFO ] [nal.protocol.MilightV6SessionManager] - Confirmation received for unsend command. Sequence number: 0

2021-07-22 16:01:51.625 [INFO ] [nal.protocol.MilightV6SessionManager] - Confirmation received for unsend command. Sequence number: 0

2021-07-22 16:01:51.640 [INFO ] [nal.protocol.MilightV6SessionManager] - Confirmation received for unsend command. Sequence number: 0

2021-07-22 16:01:51.655 [INFO ] [nal.protocol.MilightV6SessionManager] - Confirmation received for unsend command. Sequence number: 0

2021-07-22 16:01:51.669 [INFO ] [nal.protocol.MilightV6SessionManager] - Confirmation received for unsend command. Sequence number: 0

Unfortunately, the EspMilightHub is not an option for me right now.

I would like to share my experience.
The 8 channel remote selected in the Milight app does not work.
After selecting a 4-channel RC in the app, I was able to control at least the first 4 channels.

This is not a solution for me yet, but it at least proves that the binding works in principle.

Maybe it helps one or the other.

This RC works fine

This RC don’t work

[milight] iBox2 integration doesn’t work in 8 channel mode · Issue #5277 · openhab/openhab-addons (github.com)

If you use the espmilighthub and binding it works with the 8 channel remotes, and when you use a physical remote the openHAB controls move and stay updated.