EspMilightHub new binding for milight limitlessLED and easybulb

Thanks for the new build @matt1; I’ll try and do some debugging over the weekend. Is there a page somewhere on OpenHAB about how to do it? Is it a question of cloning https://github.com/openhab/openhab2-addons, cloning https://github.com/Skinah/EspMilightHub into bundles/ and then going into bundles/EspMilightHub/ and running Maven?

In terms of the logs I get at the moment, if I have the following state (light is in colour mode, and was turned off by sending OFF to Internal_MainBedroom_LedDownlight_Power):

openhab> items list | sort | grep Internal_MainBedroom_LedDownlight                                                                                                           
Internal_MainBedroom_LedDownlight_Brightness (Type=DimmerItem, State=NULL, Label=Andrew's lamp, Category=light, Tags=[Lighting])
Internal_MainBedroom_LedDownlight_BulbMode (Type=StringItem, State=NULL, Label=Andrew's lamp bulb mode, Category=settings)
Internal_MainBedroom_LedDownlight_Colour (Type=ColorItem, State=0.000000,0.000000,33.725491, Label=Andrew's lamp colour, Category=colorpicker)
Internal_MainBedroom_LedDownlight_Command (Type=StringItem, State=NULL, Label=Andrew's lamp command, Category=text)
Internal_MainBedroom_LedDownlight_DiscoMode (Type=NumberItem, State=NULL, Label=Andrew's lamp disco mode, Category=settings)
Internal_MainBedroom_LedDownlight_Power (Type=SwitchItem, State=OFF, Label=Andrew's lamp power, Category=light)
Internal_MainBedroom_LedDownlight_SendCmd (Type=SwitchItem, State=NULL, Label=Andrew's lamp send command, Category=settings)
Internal_MainBedroom_LedDownlight_Temperature (Type=DimmerItem, State=NULL, Label=Andrew's lamp temperature, Category=light)

When I go to the colour picker in my sitemap, this turns the light on. The following messages are on MQTT:

milight/commands/0x21/rgb_cct/1 {"state":"ON","level":33,"hue":0,"saturation":0}
milight/states/0x21/rgb_cct/1 {"state":"ON","level":33,"hue":0,"saturation":0,"bulb_mode":"color"}

The following shows in the trace log:

2019-05-25 09:32:28.528 [DEBUG] [b.handler.EspMilightHubBridgeHandler] - Started timer because it was null.
2019-05-25 09:32:28.531 [TRACE] [b.handler.EspMilightHubBridgeHandler] - MQTT message just sent, there are now 0 more messages in the queue
2019-05-25 09:32:29.082 [DEBUG] [b.handler.EspMilightHubBridgeHandler] - * Recieved the following new Milight state:milight/states/0x21/rgb_cct/1 : {"state":"ON","level":33,"hue":0,"saturation":0,"bulb_mode":"color"}
2019-05-25 09:32:29.093 [TRACE] [b.handler.EspMilightHubBridgeHandler] - Processing new incoming MQTT message to update Openhab's controls.
2019-05-25 09:32:29.093 [TRACE] [b.handler.EspMilightHubBridgeHandler] - Message        ={"state":"ON","level":33,"hue":0,"saturation":0,"bulb_mode":"color"}
2019-05-25 09:32:29.093 [TRACE] [b.handler.EspMilightHubBridgeHandler] - globeType      =rgb_cct
2019-05-25 09:32:29.093 [TRACE] [b.handler.EspMilightHubBridgeHandler] - remoteCode     =0x21
2019-05-25 09:32:29.093 [TRACE] [b.handler.EspMilightHubBridgeHandler] - remoteGroupID  =1
2019-05-25 09:32:29.093 [TRACE] [b.handler.EspMilightHubBridgeHandler] - Chan Prefix    =espmilighthub:rgb_cct:f4f31d70:0x211:
2019-05-25 09:32:29.094 [TRACE] [b.handler.EspMilightHubBridgeHandler] - bulbState      =ON
2019-05-25 09:32:29.094 [TRACE] [b.handler.EspMilightHubBridgeHandler] - bulbLevel      =33

But only the state of the item I directly manipulated (i.e. the colour picker) is updated:

openhab> items list | sort | grep Internal_MainBedroom_LedDownlight
Internal_MainBedroom_LedDownlight_Brightness (Type=DimmerItem, State=NULL, Label=Andrew's lamp, Category=light, Tags=[Lighting])
Internal_MainBedroom_LedDownlight_BulbMode (Type=StringItem, State=NULL, Label=Andrew's lamp bulb mode, Category=settings)
Internal_MainBedroom_LedDownlight_Colour (Type=ColorItem, State=0.000000,0.000000,33.725491, Label=Andrew's lamp colour, Category=colorpicker)
Internal_MainBedroom_LedDownlight_Command (Type=StringItem, State=NULL, Label=Andrew's lamp command, Category=text)
Internal_MainBedroom_LedDownlight_DiscoMode (Type=NumberItem, State=NULL, Label=Andrew's lamp disco mode, Category=settings)
Internal_MainBedroom_LedDownlight_Power (Type=SwitchItem, State=OFF, Label=Andrew's lamp power, Category=light)
Internal_MainBedroom_LedDownlight_SendCmd (Type=SwitchItem, State=NULL, Label=Andrew's lamp send command, Category=settings)
Internal_MainBedroom_LedDownlight_Temperature (Type=DimmerItem, State=NULL, Label=Andrew's lamp temperature, Category=light)