home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.55k stars 30.72k forks source link

Limitlessled 0.39.0 #6235

Closed 1337hium closed 7 years ago

1337hium commented 7 years ago

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version): 0.39.0

Python release (python3 --version): Python 3.5.2

Component/platform: LimitlessLED

Description of problem: Since upgrading to 39.0 my Limitlessled Lights don't work anymore

Expected: Working lights ;)

Problem-relevant configuration.yaml entries and steps to reproduce:

platform: limitlessled
bridges:
  - host: 192.168.1.91
    groups:
    - number: 1
      type: rgbw
      name: Links
    - number: 2
      type: rgbw
      name: Mitte Links
    - number: 3
      type: rgbw
      name: Mitte Rechts
    - number: 4
      type: rgbw
      name: Rechts
  - host: 192.168.1.71
    groups:
    - number: 1
      type: rgbw
      name: Schlafzimmer
    - number: 2
      type: rgbw
      name: Buero
    - number: 3
      type: rgbw
      name: Kueche
    - number: 4
      type: rgbw
      name: Bad

Traceback (if applicable):

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
    entity_platform.add_entities, discovery_info
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/light/limitlessled.py", line 112, in setup_platform
    version=bridge_conf.get(CONF_VERSION, DEFAULT_VERSION))
  File "/root/.homeassistant/deps/limitlessled/bridge.py", line 99, in __init__
    self._init_connection()
  File "/root/.homeassistant/deps/limitlessled/bridge.py", line 206, in _init_connection
    self._socket.recv_into(response)
ConnectionRefusedError: [Errno 111] Connection refused

Additional info:

1337hium commented 7 years ago

Downgraded to 0.38.4 and the Lights work again

Danielhiversen commented 7 years ago

From the release notes:

Breaking changes: Limitlessled support for Bridge v6 and RGBWW bulbs require users to specify version and `port

Paxy commented 7 years ago

Had the same issue with MiLights. Following conf resolved the issue:

MiLight

light: platform: limitlessled bridges:

1337hium commented 7 years ago

oh damn :( Sorry guys, it works now