Update Limitlessled/Milight Component V6 Bridge (iBox)

Thnx @happyleaves, I’ll try this fix this evening. I did already set the port and version number of my v5 bridge,so I hope this will solve the issue.

Thanks for all the work guys, v6 bridge works perfect.

Thanks for the heads up, I’ll save myself a little head scratching and wait for the build in that case. Good work guys!

Hi Soldag, I’ve migrated to the new version and it’s working great. However, I seem unable to find the bridge (I had it as a separate light type before and was working fine).
I had the line bridge_led: True but cannot see it list in States.
Under which EntityID should the bridge led appear?

It should be light.bridge. Its hard for me, to find the cause of the error, since I don’t have a wifi bridge with led here :confused: Is there anything in the hass log?

Not that I can see, however I have a non-responsive light with the MAC address of the bridge as entity_id showing up once in a while. (v6 bridge with bridge_led: True in config, and 4 groups of RGBWW bulbs):

It also shows in the frontend, but when I try to turn it on it doesn’t work.

Edit: I said once in a while, but that’s mostly because I don’t think it shows up immediately. But when it’s there it doesn’t go away (at least for now).

I also had once in a while a light, which i did not configured, in my entity list, but I never thought about this has something to do with the limitlessled bridge.
It seems that the flux_led component discovers the bridge as light:

INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: platform=flux_led, service=load_platform.light, discovered=('IP_OF_BRIDGE', 'MAC_OF_BRIDGE')>

I was looking at the entity_id and just got a MAC address-like feel from it. So checked my router and it is indeed the iBox bridge. Funny that it’s unrelated to the code that tries to get the bridge_led to work, if theres anything I can do to help you debug this further just ask!

I’ll check that in detail tomorrow. Before it worked for me with a separate entry for the bridge, group 1, type bridge_led and a modified version of limitlessled.py

I have installed the dev version (0.39.0.dev0) today but seem to be stuck, v6 bridge seems unresponsive still.

All i have done is an update using the dev argument.

I get no errors on boot or on submission of commands.

So i enabled debug logging and got the following when trying to toggle the group (1). The light name given in HA is Hallway:

> 17-02-17 21:14:39 INFO (Thread-17) [limitlessled.pipeline] Starting a new pipeline on group 1 (Hallway) @ xxx.xxx.xxx.xxx
> 17-02-17 21:14:39 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1736092432: Sending {'type': 'event', 'event': {'event_type': 'state_changed', 'time_fired': datetime.datetime(2017, 2, 17, 21, 14, 39, 590076, tzinfo=<UTC>), 'data': {'entity_id': 'light.hallway', 'new_state': <state light.hallway=on; brightness=255, rgb_color=[255, 255, 255], friendly_name=Hallway, supported_features=61 @ 2017-02-17T21:14:39.589802+00:00>, 'old_state': <state light.hallway=off; supported_features=61, friendly_name=Hallway @ 2017-02-17T21:13:12.726917+00:00>}, 'origin': 'LOCAL'}, 'id': 2}
> 17-02-17 21:14:39 INFO (Thread-17) [limitlessled.pipeline]  -> Running stage 'on()' on group 1 (Hallway) @ xxx.xxx.xxx.xxx
> 17-02-17 21:14:39 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1975073776-2>
> 17-02-17 21:14:39 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state group.all_lights=off; friendly_name=All Lights, entity_id=('light.kitchen_inner', 'light.dining_room_table', 'light.hallway', 'light.kitchen_outer', 'light.main_light', 'light.f0fe6b1e2e5c', 'light.dining_room_outer'), auto=True, order=1, assumed_state=True @ 2017-02-17T21:13:56.490595+00:00>, new_state=<state group.all_lights=on; friendly_name=All Lights, entity_id=('light.kitchen_inner', 'light.dining_room_table', 'light.hallway', 'light.kitchen_outer', 'light.main_light', 'light.f0fe6b1e2e5c', 'light.dining_room_outer'), auto=True, order=1, assumed_state=True @ 2017-02-17T21:14:39.623508+00:00>, entity_id=group.all_lights>
> 17-02-17 21:14:39 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1736092432: Sending {'type': 'event', 'event': {'event_type': 'state_changed', 'time_fired': datetime.datetime(2017, 2, 17, 21, 14, 39, 623748, tzinfo=<UTC>), 'data': {'entity_id': 'group.all_lights', 'new_state': <state group.all_lights=on; friendly_name=All Lights, entity_id=('light.kitchen_inner', 'light.dining_room_table', 'light.hallway', 'light.kitchen_outer', 'light.main_light', 'light.f0fe6b1e2e5c', 'light.dining_room_outer'), auto=True, order=1, assumed_state=True @ 2017-02-17T21:14:39.623508+00:00>, 'old_state': <state group.all_lights=off; friendly_name=All Lights, entity_id=('light.kitchen_inner', 'light.dining_room_table', 'light.hallway', 'light.kitchen_outer', 'light.main_light', 'light.f0fe6b1e2e5c', 'light.dining_room_outer'), auto=True, order=1, assumed_state=True @ 2017-02-17T21:13:56.490595+00:00>}, 'origin': 'LOCAL'}, 'id': 2}
> 17-02-17 21:14:39 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1975073776-1>
> 17-02-17 21:14:39 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1736092432: Sending {'type': 'result', 'result': None, 'success': True, 'id': 9}
> 17-02-17 21:14:39 INFO (Thread-17) [limitlessled.pipeline]  -> Running stage 'white()' on group 1 (Hallway) @ xxx.xxx.xxx.xxx
> 17-02-17 21:14:40 DEBUG (MainThread) [pyatv.daap] Already logged in, re-using seasion id 1565015702
> 17-02-17 21:14:40 DEBUG (MainThread) [pyatv.daap] GET URL: http://xxx.xxx.xxx.xxx:3689/ctrl-int/1/playstatusupdate?session-id=1565015702&revision-number=0
> 17-02-17 21:14:40 INFO (Thread-17) [limitlessled.pipeline]  -> Running stage 'transition(0, brightness=1.0, color=Color(R=255, G=255, B=255))' on group 1 (Hallway) @ xxx.xxx.xxx.xxx
> 17-02-17 21:14:40 DEBUG (MainThread) [pyatv.daap] Data[32]: b'636d7374000000186d73747400000004000000c8636d73720000000400000002'
> 17-02-17 21:14:40 DEBUG (MainThread) [pyatv.daap] _get_request: cmst: [container, dmcp.playstatus]
>   mstt: 200 [uint, dmap.status]
>   cmsr: 2 [uint, dmcp.serverrevision]

> 17-02-17 21:14:40 INFO (Thread-17) [limitlessled.pipeline] Finished pipeline on group 1 (Hallway) @ xxx.xxx.xxx.xxx
> 17-02-17 21:14:42 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1736092432: Received {'type': 'call_service', 'service_data': {'entity_id': 'light.hallway'}, 'id': 10, 'domain': 'homeassistant', 'service': 'turn_off'}
> 17-02-17 21:14:42 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_data=entity_id=light.hallway, service_call_id=1975073776-3, domain=homeassistant, service=turn_off>
> 17-02-17 21:14:42 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_data=entity_id=['light.hallway'], service_call_id=1975073776-4, domain=light, service=turn_off>
> 17-02-17 21:14:42 INFO (Thread-17) [limitlessled.pipeline] Starting a new pipeline on group 1 (Hallway) @ xxx.xxx.xxx.xxx
> 17-02-17 21:14:42 INFO (Thread-17) [limitlessled.pipeline]  -> Running stage 'transition(0, brightness=0.0)' on group 1 (Hallway) @ xxx.xxx.xxx.xxx
> 17-02-17 21:14:42 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state light.hallway=on; brightness=255, rgb_color=[255, 255, 255], friendly_name=Hallway, supported_features=61 @ 2017-02-17T21:14:39.589802+00:00>, new_state=<state light.hallway=off; supported_features=61, friendly_name=Hallway @ 2017-02-17T21:14:42.574683+00:00>, entity_id=light.hallway>
> 17-02-17 21:14:42 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1975073776-4>
> 17-02-17 21:14:42 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1736092432: Sending {'type': 'event', 'event': {'event_type': 'state_changed', 'time_fired': datetime.datetime(2017, 2, 17, 21, 14, 42, 574843, tzinfo=<UTC>), 'data': {'entity_id': 'light.hallway', 'new_state': <state light.hallway=off; supported_features=61, friendly_name=Hallway @ 2017-02-17T21:14:42.574683+00:00>, 'old_state': <state light.hallway=on; brightness=255, rgb_color=[255, 255, 255], friendly_name=Hallway, supported_features=61 @ 2017-02-17T21:14:39.589802+00:00>}, 'origin': 'LOCAL'}, 'id': 2}
> 17-02-17 21:14:42 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state group.all_lights=on; friendly_name=All Lights, entity_id=('light.kitchen_inner', 'light.dining_room_table', 'light.hallway', 'light.kitchen_outer', 'light.main_light', 'light.f0fe6b1e2e5c', 'light.dining_room_outer'), auto=True, order=1, assumed_state=True @ 2017-02-17T21:14:39.623508+00:00>, new_state=<state group.all_lights=off; friendly_name=All Lights, entity_id=('light.kitchen_inner', 'light.dining_room_table', 'light.hallway', 'light.kitchen_outer', 'light.main_light', 'light.f0fe6b1e2e5c', 'light.dining_room_outer'), auto=True, order=1, assumed_state=True @ 2017-02-17T21:14:42.588861+00:00>, entity_id=group.all_lights>
> 17-02-17 21:14:42 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1736092432: Sending {'type': 'event', 'event': {'event_type': 'state_changed', 'time_fired': datetime.datetime(2017, 2, 17, 21, 14, 42, 588988, tzinfo=<UTC>), 'data': {'entity_id': 'group.all_lights', 'new_state': <state group.all_lights=off; friendly_name=All Lights, entity_id=('light.kitchen_inner', 'light.dining_room_table', 'light.hallway', 'light.kitchen_outer', 'light.main_light', 'light.f0fe6b1e2e5c', 'light.dining_room_outer'), auto=True, order=1, assumed_state=True @ 2017-02-17T21:14:42.588861+00:00>, 'old_state': <state group.all_lights=on; friendly_name=All Lights, entity_id=('light.kitchen_inner', 'light.dining_room_table', 'light.hallway', 'light.kitchen_outer', 'light.main_light', 'light.f0fe6b1e2e5c', 'light.dining_room_outer'), auto=True, order=1, assumed_state=True @ 2017-02-17T21:14:39.623508+00:00>}, 'origin': 'LOCAL'}, 'id': 2}
> 17-02-17 21:14:42 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1975073776-3>
> 17-02-17 21:14:42 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1736092432: Sending {'type': 'result', 'result': None, 'success': True, 'id': 10}
> 17-02-17 21:14:42 INFO (Thread-12) [homeassistant.components.device_tracker.nmap_tracker] nmap scan successful
> 17-02-17 21:14:42 INFO (Thread-17) [limitlessled.pipeline]  -> Running stage 'off()' on group 1 (Hallway) @ xxx.xxx.xxx.xxx
> 17-02-17 21:14:43 INFO (Thread-17) [limitlessled.pipeline] Finished pipeline on group 1 (Hallway) @ xxx.xxx.xxx.xxx

I am also getting the same “phantom” non responsive light listed which relates to my v6 bridge. I am using one of the ibox2 bridges so no lights on there.

17-02-17 21:13:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: platform=flux_led, service=load_platform.light, discovered=('xxx.xxx.xxx.xxx', 'F0FE6B1E2E5C', 'HF-LPB100')>

I have tested the lights using the limitelssledv6 exe from their dev site and can confirm i am running on the new standard UDP port.

Any ideas?

Please post your config.

Sure thing:

  - platform: limitlessled
    bridges:
    - host: 192.168.1.70
      groups:
      - number: 1
        name: Hallway
        type: rgbw

Not sure if it is important but the bulbs being controlled are labeled as GU10 RGB+CCT led spotlights.

Try rgbww as type. RGB+CCT is the new type of bulb if I see that right (with white color temperature adjustement).

1 Like

And that @touliloup is the missing piece!

Thank you, Working like a charm.

Is there a “color temprature” control tab on the HASS homepage with the latest RGBWW bulb?

Yes, there is colour, brightness and temperature.

Thanks. That’s cool ! I have a V5 milight wifi-bridge now, I will change it to V6!

Amazing work guys, just upgraded to the dev branch and finally put my V6 to use :smiley:

Please can someone post their config to the ibox LED to work?

  platform: limitlessled
  bridges:
    - host: !secret v6_host
      version: 6
      port: !secret v6_port
      bridge_led: true
      groups:
      - number: 1
        name: bridge
        type: bridge_led

With the above config hass fails to start light.limitlessled stating the following error in the log

17-02-19 12:32:53 ERROR (MainThread) [homeassistant.bootstrap] Invalid config for [light.limitlessled]: value is not allowed for dictionary value @ data[‘bridges’][0][‘groups’][0][‘type’]. Got ‘bridge_led’. (See ?, line ?). Please check the docs at LimitlessLED - Home Assistant

I have tested other bulb types such as white, rgbw and rgbww in the config commenting out the bridge-led and it all works as expected. :slight_smile:

Any ideas on how to the get the bridge LED running?

Hi! Thanks for your great work. I can controll my milight rgbw bulbs without any problems. But there is a problem :

I tried using transitions in a scene and that didn’t work at all. The lamps turned on, changed color and then stopped at the brightness they had the last time. After that they were frozen in that state and couldn’t even be controlled by HA after that. Is there a fix for that?

the bridge led do not need to be defined to a group to be controlled if I read the py file correct.

Hi @hhalibo ,

how the upgrade went ? And what benefit did you achieve ? As you mentioned you had v5 bridge, I assume you had the old hardware in that case. I am trying to understand what motivation could be there to upgrade to version 6. And one confusion, is this version 6 upgrade has anything to do with the Bridge firmware upgrade ?

I have 1 white group and 4 RGBW group in hass, all served from one bridge which was bought almost 8 months ago and works flawlessly with hass though the official app is crap, I would be very happy if I wont have any dependency with that app.

Thannks