EspMilightHub new binding for milight limitlessLED and easybulb

Ok, thats strange.
After switching to the older release of you binding everything worked as expected.
I then had to boot my server and after that it stopped working again.

I then switched back to the newer release and it startet to work again. In the karaf console i could see some updates a few seconds after i dropped the newer releasee into the plugins folder. Here´s my log, maybe it helps:

> 13:04:19.179 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27100' changed from ONLINE to UNINITIALIZED
> 13:04:19.191 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27100' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.232 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C2' changed from ONLINE to UNINITIALIZED
> 13:04:19.243 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C2' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.257 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E2' changed from ONLINE to UNINITIALIZED
> 13:04:19.283 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E2' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.291 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27101' changed from ONLINE to UNINITIALIZED
> 13:04:19.295 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27101' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.316 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27130' changed from ONLINE to UNINITIALIZED
> 13:04:19.337 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27130' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.358 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27121' changed from ONLINE to UNINITIALIZED
> 13:04:19.378 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27121' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.487 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C1' changed from ONLINE to UNINITIALIZED
> 13:04:19.491 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C1' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.496 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C0' changed from ONLINE to UNINITIALIZED
> 13:04:19.521 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C0' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.535 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E0' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.556 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E0' changed from ONLINE to UNINITIALIZED
> 13:04:19.560 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C3' changed from ONLINE to UNINITIALIZED
> 13:04:19.583 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C3' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.591 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27132' changed from ONLINE to UNINITIALIZED
> 13:04:19.594 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27132' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.598 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D2' changed from ONLINE to UNINITIALIZED
> 13:04:19.606 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D2' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.611 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D1' changed from ONLINE to UNINITIALIZED
> 13:04:19.636 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D1' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.640 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E4' changed from ONLINE to UNINITIALIZED
> 13:04:19.644 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E4' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.648 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27131' changed from ONLINE to UNINITIALIZED
> 13:04:19.656 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27131' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.666 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E1' changed from ONLINE to UNINITIALIZED
> 13:04:19.675 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E1' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.679 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27120' changed from ONLINE to UNINITIALIZED
> 13:04:19.686 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27120' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.691 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27124' changed from ONLINE to UNINITIALIZED
> 13:04:19.712 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27124' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.717 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E3' changed from ONLINE to UNINITIALIZED
> 13:04:19.720 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E3' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.736 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D0' changed from ONLINE to UNINITIALIZED
> 13:04:19.744 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D0' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.748 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27133' changed from ONLINE to UNINITIALIZED
> 13:04:19.756 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27133' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.760 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D9A1' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.768 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D9A1' changed from ONLINE to UNINITIALIZED
> 13:04:19.771 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8D1' changed from ONLINE to UNINITIALIZED
> 13:04:19.786 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8D1' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.790 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27102' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.796 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27102' changed from ONLINE to UNINITIALIZED
> 13:04:19.802 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27123' changed from ONLINE to UNINITIALIZED
> 13:04:19.816 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C4' changed from ONLINE to UNINITIALIZED
> 13:04:19.820 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27122' changed from ONLINE to UNINITIALIZED
> 13:04:19.826 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:esp8266Bridge:001' changed from ONLINE to UNINITIALIZED
> 13:04:19.829 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C4' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.833 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27122' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.848 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27123' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.853 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:esp8266Bridge:001' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
> 13:04:19.996 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:esp8266Bridge:001' has been updated.
> 13:04:20.004 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8C0' has been updated.
> 13:04:20.028 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8C1' has been updated.
> 13:04:20.032 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8C2' has been updated.
> 13:04:20.040 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8C3' has been updated.
> 13:04:20.043 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8C4' has been updated.
> 13:04:20.048 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8E0' has been updated.
> 13:04:20.052 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8E1' has been updated.
> 13:04:20.060 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8E2' has been updated.
> 13:04:20.067 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8E3' has been updated.
> 13:04:20.074 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8E4' has been updated.
> 13:04:20.083 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x2D8D0' has been updated.
> 13:04:20.092 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x2D8D1' has been updated.
> 13:04:20.103 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x2D8D2' has been updated.
> 13:04:20.111 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D8D1' has been updated.
> 13:04:20.122 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27100' has been updated.
> 13:04:20.131 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27101' has been updated.
> 13:04:20.137 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27102' has been updated.
> 13:04:20.148 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27120' has been updated.
> 13:04:20.151 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27121' has been updated.
> 13:04:20.162 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27122' has been updated.
> 13:04:20.166 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27123' has been updated.
> 13:04:20.177 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27124' has been updated.
> 13:04:20.181 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27130' has been updated.
> 13:04:20.186 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27131' has been updated.
> 13:04:20.189 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27132' has been updated.
> 13:04:20.196 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x27133' has been updated.
> 13:04:20.200 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'espmilighthub:rgb_cct:001:0x5D9A1' has been updated.
> 13:04:20.207 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:esp8266Bridge:001' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.231 [INFO ] [ub.handler.EspMilightHubBridgeHandler] - MQTT sucessfully connected
> 13:04:20.234 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:esp8266Bridge:001' changed from INITIALIZING to ONLINE
> 13:04:20.274 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C0' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.319 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C1' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.338 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C2' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.495 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C1' changed from INITIALIZING to ONLINE
> 13:04:20.575 [INFO ] [ub.handler.EspMilightHubBridgeHandler] - MQTT sucessfully connected
> 13:04:20.596 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C3' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.645 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C4' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.676 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C3' changed from INITIALIZING to ONLINE
> 13:04:20.736 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E0' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.761 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E1' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.782 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C0' changed from INITIALIZING to ONLINE
> 13:04:20.786 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C2' changed from INITIALIZING to ONLINE
> 13:04:20.789 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8C4' changed from INITIALIZING to ONLINE
> 13:04:20.792 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E2' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.799 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E3' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.835 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8D1' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.839 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27121' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.842 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E4' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.855 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27100' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.867 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27122' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.878 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E0' changed from INITIALIZING to ONLINE
> 13:04:20.890 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E1' changed from INITIALIZING to ONLINE
> 13:04:20.916 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27131' changed from INITIALIZING to ONLINE
> 13:04:20.936 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27124' changed from INITIALIZING to ONLINE
> 13:04:20.939 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27133' changed from INITIALIZING to ONLINE
> 13:04:20.942 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D0' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.946 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27101' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.950 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27131' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.954 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27133' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:20.968 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E2' changed from INITIALIZING to ONLINE
> 13:04:20.972 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E3' changed from INITIALIZING to ONLINE
> 13:04:20.997 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8E4' changed from INITIALIZING to ONLINE
> 13:04:21.000 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D0' changed from INITIALIZING to ONLINE
> 13:04:21.003 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27101' changed from INITIALIZING to ONLINE
> 13:04:21.006 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D1' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:21.009 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27102' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:21.013 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27123' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:21.017 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27132' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:21.021 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D2' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:21.024 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27120' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:21.028 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D1' changed from INITIALIZING to ONLINE
> 13:04:21.043 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x2D8D2' changed from INITIALIZING to ONLINE
> 13:04:21.047 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D8D1' changed from INITIALIZING to ONLINE
> 13:04:21.060 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27100' changed from INITIALIZING to ONLINE
> 13:04:21.063 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27102' changed from INITIALIZING to ONLINE
> 13:04:21.066 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27120' changed from INITIALIZING to ONLINE
> 13:04:21.069 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27130' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:21.073 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27122' changed from INITIALIZING to ONLINE
> 13:04:21.091 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27130' changed from INITIALIZING to ONLINE
> 13:04:21.095 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27132' changed from INITIALIZING to ONLINE
> 13:04:21.098 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27124' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:21.102 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D9A1' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
> 13:04:21.106 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27121' changed from INITIALIZING to ONLINE
> 13:04:21.109 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x27123' changed from INITIALIZING to ONLINE
> 13:04:21.120 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'espmilighthub:rgb_cct:001:0x5D9A1' changed from INITIALIZING to ONLINE
> 13:04:21.124 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_3_Level changed from 1 to 0
> 13:04:21.146 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_3_State changed from ON to OFF
> 13:04:21.149 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_3_Level changed from 1 to 0
> 13:04:21.154 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_3_State changed from ON to OFF
> 13:04:21.157 [INFO ] [smarthome.event.ItemStateChangedEvent] - Tuerlicht_Level changed from 50 to 0
> 13:04:21.161 [INFO ] [smarthome.event.ItemStateChangedEvent] - L_EZ_3_Level changed from 100 to 0
> 13:04:21.164 [INFO ] [smarthome.event.ItemStateChangedEvent] - Baumlicht_Level changed from 100 to 0
> 13:04:22.067 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Kuechenlicht_0_State' received command OFF
> 13:04:22.089 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Kuechenlicht_0_State' received command OFF
> 13:04:22.093 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_0_State changed from ON to OFF
> 13:04:22.104 [INFO ] [home.event.GroupItemStateChangedEvent] - gParty_Licht_state changed from ON to OFF through Kuechenlicht_0_State
> 13:04:22.108 [INFO ] [home.event.GroupItemStateChangedEvent] - gkuechenlicht changed from ON to OFF through Kuechenlicht_0_State
> 13:04:22.112 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Kuechenlicht_0_State' received command OFF
> 13:04:22.114 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Kuechenlicht_0_State' received command OFF
> 13:04:26.271 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_1_State changed from OFF to ON
> 13:04:26.278 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Kuechenlicht_0_State' received command ON
> 13:04:26.296 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_1_Level changed from 0 to 69
> 13:04:26.299 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_1_Level changed from 0 to 69
> 13:04:26.302 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_1_State changed from OFF to ON
> 13:04:26.306 [INFO ] [home.event.GroupItemStateChangedEvent] - gkuechenlicht changed from OFF to ON through Kuechenlicht_1_State
> 13:04:26.309 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_0_State changed from OFF to ON
> 13:04:26.326 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_1_Hue changed from 360,100,1 to 360,100,69
> 13:04:26.329 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_1_Hue changed from 360,100,1 to 360,100,69
> 13:04:26.335 [INFO ] [home.event.GroupItemStateChangedEvent] - gParty_Licht_state changed from OFF to ON through Kuechenlicht_0_State
> 13:04:26.338 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Kuechenlicht_0_Hue' received command 360,100,69
> 13:04:26.341 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_0_Hue changed from 319,100,0 to 360,100,69
> 13:04:28.472 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_1_State changed from ON to OFF
> 13:04:28.492 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_1_Level changed from 69 to 0
> 13:04:28.508 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Kuechenlicht_0_State' received command OFF
> 13:04:28.511 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_1_State changed from ON to OFF
> 13:04:28.516 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Kuechenlicht_0_State' received command OFF
> 13:04:28.521 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_1_Level changed from 69 to 0
> 13:04:28.524 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_0_State changed from ON to OFF
> 13:04:28.527 [INFO ] [home.event.GroupItemStateChangedEvent] - gParty_Licht_state changed from ON to OFF through Kuechenlicht_0_State
> 13:04:28.532 [INFO ] [home.event.GroupItemStateChangedEvent] - gkuechenlicht changed from ON to OFF through Kuechenlicht_0_State
> 13:04:28.539 [INFO ] [home.event.GroupItemStateChangedEvent] - gkuechenlicht changed from ON to OFF through Kuechenlicht_0_State
> 13:04:29.864 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_2_State changed from OFF to ON
> 13:04:29.926 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_2_State changed from OFF to ON
> 13:04:29.930 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_2_Hue changed from 336,100,1 to 336,100,84
> 13:04:29.933 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_2_Level changed from 0 to 84
> 13:04:29.936 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_2_Level changed from 0 to 84
> 13:04:29.940 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_2_Hue changed from 336,100,1 to 336,100,84
> 13:04:29.946 [INFO ] [home.event.GroupItemStateChangedEvent] - gkuechenlicht changed from OFF to ON through Kuechenlicht_2_State
> 13:04:30.902 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_2_State changed from ON to OFF
> 13:04:30.919 [INFO ] [home.event.GroupItemStateChangedEvent] - gkuechenlicht changed from ON to OFF through Kuechenlicht_2_State
> 13:04:30.923 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_2_State changed from ON to OFF
> 13:04:30.926 [INFO ] [smarthome.event.ItemStateChangedEvent] - Remote_2_Level changed from 84 to 0
> 13:04:30.928 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kuechenlicht_2_Level changed from 84 to 0

@matt1: I made some small changes in the code. Only some wait cycles when the binding disconnects from mqtt broker. With these changes my setup with the low performance mqtt broker is stable, by now for several days.
In detail:
in EspMilightHubDiscoveryService.java:

@@ -139,10 +145,11 @@ public class EspMilightHubDiscoveryService extends AbstractDiscoveryService {

         try {
             Thread.sleep(3000);
             try {
                 client.disconnect();
                 Thread.sleep(3000);
                 deactivate();
             } catch (MqttException e) {

             }
         } catch (InterruptedException e) {

in EspMilightHubBridgeHandler.java

@@ -476,11 +476,12 @@ public class EspMilightHubBridgeHandler extends BaseBridgeHandlerimplements Mqtt
*/

 public void disconnectMQTT() {
     try {
         client.disconnect();
         Thread.sleep(3000);
     } catch (MqttException | InterruptedException e) {
         logger.error("Could not disconnect from MQTT broker.{}", e);
     }
 }

Maybe you want to commit the changes.

If anybody is interested in testing I attach the modified and self compiled 2.4-Snapshot-Version:
http://h.mailge.de:8080/org.openhab.binding.espmilighthub-2.4.0-SNAPSHOT.jar.gz

Thanks for doing the testing and confirming it fixes the issue. Since I never saw this until recently it may be mosquito made a change not the hardware you are running it on… whatever the reason it sounds like a change worth making and won’t hurt. i’ll Look at this when I have some time but the code you posted looks good so thanks for sharing.

@joga
I looked at the code and made your suggested change. Build 27-10-2018 is now uploaded and contains the fix. Some info in case you or others are interested this is why it connects twice…

The binding first trys to connect to see if the broker is working, if it does then the ‘thing’ in openhab goes ONLINE and there is a delay from when openhab can accept the states of the globes and update the controls of a thing that has only just come online. So I used the REFRESH commands that openhab generates to cause the MQTT to disconnect and then reconnect which then sends all the states flooding in to be processed when openhab is ready to recieve the changes. If I did not do it this way I would have to store all the states and re-process them after Openhab is ready to recieve them. Hopefully that makes sense. Github now has the changes made.

@matt1: Thanks for the update. I’m glad I could be of some help. I will test your fix soon and report.

New build made today has no new features, it was only made to keep it identical with what is at github as I made the jar now a 2.4snapshot and other changes to allow it to build with no errors in the newer IDE.

Does this mean that the binding will be available in the 2.4 release?

@matt1
For my milight bulbs, I use this binding now. It’s a good binding! Proficiat!
I see when I switch the bulb’s off via OpenHab with the on/off switch that also the level is set to zero. The MQTT command is: {“state”:“OFF”,“level”:0}. This is not a good solution. I can tell you why.
If I switch the bulb off via OpenHAB and I want to switch the bulb on via a remote or another application I have to specify the level because the level was set to zero by OpenHAB. If I only send {“state”:“ON”} nothing happens because of the zero level.
Can you please fix this?

@aart Glad you like the binding. The issue you are reporting is actually a feature called “POWERFAILS_TO_MINDIM” and can be turned on and off. My guess is yours is set to on for this feature and it is very handy to stop the lights coming back on whilst you are sleeping due to the power failing for a short period and then coming back on.

I doubt this binding will ever be built into openhab as another milight binding exists that works with the OEM bridge, it would only confuse users. Since the builds are not very close it may be time to add this to the marketplace.

1 Like

Yes, I can turn on and off that feature, but the behavior is the same in both settings.
Im running the latest build: 10-11-2018

Hello! I still do not use the binding, there is no time to do it, but I follow the topic from the very beginning. I am very upset that you are not going to make it the official binding of openhab. I think that it is necessary to make it official binding, just think about its name so that there is no confusion.

@aart
New build 13-11-2018 is now available and should have this bug fixed hopefully, thanks for reporting it.

Hi everybody

Thanks for all who contributed to this great project!

I have a question in regards of all the different items. Is there somewhere a documentation which items are available? I unsuccessfully tried to find it.

I’m asking that, because I miss the “White” switch which is available on the MiLight Hub web interface. I also would like to map it to my sitemap. Can I do that somehow?

And another question I have, is it somehow possible to switch light on and off just with a URL directly to the web interface of the MiLightHub? Reason for that is, because with my main home automation tool (digitalstrom) I’m only able to call an URL. And it would be great being able to control the milight like that.

Thanks for your help!

First of all, thanks for this great binding. It was very easy to setup. There is only 1 thing I haven’t figured out yet:

I’m trying to adjust the color through a rule. I use this code in my rule:

Milight_ID0x2_G1_Cmd.sendCommand("100,356,100")
Milight_ID0x2_G1_SndCmd.sendCommand(ON)

My items:

Switch Milight_ID0x2_G1_State     "Light On/Off"           {channel="espmilighthub:rgb_cct:Auto001:0x21:level"}
Dimmer Milight_ID0x2_G1_Level     "0x005"                  {channel="espmilighthub:rgb_cct:Auto001:0x21:level"}
Dimmer Milight_ID0x2_G1_CTemp     "White Color Temp"       {channel="espmilighthub:rgb_cct:Auto001:0x21:colourtemperature"}
Color  Milight_ID0x2_G1_Hue    "Color" ["Lighting"]        {channel="espmilighthub:rgb_cct:Auto001:0x21:colour"}
Number Milight_ID0x2_G1_Mode    "Discomode"                {channel="espmilighthub:rgb_cct:Auto001:0x21:discomode"}
String Milight_ID0x2_G1_Cmd 	    "Command to Send"      {channel="espmilighthub:rgb_cct:Auto001:0x21:bulbcommand"}
Switch Milight_ID0x2_G1_SndCmd    "Send Command" 		   {channel="espmilighthub:rgb_cct:Auto001:0x21:sendbulbcommand"}

When I set a color through the sitemap I see this in the log:

milight/commands/0x2/rgb_cct/1 {"state":"ON","level":100,"hue":2,"saturation":95}
milight/states/0x2/rgb_cct/1 {"state":"ON","level":100,"hue":1,"saturation":95,"bulb_mode":"color"}

When my rules gets executed:

milight/commands/0x2/rgb_cct/1 {"command":"100,100,356"}

What am I doing wrong?

EDIT: OK, after a good night sleep and reading through the topic from the previous version of this binding, I think the command should be more like this:

`Milight_ID0x2_G1_Cmd.sendCommand('{"state":"ON","level":100,"hue":1,"saturation":5,"bulb_mode":"color"}')`

Logs:

milight/commands/0x2/rgb_cct/1 {"command":"{"state":"ON","level":100,"hue":1,"saturation":5,"bulb_mode":"color"}"}
milight/commands/0x2/rgb_cct/1 {"command":"{"state":"ON","level":100,"hue":1,"saturation":5,"bulb_mode":"color"}"}

How do I send only the state to an item instead of a command with the state??

Trying to (partially) reply if I correctly understand your points

About “different Item”, I think you misunderstand and they are Channels instead of what you are looking for
Channels are visible from whitin the Thing definition inside Openhab when discovered starting this from the binde wich is the scope of this Thread discussing about
Anyway, there’s a SET_WHITE command you can send from the sendBulbcommand

About url, you can send url with REST protocol (This bind is MQTT based) and documentation is available on the right side of the Milight Hub descritption indicated at the top of this thread http://blog.christophermullins.com/2017/02/11/milight-wifi-gateway-emulator-on-an-esp8266/248 and https://github.com/sidoh/esp8266_milight_hub/

Thank you very much for your help.

Sorry, if i was not clear enough.

What I’m looking for is a switch which enables me to select the white mode. And from what I understood you normally do that in the items file if you configure manually. Didn’t know this are called channels. But thanks for the hint.

But how can I now map the SET_White Command to a switch? Is this somehow possible?

In regards of the URL, I tried to go through the documentation you sent. But I have my difficulties to understand how I can translate this into a URL I need. I tied with : http://192.168.1.10/gateways/0x2987/1/{"status": "on", "hue":0}. I get the response: unknow device type.

Sorry, I’m quite new to all this and I try to learn.

Thanks again for your help.

There is two ways to trigger white mode off top of my head from a switch.

  1. Create a virtual switch and use a rule to send the hue that trips white mode. You send the colour using the hue channel.

  2. The binding allows you to specify the default command that gets sent if nothing is selected. Set the defualt to be white mode using this to set the bridge setting called “DEFAULT_COMMAND”. Then use a switch to send the command. The very first post in this thread has examples to get the switch running and by default it will probably trip the night mode, leaving you to work out how to use that setting to change the default behaviour.

this binding is floating my logs few times a second

That log
Output is not from this binding but from the official milight binding. This thread is for the espmilighthub which is an open source hub you build and use instead of the milight hub.

sorry, i did not know
with this hub there is no such problems ?

also, how hard is it ? i’m new to openhab and not a programmer
thanks