I am trying to set my LED-stripe with the MiLight adapter and the MiLight WiFi-Box. HA recognizes my stripe as it appears correctly in my groups and entities. But I cannot control the stripe (only via app).
Might the type be wrong? I can adjust the temperature and the brightness… but I can’t modify any colors… So I guess “white” is the way to go.
In the logs aren’t any errors:
2017-10-07 19:10:52 INFO (Thread-17) [limitlessled.pipeline] Starting a new pipeline on group 1 (Bettlicht) @ 192.168.0.156
2017-10-07 19:10:52 INFO (Thread-17) [limitlessled.pipeline] -> Running stage 'on()' on group 1 (Bettlicht) @ 192.168.0.156
2017-10-07 19:10:53 INFO (Thread-17) [limitlessled.pipeline] -> Running stage 'transition(0, brightness=1.0, temperature=1.0)' on group 1 (Bettlicht) @ 192.168.0.156
2017-10-07 19:10:53 INFO (Thread-17) [limitlessled.pipeline] Finished pipeline on group 1 (Bettlicht) @ 192.168.0.156
Are you sure the IP address is correct? It’s a good idea to set a static IP address to the Box. Second thing. Have you tried using the MiLight app? Is it functioning well?
You have to set up the app separately from the remote. If your remote is working (say, on button 1 you have your bed light), that doesn’t mean your button 1 on the WiFi Bridge is connected to bed light as well.
So, my advice would be to check the IP address and then to pair the bulbs to the bridge again. Disconnect the bulb, connect it, and within the first 3 seconds click the on button in Home Assistant.
The IP seems to be right. I can access the MilLght’s configuration via browser.
Also the app is working well. Everything as it should be: brightness and temperature.
Unfortunately I don’t understand your last hints.
I have connected a LED-stripe to a MiLight-Controller. This one I paired with the MiLight Wifi-Bridge. Both are working well with the app. But the last step does nothing: My button in Home Assistant is a simple “shut-the-lights-on-and-off” switch.
I have the same problem, i think the python-limitlessled does not support it. Next week i will capture some network between the app and the ibox 2. hopefully i can see some messages i can use to include in the python-limitlessled lib.
Awesome, thanks! Looking forward for your change to be integrated officially!
I might test it tomorrow manually and report back. Is there any github-way to test this? Otherwise I would just edit the limitlessled.py and see what happens.
Ok, I edited the limitlessled.py and get the following error:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 171, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 352, in wait_for
return fut.result()
File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/light/limitlessled.py", line 121, in setup_platform
group_conf.get(CONF_TYPE, DEFAULT_LED_TYPE))
File "/srv/homeassistant/lib/python3.6/site-packages/limitlessled/bridge.py", line 154, in add_group
group = group_factory(self, number, name, led_type)
File "/srv/homeassistant/lib/python3.6/site-packages/limitlessled/bridge.py", line 50, in group_factory
return DimmerGroup(bridge, number, name)
File "/srv/homeassistant/lib/python3.6/site-packages/limitlessled/group/dimmer.py", line 25, in __init__
super().__init__(bridge, number, name, DIMMER)
File "/srv/homeassistant/lib/python3.6/site-packages/limitlessled/group/__init__.py", line 57, in __init__
self._command_set = command_set_factory(bridge, number, led_type)
File "/srv/homeassistant/lib/python3.6/site-packages/limitlessled/group/commands/__init__.py", line 30, in command_set_factory
raise ValueError('There is no command set for '
ValueError: There is no command set for specified bridge version and led type.
Any ideas? I’ll try to look into this more tomorrow.
I have Mi-Light iBox2 and a Mi-Light RGBW Bulb connected to it. I can control the bulb via the app. I cannot get it to work within Home Assistant. I do not get any errors, the bulb just isnt reacting…