Thank you for your help so far.
I didn’t change the version and I don’t know how I can do that. Can you describe it to me? Do you think this would work?
Thank you for your help so far.
I didn’t change the version and I don’t know how I can do that. Can you describe it to me? Do you think this would work?
Hi,
I reinstalled HASS. And I think I installed the fork correctly and changed the version. The improvement is that I can see a switch in my dashboard, no errors. But the switch doesn’t work yet. I tried to figure out what happens. With wireshark I sniffed on port 5987 (also 8899), but no traffic. I do see the right traffic when I use the testsoftware of limitlessled on windows and when I use the android app.
So it seems that HASS is not sending anything. Is there a log file or a way to debug the limitlessled script?
What do you see when you track the log of home-assistant?
Do you mean the /home/homeassistant/.homeassistant/home-assistant.log? That doesn’t show anything.
Edit:
Okay, I added logger: to my settingsfile. This is the output:
17-01-15 14:24:04 homeassistant.components.http: Serving /api/services/homeassistant/turn_off to 192.168.2.9 (auth: True)
17-01-15 14:24:04 homeassistant.core: Bus:Handling <Event call_service[L]: service_call_id=1977475760-27, domain=homeassistant, service=turn_off, service_data=entity_id=light.bathroom>
17-01-15 14:24:04 homeassistant.core: Bus:Handling <Event call_service[L]: service_call_id=1977475760-28, domain=light, service=turn_off, service_data=entity_id=[‘light.bathroom’]>
17-01-15 14:24:04 limitlessled.pipeline: Starting a new pipeline on group 1 (Bathroom) @ 192.168.2.10
17-01-15 14:24:04 homeassistant.core: Bus:Handling <Event state_changed[L]: old_state=<state light.bathroom=on; friendly_name=Bathroom, rgb_color=[255, 255, 255], supported_features=61, brightness=255 @ 2017-01-15T15:23:38.200731+01:00>, entity_id=light.bathroom, new_state=<state light.bathroom=off; supported_features=61, friendly_name=Bathroom @ 2017-01-15T15:24:04.684713+01:00>>
17-01-15 14:24:04 limitlessled.pipeline: -> Running stage ‘transition(0, brightness=0.0)’ on group 1 (Bathroom) @ 192.168.2.10
17-01-15 14:24:04 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=1977475760-28>
17-01-15 14:24:04 homeassistant.components.websocket_api: WS 1698093456: Sending {‘type’: ‘event’, ‘id’: 2, ‘event’: {‘time_fired’: datetime.datetime(2017, 1, 15, 14, 24, 4, 684949, tzinfo=), ‘data’: {‘old_state’: <state light.bathroom=on; friendly_name=Bathroom, rgb_color=[255, 255, 255], supported_features=61, brightness=255 @ 2017-01-15T15:23:38.200731+01:00>, ‘entity_id’: ‘light.bathroom’, ‘new_state’: <state light.bathroom=off; supported_features=61, friendly_name=Bathroom @ 2017-01-15T15:24:04.684713+01:00>}, ‘event_type’: ‘state_changed’, ‘origin’: ‘LOCAL’}}
17-01-15 14:24:04 homeassistant.core: Bus:Handling <Event state_changed[L]: old_state=<state group.all_lights=on; order=1, auto=True, hidden=True, entity_id=(‘light.bathroom’,), friendly_name=all lights @ 2017-01-15T15:23:38.221291+01:00>, entity_id=group.all_lights, new_state=<state group.all_lights=off; order=1, auto=True, hidden=True, entity_id=(‘light.bathroom’,), friendly_name=all lights @ 2017-01-15T15:24:04.701726+01:00>>
17-01-15 14:24:04 homeassistant.components.websocket_api: WS 1698093456: Sending {‘type’: ‘event’, ‘id’: 2, ‘event’: {‘time_fired’: datetime.datetime(2017, 1, 15, 14, 24, 4, 701968, tzinfo=), ‘data’: {‘old_state’: <state group.all_lights=on; order=1, auto=True, hidden=True, entity_id=(‘light.bathroom’,), friendly_name=all lights @ 2017-01-15T15:23:38.221291+01:00>, ‘entity_id’: ‘group.all_lights’, ‘new_state’: <state group.all_lights=off; order=1, auto=True, hidden=True, entity_id=(‘light.bathroom’,), friendly_name=all lights @ 2017-01-15T15:24:04.701726+01:00>}, ‘event_type’: ‘state_changed’, ‘origin’: ‘LOCAL’}}
17-01-15 14:24:04 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=1977475760-27>
17-01-15 14:24:04 limitlessled.pipeline: -> Running stage ‘off()’ on group 1 (Bathroom) @ 192.168.2.10
17-01-15 14:24:05 limitlessled.pipeline: Finished pipeline on group 1 (Bathroom) @ 192.168.2.10
17-01-15 14:24:05 homeassistant.components.http: Serving /api/services/homeassistant/turn_on to 192.168.2.9 (auth: True)
17-01-15 14:24:05 homeassistant.core: Bus:Handling <Event call_service[L]: service_call_id=1977475760-29, domain=homeassistant, service=turn_on, service_data=entity_id=light.bathroom>
17-01-15 14:24:05 homeassistant.core: Bus:Handling <Event call_service[L]: service_call_id=1977475760-30, domain=light, service=turn_on, service_data=entity_id=[‘light.bathroom’]>
17-01-15 14:24:05 limitlessled.pipeline: Starting a new pipeline on group 1 (Bathroom) @ 192.168.2.10
17-01-15 14:24:05 limitlessled.pipeline: -> Running stage ‘on()’ on group 1 (Bathroom) @ 192.168.2.10
17-01-15 14:24:05 homeassistant.core: Bus:Handling <Event state_changed[L]: old_state=<state light.bathroom=off; supported_features=61, friendly_name=Bathroom @ 2017-01-15T15:24:04.684713+01:00>, entity_id=light.bathroom, new_state=<state light.bathroom=on; friendly_name=Bathroom, rgb_color=[255, 255, 255], supported_features=61, brightness=255 @ 2017-01-15T15:24:05.765795+01:00>>
17-01-15 14:24:05 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=1977475760-30>
17-01-15 14:24:05 homeassistant.components.websocket_api: WS 1698093456: Sending {‘type’: ‘event’, ‘id’: 2, ‘event’: {‘time_fired’: datetime.datetime(2017, 1, 15, 14, 24, 5, 765945, tzinfo=), ‘data’: {‘old_state’: <state light.bathroom=off; supported_features=61, friendly_name=Bathroom @ 2017-01-15T15:24:04.684713+01:00>, ‘entity_id’: ‘light.bathroom’, ‘new_state’: <state light.bathroom=on; friendly_name=Bathroom, rgb_color=[255, 255, 255], supported_features=61, brightness=255 @ 2017-01-15T15:24:05.765795+01:00>}, ‘event_type’: ‘state_changed’, ‘origin’: ‘LOCAL’}}
17-01-15 14:24:05 homeassistant.core: Bus:Handling <Event state_changed[L]: old_state=<state group.all_lights=off; order=1, auto=True, hidden=True, entity_id=(‘light.bathroom’,), friendly_name=all lights @ 2017-01-15T15:24:04.701726+01:00>, entity_id=group.all_lights, new_state=<state group.all_lights=on; order=1, auto=True, hidden=True, entity_id=(‘light.bathroom’,), friendly_name=all lights @ 2017-01-15T15:24:05.774435+01:00>>
17-01-15 14:24:05 homeassistant.components.websocket_api: WS 1698093456: Sending {‘type’: ‘event’, ‘id’: 2, ‘event’: {‘time_fired’: datetime.datetime(2017, 1, 15, 14, 24, 5, 774593, tzinfo=), ‘data’: {‘old_state’: <state group.all_lights=off; order=1, auto=True, hidden=True, entity_id=(‘light.bathroom’,), friendly_name=all lights @ 2017-01-15T15:24:04.701726+01:00>, ‘entity_id’: ‘group.all_lights’, ‘new_state’: <state group.all_lights=on; order=1, auto=True, hidden=True, entity_id=(‘light.bathroom’,), friendly_name=all lights @ 2017-01-15T15:24:05.774435+01:00>}, ‘event_type’: ‘state_changed’, ‘origin’: ‘LOCAL’}}
17-01-15 14:24:05 homeassistant.core: Bus:Handling <Event service_executed[L]: service_call_id=1977475760-29>
17-01-15 14:24:06 limitlessled.pipeline: -> Running stage ‘white()’ on group 1 (Bathroom) @ 192.168.2.10
17-01-15 14:24:07 limitlessled.pipeline: -> Running stage ‘transition(0, color=Color(R=255, G=255, B=255), brightness=1.0)’ on group 1 (Bathroom) @ 192.168.2.10
17-01-15 14:24:07 limitlessled.pipeline: Finished pipeline on group 1 (Bathroom) @ 192.168.2.10
17-01-15 14:24:08 homeassistant.components.http: Serving /api/error_log to 192.168.2.9 (auth: True)
Restart and check the log again. Problem are likely to appear when limitlessled module is initialized
Try first with the bridge-led in group 1 to see if you can control the bridge.
Okay, the problem is that I have a bridge without a LED, just a gateway.
This is my log when I restart
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=logger>
17-01-15 14:42:15 homeassistant.bootstrap: Setting up conversation
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=conversation, service=process>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=conversation>
17-01-15 14:42:15 homeassistant.bootstrap: Setting up discovery
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=discovery>
17-01-15 14:42:15 homeassistant.bootstrap: Setting up sun
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sun.sun, new_state=<state sun.sun=above_horizon; friendly_name=Sun, elevation=0, azimuth=0, next_rising=2017-01-16T07:38:49+00:00, next_setting=2017-01-15T15:57:04+00:00 @ 2017-01-15T15:42:15.471197+01:00>, old_state=None>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=sun>
17-01-15 14:42:15 homeassistant.bootstrap: Setting up http
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=http>
17-01-15 14:42:15 homeassistant.loader: Loaded tts.google from homeassistant.components.tts.google
17-01-15 14:42:15 homeassistant.bootstrap: Setting up tts
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=tts, service=google_say>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=tts, service=clear_cache>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=tts>
17-01-15 14:42:15 homeassistant.loader: Loaded switch.mqtt from homeassistant.components.switch.mqtt
17-01-15 14:42:15 homeassistant.bootstrap: Setting up mqtt
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=mqtt, service=publish>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=mqtt>
17-01-15 14:42:15 homeassistant.bootstrap: Component mqtt already set up.
17-01-15 14:42:15 homeassistant.bootstrap: Setting up switch
17-01-15 14:42:15 homeassistant.bootstrap: Component mqtt already set up.
17-01-15 14:42:15 homeassistant.bootstrap: Component mqtt already set up.
17-01-15 14:42:15 homeassistant.components.switch: Setting up switch.mqtt
17-01-15 14:42:15 homeassistant.components.switch: Setting up switch.mqtt
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=switch.hobbyroom_switch, new_state=<state switch.hobbyroom_switch=off; friendly_name=hobbyroom_switch @ 2017-01-15T15:42:15.877570+01:00>, old_state=None>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_switches, new_state=<state group.all_switches=off; auto=True, entity_id=(‘switch.hobbyroom_switch’,), hidden=True, order=0, friendly_name=all switches @ 2017-01-15T15:42:15.882859+01:00>, old_state=None>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=switch.bedroom_switch, new_state=<state switch.bedroom_switch=off; friendly_name=bedroom_switch @ 2017-01-15T15:42:15.887006+01:00>, old_state=None>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_switches, new_state=None, old_state=<state group.all_switches=off; auto=True, entity_id=(‘switch.hobbyroom_switch’,), hidden=True, order=0, friendly_name=all switches @ 2017-01-15T15:42:15.882859+01:00>>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_switches, new_state=<state group.all_switches=off; auto=True, entity_id=(‘switch.hobbyroom_switch’, ‘switch.bedroom_switch’), hidden=True, order=0, friendly_name=all switches @ 2017-01-15T15:42:15.895211+01:00>, old_state=None>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=switch, service=turn_off>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=switch, service=turn_on>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=switch, service=toggle>
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=switch>
17-01-15 14:42:15 homeassistant.bootstrap: Setting up api
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=api>
17-01-15 14:42:15 homeassistant.bootstrap: Setting up websocket_api
17-01-15 14:42:15 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=websocket_api>
17-01-15 14:42:16 homeassistant.bootstrap: Setting up frontend
17-01-15 14:42:16 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=frontend>
17-01-15 14:42:16 homeassistant.bootstrap: Setting up history
17-01-15 14:42:16 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=history>
17-01-15 14:42:16 homeassistant.loader: Loaded sensor.yr from homeassistant.components.sensor.yr
17-01-15 14:42:16 homeassistant.loader: Loaded sensor.mqtt from homeassistant.components.sensor.mqtt
17-01-15 14:42:16 homeassistant.bootstrap: Component mqtt already set up.
17-01-15 14:42:16 homeassistant.bootstrap: Setting up sensor
17-01-15 14:42:16 homeassistant.bootstrap: Component mqtt already set up.
17-01-15 14:42:16 homeassistant.components.sensor: Setting up sensor.mqtt
17-01-15 14:42:16 homeassistant.components.sensor: Setting up sensor.yr
17-01-15 14:42:16 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.temperature, new_state=<state sensor.temperature=unknown; friendly_name=Temperature, unit_of_measurement=°C @ 2017-01-15T15:42:16.177742+01:00>, old_state=None>
17-01-15 14:42:16 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.yr_symbol, new_state=<state sensor.yr_symbol=unknown; friendly_name=yr Symbol, entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK. @ 2017-01-15T15:42:16.181510+01:00>, old_state=None>
17-01-15 14:42:16 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sensor.yr_symbol, new_state=<state sensor.yr_symbol=3; friendly_name=yr Symbol, entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=3;content_type=image/png, attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK. @ 2017-01-15T15:42:16.758899+01:00>, old_state=<state sensor.yr_symbol=unknown; friendly_name=yr Symbol, entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK. @ 2017-01-15T15:42:16.181510+01:00>>
17-01-15 14:42:16 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=sensor>
17-01-15 14:42:16 homeassistant.bootstrap: Setting up updater
17-01-15 14:42:16 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=updater>
17-01-15 14:42:16 homeassistant.loader: Loaded light.limitlessled from homeassistant.components.light.limitlessled
17-01-15 14:42:16 homeassistant.bootstrap: Setting up light
17-01-15 14:42:16 homeassistant.components.light: Setting up light.limitlessled
17-01-15 14:42:16 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=light.bathroom, new_state=<state light.bathroom=off; friendly_name=Bathroom, supported_features=61 @ 2017-01-15T15:42:16.980581+01:00>, old_state=None>
17-01-15 14:42:16 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, new_state=<state group.all_lights=off; auto=True, entity_id=(‘light.bathroom’,), hidden=True, order=1, friendly_name=all lights @ 2017-01-15T15:42:16.983568+01:00>, old_state=None>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=light, service=turn_on>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=light, service=turn_off>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=light, service=toggle>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=light>
17-01-15 14:42:17 homeassistant.bootstrap: Setting up logbook
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=logbook, service=log>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=logbook>
17-01-15 14:42:17 homeassistant.bootstrap: Setting up group
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.woonkamer_view, new_state=<state group.woonkamer_view=unknown; friendly_name=Woonkamer, entity_id=(‘group.woonkamer’,), hidden=True, order=2, view=True @ 2017-01-15T15:42:17.130827+01:00>, old_state=None>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.slaapkamer_view, new_state=<state group.slaapkamer_view=unknown; friendly_name=Slaapkamer, entity_id=(‘group.slaapkamer’,), hidden=True, order=3, view=True @ 2017-01-15T15:42:17.133639+01:00>, old_state=None>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.woonkamer, new_state=<state group.woonkamer=off; friendly_name=Woonkamer, entity_id=(‘switch.bedroom_switch’,), order=4 @ 2017-01-15T15:42:17.136205+01:00>, old_state=None>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.slaapkamer, new_state=<state group.slaapkamer=off; friendly_name=Slaapkamer, entity_id=(‘switch.hobbyroom_switch’,), order=5 @ 2017-01-15T15:42:17.138976+01:00>, old_state=None>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.slaapkamer_view, new_state=<state group.slaapkamer_view=off; friendly_name=Slaapkamer, entity_id=(‘group.slaapkamer’,), hidden=True, order=3, view=True @ 2017-01-15T15:42:17.142806+01:00>, old_state=<state group.slaapkamer_view=unknown; friendly_name=Slaapkamer, entity_id=(‘group.slaapkamer’,), hidden=True, order=3, view=True @ 2017-01-15T15:42:17.133639+01:00>>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.woonkamer_view, new_state=<state group.woonkamer_view=off; friendly_name=Woonkamer, entity_id=(‘group.woonkamer’,), hidden=True, order=2, view=True @ 2017-01-15T15:42:17.146457+01:00>, old_state=<state group.woonkamer_view=unknown; friendly_name=Woonkamer, entity_id=(‘group.woonkamer’,), hidden=True, order=2, view=True @ 2017-01-15T15:42:17.130827+01:00>>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=group, service=set_visibility>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=group, service=reload>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=group>
17-01-15 14:42:17 homeassistant.loader: Loaded automation.time from homeassistant.components.automation.time
17-01-15 14:42:17 homeassistant.bootstrap: Setting up automation
17-01-15 14:42:17 homeassistant.components.automation: Initialized trigger Turn off Mediacenter
17-01-15 14:42:17 homeassistant.components.automation: Initialized trigger Turn on Mediacenter
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=automation.turn_on_mediacenter, new_state=<state automation.turn_on_mediacenter=on; friendly_name=Turn on Mediacenter, last_triggered=None @ 2017-01-15T15:42:17.379610+01:00>, old_state=None>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=automation.turn_off_mediacenter, new_state=<state automation.turn_off_mediacenter=on; friendly_name=Turn off Mediacenter, last_triggered=None @ 2017-01-15T15:42:17.382372+01:00>, old_state=None>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_automations, new_state=<state group.all_automations=on; auto=True, entity_id=(‘automation.turn_on_mediacenter’, ‘automation.turn_off_mediacenter’), hidden=True, order=6, friendly_name=all automations @ 2017-01-15T15:42:17.385638+01:00>, old_state=None>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=automation, service=trigger>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=automation, service=reload>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=automation, service=toggle>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=automation, service=turn_on>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=automation, service=turn_off>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event component_loaded[L]: component=automation>
17-01-15 14:42:17 homeassistant.core: Starting Home Assistant core loop
17-01-15 14:42:17 homeassistant.core: Starting Home Assistant
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=homeassistant, service=stop>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event service_registered[L]: domain=homeassistant, service=restart>
17-01-15 14:42:17 homeassistant.core: Bus:Handling <Event homeassistant_start[L]>
17-01-15 14:42:17 homeassistant.core: Timer:starting
17-01-15 14:42:17 netdisco.service: Scanning
17-01-15 14:42:27 homeassistant.components.mqtt: Received message on stat/sonoff/POWER: ON
17-01-15 14:42:27 homeassistant.core: Bus:Handling <Event mqtt_message_received[L]: payload=ON, qos=0, topic=stat/sonoff/POWER>
17-01-15 14:42:27 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=switch.bedroom_switch, new_state=<state switch.bedroom_switch=on; friendly_name=bedroom_switch @ 2017-01-15T15:42:27.634836+01:00>, old_state=<state switch.bedroom_switch=off; friendly_name=bedroom_switch @ 2017-01-15T15:42:15.887006+01:00>>
17-01-15 14:42:27 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.all_switches, new_state=<state group.all_switches=on; auto=True, entity_id=(‘switch.hobbyroom_switch’, ‘switch.bedroom_switch’), hidden=True, order=0, friendly_name=all switches @ 2017-01-15T15:42:27.638208+01:00>, old_state=<state group.all_switches=off; auto=True, entity_id=(‘switch.hobbyroom_switch’, ‘switch.bedroom_switch’), hidden=True, order=0, friendly_name=all switches @ 2017-01-15T15:42:15.895211+01:00>>
17-01-15 14:42:27 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.woonkamer, new_state=<state group.woonkamer=on; friendly_name=Woonkamer, entity_id=(‘switch.bedroom_switch’,), order=4 @ 2017-01-15T15:42:27.641234+01:00>, old_state=<state group.woonkamer=off; friendly_name=Woonkamer, entity_id=(‘switch.bedroom_switch’,), order=4 @ 2017-01-15T15:42:17.136205+01:00>>
17-01-15 14:42:27 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=group.woonkamer_view, new_state=<state group.woonkamer_view=on; friendly_name=Woonkamer, entity_id=(‘group.woonkamer’,), hidden=True, order=2, view=True @ 2017-01-15T15:42:27.644564+01:00>, old_state=<state group.woonkamer_view=off; friendly_name=Woonkamer, entity_id=(‘group.woonkamer’,), hidden=True, order=2, view=True @ 2017-01-15T15:42:17.146457+01:00>>
17-01-15 14:42:29 homeassistant.components.discovery: Found new service: kodi (‘192.168.2.71’, 8080)
17-01-15 14:42:30 homeassistant.core: Bus:Handling <Event state_changed[L]: entity_id=sun.sun, new_state=<state sun.sun=above_horizon; friendly_name=Sun, elevation=7.79, azimuth=220.44, next_rising=2017-01-16T07:38:49+00:00, next_setting=2017-01-15T15:57:04+00:00 @ 2017-01-15T15:42:15.471197+01:00>, old_state=<state sun.sun=above_horizon; friendly_name=Sun, elevation=0, azimuth=0, next_rising=2017-01-16T07:38:49+00:00, next_setting=2017-01-15T15:57:04+00:00 @ 2017-01-15T15:42:15.471197+01:00>>
17-01-15 14:42:33 homeassistant.components.http: Serving / to 192.168.2.9 (auth: True)
17-01-15 14:42:33 homeassistant.components.http: Serving /api/bootstrap to 192.168.2.9 (auth: True)
17-01-15 14:42:35 homeassistant.components.http: Serving /api/websocket to 192.168.2.9 (auth: True)
17-01-15 14:42:35 homeassistant.components.websocket_api: WS 1829301712: Connected
17-01-15 14:42:35 homeassistant.components.websocket_api: WS 1829301712: Sending {‘ha_version’: ‘0.35.3’, ‘type’: ‘auth_ok’}
17-01-15 14:42:35 homeassistant.components.websocket_api: WS 1829301712: Received {‘event_type’: ‘state_changed’, ‘type’: ‘subscribe_events’, ‘id’: 2}
17-01-15 14:42:35 homeassistant.components.websocket_api: WS 1829301712: Sending {‘success’: True, ‘result’: None, ‘type’: ‘result’, ‘id’: 2}
17-01-15 14:42:35 homeassistant.components.websocket_api: WS 1829301712: Received {‘event_type’: ‘component_loaded’, ‘type’: ‘subscribe_events’, ‘id’: 3}
17-01-15 14:42:35 homeassistant.components.websocket_api: WS 1829301712: Sending {‘success’: True, ‘result’: None, ‘type’: ‘result’, ‘id’: 3}
17-01-15 14:42:35 homeassistant.components.websocket_api: WS 1829301712: Received {‘event_type’: ‘service_registered’, ‘type’: ‘subscribe_events’, ‘id’: 4}
17-01-15 14:42:35 homeassistant.components.websocket_api: WS 1829301712: Sending {‘success’: True, ‘result’: None, ‘type’: ‘result’, ‘id’: 4}
17-01-15 14:42:35 homeassistant.components.http: Serving /api/error_log to 192.168.2.9 (auth: True)
I installed the fork, which worked. Then I decided to update to 0.36, and now limitlessled doesn’t work at all. The lights don’t show up, but there also aren’t any errors… Could I just re-install HASS without losing my .homeassistant folder and configurations?
You might have to reinstall the fork. I’m using v0.36 with limitlessled v6 without problem.
You can reinstall HASS, you only need to save the yaml data (configuration, know_device, plex, …) from .homeassistant. deps folder is not needed.
Of course you’ll have to reinstall the fork and change the component again.
I must be doing something wrong. Still no working setup. I installed the fork this way:
I cloned the repo in /srv/homeassistant/homeassistant_venv/
Then I installed it: (homeassistant_venv) homeassistant@raspberrypi:/srv/homeassistant/homeassistant_venv/python-limitlessled-master $ python3 setup.py install
After that I modified /srv/homeassistant/homeassistant_venv/site-packages/homeassistant/components/light/limitlessled.py
DEFAULT_LED_TYPE = ‘rgbw’
DEFAULT_PORT = 5987
DEFAULT_TRANSITION = 0
DEFAULT_VERSION = 6
LED_TYPE = [‘rgbw’, ‘white’, ‘rgbww’, ‘bridge-led’]
light:
platform: limitlessled
bridges:
- host: 192.168.2.10
groups:
- number: 1
name: bathroom
type: white
Try to install the fork using pip (make sure to remove limitlessled first).
pip3 install -e /srv/homeassistant/homeassistant_venv/python-limitlessled-master
If this still doesn’t work, change the version to 1.0.3 in setup.py and in homeassistant/components/light/limitlessled.py
Then install limitlessled again (make sure pip give you a message about limitlessled 1.0.3 being installed), and restart home-assistant. This way you’ll know if the fork is not installed properly.
It does seem to work now again, at least for the rgbw-bulbs I have. The rgbww and bridge-led aren’t showing up, but also nothing in the logs. I’m using the latest version of the soldag-version… My config:
- platform: limitlessled
bridges:
- host: 192.168.39.11
groups:
- number: 1
name: group_1
type: rgbw
- number: 2
name: group_2
type: rgbww
Your bridge won’t show up if it’s not configured ^^
- number: 1
name: bridge
type: bridge-led
For the rgbww I’m not sure, it should work. And working or not, it should show in your home-assistant web interface.
They are also available from aliexpress (for cheap)(Milight RGBWW)!
I think that there is a small confusion here, the RGBWW available on Aliexpress are the RBG + warm white bulb that was already supported in v5 and previously under the type rgbw.
The new RGBCW/WW (type rgbww in the library) are RGB bulb with Warm white and Cold white at the same time!
They let you choose the temperature of the white light. On the older RGBW or RGBWW you had to choose if you wanted warm or cold white when buying them.
Another difference is that the white light can be emitted at the same time with colored light. Whereas on the older RGBW bulb, you could only light up one of the two type of light (RGB or white).
BTW I’m wondering, how is the white color temperature selection represented in HASS UI? Can someone make a screen-shot of RGBCW+WW UI panel?
Edit: Also found them on Aliexpress for 15€.
Thank you very much for your help again.
Okay I will try it with pip3 tonight (at work right now). Can you tell me what is the difference is with python install?
Btw, I am using this hub https://www.aliexpress.com/item/2-4G-Wifi-led-controller-mini-wifi-led-controller-with-iOS-5-0-or-Android/1983705141.html?scm=1007.13338.50051.0&pvid=425e4ac1-1b89-4d55-93bf-55aa465188ae&tpp=1
It basically do the same but pip does it better (especially in virtual env) ^^
I found my problem. The groups for the rgbww and rgbw are separated since a few commits. I had to update my limitlessled.py a little more, by creating a separate LimitlessRGBWWGroup (changes start on line 165 and 301):
The current issue I’m having now is that when the rgbww bulb is turned on, it always is cold-white. I will try to fix this.
Aha, okay, will try that. You said I should remove limitlessled first. What do you mean with that?
And if it doesn’t work I should change the version. You mean the text in setup.py?
Sorry for all my questions. I learn alot when things don’t work :).
That: pip3 uninstall limitlessled
Yes change the version in setup.py and in homeassistant/components/light/limitlessled.py:
change
REQUIREMENTS = ['limitlessled==1.0.2']
to
REQUIREMENTS = ['limitlessled==1.0.3']