Component for deep integration LedFx from Home Assistant.

Related tags

Hardware hass-ledfx
Overview

LedFX for Home Assistant

hacs_badge donate paypal donate tinkoff

Component for deep integration LedFx from Home Assistant.

Table of Contents

FAQ

Q. What versions were tested on?

A. So far only 0.10.7

Q. Does it support audio settings?

A. Yes, it supports

Q. Can I change the effect settings?

A. You can, for this, enable the appropriate mode from the [PRO] section. The required objects will only be available when supported by the effect.

Install

Installed through the custom repository HACS - dmamontov/hass-ledfx

Or by copying the ledfx folder from the latest release to the custom_components folder (create if necessary) of the configs directory.

Config

Via GUI (Recommended)

Settings > Integrations > Plus > LedFx

For authorization, enter the ip address and port ledfx

Via YAML (legacy way)

ledfx:
  ip_address: 127.0.0.1
  port: 8888
  scan_interval: 10 # Refresh rate in seconds [PRO]
  timeout: 5 # Request timeout in seconds [PRO]
  ext_effect_settings: False # Advanced effect settings [PRO]
  ext_sensors: False # Additional sensors for device settings [PRO]

Performance

Documentation in progress

Comments
  • Does not connect to the Led F X addon and the switches have no feedback

    Does not connect to the Led F X addon and the switches have no feedback

    OS: Home Assistant OS 7.0 Core: 2021.12.2 Supervisor: 2021.12.2 Led FX addon: ledfx Current version: 7d13080


    Thank you for your integration, but there are problems with it

    1. It is not possible to connect to the Led FX addon
    2. The buttons have no feedback (I decided this in my own way and the answer is below)

    About the Led FX addon

    This integration can easily connect to the Led FX server that runs on Windows \ Ubuntu Server 20.04 LTS, but it cannot connect to the LedFX addon on Home Assistant and, accordingly, I cannot control the scenes. I created issues here


    About switches

    I can choose scenes through lighting, but in the integration there are also switches for turning on scenes and they just turn on any scene and do not show the real status. I made switches for myself that show the real status of the selected scene. Can you add feedback to your integration to turn scenes on and off?

    Here I have described everything in detail what and how I did it. This works if Led FX is on Windows \ Ubuntu Server 20.04 LTS,

    In the case of Windows \ Ubuntu Server 20.04 LTS, all this works fine, I attach videos \ screenshots and the code itself for the feedback switches

    Screenshots

    image image image image

    Switches - code
    switch:
      - platform: command_line
        switches:
          ledfx_scene_visualiser_blade_power:
            friendly_name: "LedFX Visualiser BladePower"
            command_timeout : 10
            icon_template: mdi:music
            command_on: curl -L -X PUT 'http://192.168.5.27:8888/api/scenes' --data-raw '{"id":"blade-power","action":"activate"}'
            command_off: curl -L -X PUT 'http://192.168.5.27:8888/api/scenes' --data-raw '{"id":"music-off","action":"activate"}'
            command_state: curl -X GET 'http://192.168.5.27:8888/api/devices' | grep 'blade_power(Reactive)'
    
      - platform: command_line
        switches:
          ledfx_scene_visualiser_bands:
            friendly_name: "LedFX Visualiser Bands"
            command_timeout : 10
            icon_template: mdi:music
            command_on: curl -L -X PUT 'http://192.168.5.27:8888/api/scenes' --data-raw '{"id":"bands","action":"activate"}'
            command_off: curl -L -X PUT 'http://192.168.5.27:8888/api/scenes' --data-raw '{"id":"music-off","action":"activate"}'
            command_state: curl -X GET 'http://192.168.5.27:8888/api/devices' | grep 'bands(Reactive)'
    
      - platform: command_line
        switches:
          ledfx_scene_visualiser_energy:
            friendly_name: "LedFX Visualiser Energy"
            command_timeout : 10
            icon_template: mdi:music
            command_on: curl -L -X PUT 'http://192.168.5.27:8888/api/scenes' --data-raw '{"id":"energy","action":"activate"}'
            command_off: curl -L -X PUT 'http://192.168.5.27:8888/api/scenes' --data-raw '{"id":"music-off","action":"activate"}'
            command_state: curl -X GET 'http://192.168.5.27:8888/api/devices' | grep 'energy(Reactive)'
    

    https://user-images.githubusercontent.com/64090632/146373859-88c43d17-6113-46da-8f5f-736e67d4f134.mp4

    opened by DivanX10 18
  • entity are not available (after update to 2.0.0) [BUG]

    entity are not available (after update to 2.0.0) [BUG]

    My setup:

    • HASS version: 2022.7.6
    • Component version 2.0.0
    • LedFx version 0.10.7

    After i updated your great tool (via HACS) to 2.0.0, all related new entity are not available: 417B150E-0B0C-425F-8871-A608039C8FF2

    Before i update, i delet the integration and reboot. 🤷🏻

    bug 
    opened by YvesZH 14
  • Buttons not active for new LEDfx sessions

    Buttons not active for new LEDfx sessions

    Thank you for taking time to make this add-on, im using it ever since the first release.

    I have many LEDFX sessions running... some of them passive and only activated when i switch on my MAC as such, But the interface in integrations doesn't reload the buttons once the LEDfx is active. Any way you to reconnect once the session is online. Appreciate your insight.

    enhancement 
    opened by PrathikGopal 8
  • No connection

    No connection

    Have LEDfx installed and running on a Mac. I can connect via an Ipad using the my mac's ip address. When entering the ip address and port on the integration I get .. "There is no connection. Check if the data is correct"

    opened by steveof2620 5
  • Add the led fx integration name before the entity

    Add the led fx integration name before the entity

    Can you add the Led FX integration name to your integration before the entity name? This is necessary to eliminate confusion about what the entity is and what it is responsible for

    This is what the name of the WLED entity looks like image

    This is what the name of the WLED entity looks like through Led FX integration. Where you can see that the number 2 is at the end, which is not very correct. It would be necessary to make the led fx_ stand in front of any entity, so that it looks like this light.ledfx_wled_monitor image


    Of course I can rename the devices in the LedFX addon itself, but it would probably be better if for some reason the devices were not renamed or forgot to rename them, then before the entity name should be added ledfx

    image image

    enhancement 
    opened by DivanX10 5
  • Example Lovelace card not working?

    Example Lovelace card not working?

    Hi there!

    I've gotten everything seemingly set up but im running into an issue. The lovelace card I cannot get to work for the life of me. (Not sure what the issue is, I am also new to HA)

    https://imgur.com/a/p91xES0

    Thanks for the help!

    opened by commodapse0q 4
  • Excessive log writeout

    Excessive log writeout

    I noticed another thing today, found the HA logs are flooded with the below for every 10 seconds since last install. TIA for looking into this.

    2022-01-22 21:23:34 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 21:23:44 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 21:23:53 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 21:24:03 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 21:24:13 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:12:44 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:12:54 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:13:04 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:13:14 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:13:24 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:13:34 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:13:44 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:13:54 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:14:04 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:14:14 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:14:24 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:14:34 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:14:44 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:14:54 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:15:04 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:15:14 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:15:24 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:15:34 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:15:44 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:15:54 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:16:04 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:16:14 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:16:24 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:16:35 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:16:44 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:16:54 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:17:04 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:17:14 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:17:24 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:17:34 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:17:44 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:17:54 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:18:04 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:18:14 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:18:24 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:18:34 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:18:44 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:18:54 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:19:04 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:19:14 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:19:24 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:19:34 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:19:44 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:19:54 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:20:04 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:20:14 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:20:24 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:20:35 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:20:45 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:20:54 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:21:04 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:21:14 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:21:24 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:21:34 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:21:44 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:21:54 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:22:04 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:22:14 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError() 2022-01-22 22:22:24 ERROR (MainThread) [custom_components.ledfx.core.worker] ERROR LedFx connection error (192.168.0.2:8888) LedFxConnectionError()

    enhancement 
    opened by PrathikGopal 4
  • Не могу добавить интеграцию LedFX - Unknown error occurred

    Не могу добавить интеграцию LedFX - Unknown error occurred

    Нельзя авторизироваться без логина и пароля, но можно зайти, указав любой пароль

    image

    В аддоне LedFX включено разрешение для авторизации

    certfile: fullchain.pem
    keyfile: privkey.pem
    ssl: false
    leave_front_door_open: true
    
    Первый лог
    Logger: aiohttp.server
    Source: custom_components/ledfx/config_flow.py:54
    Integration: LedFx (documentation, issues)
    First occurred: 22:04:55 (1 occurrences)
    Last logged: 22:04:55
    
    Error handling request
    Traceback (most recent call last):
      File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
        resp = await request_handler(request)
      File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
        resp = await handler(request)
      File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
        return await handler(request)
      File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
        return await handler(request)
      File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
        return await handler(request)
      File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
        return await handler(request)
      File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
        return await handler(request)
      File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
        return await handler(request)
      File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
        result = await result
      File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 157, in post
        return await super().post(request, flow_id)
      File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
        result = await method(view, request, *args, **kwargs)
      File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
        result = await self._flow_mgr.async_configure(flow_id, data)
      File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in async_configure
        result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
      File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
        result: FlowResult = await getattr(flow, method)(user_input)
      File "/config/custom_components/ledfx/config_flow.py", line 54, in async_step_auth
        user_input[CONF_USERNAME]
    KeyError: 'username'
    
    Второй лог
    2022-01-26 22:04:10 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:04:10 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:04:20 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:04:20 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:04:30 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:04:30 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:04:40 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:04:40 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:04:50 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:04:50 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:04:55 ERROR (MainThread) [aiohttp.server] Error handling request
    Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
    File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
    File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
    result = await result
    File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 157, in post
    return await super().post(request, flow_id)
    File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
    result = await method(view, request, *args, **kwargs)
    File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
    File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
    File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
    File "/config/custom_components/ledfx/config_flow.py", line 54, in async_step_auth
    user_input[CONF_USERNAME]
    KeyError: 'username'
    2022-01-26 22:05:00 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:05:00 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:05:10 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:05:10 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:05:20 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:05:20 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:05:30 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:05:30 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:05:40 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:05:40 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:05:50 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:05:50 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:06:00 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:06:00 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:06:10 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:06:10 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:06:20 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:06:20 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:06:30 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:06:30 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:06:40 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:06:40 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:06:50 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:06:50 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:07:00 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:07:00 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:07:10 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:07:10 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:07:20 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:07:20 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:07:30 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:07:30 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:07:40 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:07:40 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:07:50 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:07:50 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:08:00 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:08:00 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:08:10 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:08:10 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:08:20 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:08:20 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:08:30 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:08:30 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:08:40 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:08:40 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:08:50 DEBUG (MainThread) [custom_components.ledfx.core.ledfx] ERROR LedFx: Connection error ConnectError('All connection attempts failed')
    2022-01-26 22:08:50 DEBUG (MainThread) [custom_components.ledfx.core.worker] LedFx updated (localhost:5333)
    2022-01-26 22:08:58 ERROR (MainThread) [aiohttp.server] Error handling request
    Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
    File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
    File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
    return await handler(request)
    File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
    result = await result
    File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 157, in post
    return await super().post(request, flow_id)
    File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
    result = await method(view, request, *args, **kwargs)
    File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
    File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
    File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
    File "/config/custom_components/ledfx/config_flow.py", line 54, in async_step_auth
    user_input[CONF_USERNAME]
    KeyError: 'username'
    
    opened by DivanX10 2
  • Add support version 2.x (Sourcery refactored)

    Add support version 2.x (Sourcery refactored)

    Pull Request #15 refactored by Sourcery.

    If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

    NOTE: As code is pushed to the original Pull Request, Sourcery will re-run and update (force-push) this Pull Request with new refactorings as necessary. If Sourcery finds no refactorings at any point, this Pull Request will be closed automatically.

    See our documentation here.

    Run Sourcery locally

    Reduce the feedback loop during development by using the Sourcery editor plugin:

    Review changes via command line

    To manually merge these changes, make sure you're on the dev branch, then run:

    git fetch origin sourcery/dev
    git merge --ff-only FETCH_HEAD
    git reset HEAD^
    

    Help us improve this pull request!

    opened by sourcery-ai[bot] 1
  • [FEATURE REQUEST] Data Prefix option

    [FEATURE REQUEST] Data Prefix option

    Is your feature request related to a problem? Please describe. ESP Home supports WLED, but in a very limited manner (see ESPHOME WLED). Currently it sadly does not work with your custom component.

    Describe the solution you'd like I think adding the option to set Data Prefix (in my case to "0201") would solve the incompatibility.

    Describe alternatives you've considered I tried the experimental HASSIO ADDON, which works great, but as far as I am aware it does not provide any entities to cotrol the addon.

    enhancement 
    opened by Dejv311 2
Releases(v2.1.0)
Owner
Dmitry Mamontov
Dmitry Mamontov
Custom component for Home Assistant that integrates Candy/Haier Wi-Fi washing machines (also known as Simply-Fi).

Candy Home Assistant component Custom component for Home Assistant that integrates Candy/Haier Wi-Fi washing machines (also known as Simply-Fi). This

Olivér Falvai 61 Dec 29, 2022
SALUS THERMOSTAT Custom component for Home-Assistant

Home-Assistant Custom Components Custom Components for Home-Assistant (http://www.home-assistant.io) Salus Thermostat Climate Component My device is R

null 21 Dec 18, 2022
Windhager myComfort custom component for Home Assistant

Windhager myComfort custom component for Home Assistant

null 5 Apr 27, 2022
Custom component for MPC-HC for home-assistant

mpc_hc The current mpchc integration in homeassistant violates ADR0004, so it will be deleted from core. This is just the existing integration copied

null 3 Dec 15, 2022
This Home Assistant custom component adds support for controlling Midea dehumidiferes on local network.

This is a custom component for Home assistant that adds support for Midea dehumidifier appliances via the local area network. midea-dehumidifier-lan H

Nenad Bogojevic 97 Jan 8, 2023
Home Assistant component to handle key atom

KeyAtome Home Assistant component to handle key atom, a Linky-compatible device made by Total/Direct-Energie. Installation Either use HACS (default),

null 18 Dec 21, 2022
Resmed_myair_sensors - This is a Home Assistant custom component to pull daily CPAP data from ResMed's myAir service using an undocumented API

resmed_myair This component will set up the following platforms. Platform Description sensor Show info from the myAir API. Installation Using the tool

Preston Tamkin 17 Dec 29, 2022
Historic weather - Home Assistant custom component for accessing historic weather data

Historic Weather for Home Assistant (CC) 2022 by Andreas Frisch github@fraxinas.

Andreas Frisch 1 Jan 10, 2022
Home Assistant custom component to help ev-chargers stay below peak hourly energy levels.

Peaqev ev-charging Peaqev ev-charging is an attempt of charging an ev without breaching a preset monthly max-peak energy level. In order for this inte

Magnus Eldén 35 Dec 24, 2022
LedFx is a network based LED effect controller with support for advanced real-time audio effects

Welcome to LedFx ✨ -Making music come alive! LedFx website: https://ledfx.app/ What is LedFx? What LedFx offers is the ability to take audio input, an

null 786 Jan 2, 2023
Universal Xiaomi MIoT integration for Home Assistant

Xiaomi MIoT Raw 简体中文 | English MIoT 协议是小米智能家居从 2018 年起推行的智能设备通信协议规范,此后凡是可接入米家的设备均通过此协议进行通信。此插件按照 MIoT 协议规范与设备通信,实现对设备的状态读取及控制。

null 1.9k Jan 2, 2023
Home Assistant custom integration for e-distribución

e-Distribución is an energy distribution company that covers most of South Spain area. If you live in this area, you probably are able to register into their website to get some information about your power demand, energy consumption, or even cycle billing (in terms of consumptions).

VMG 17 Sep 7, 2022
Home Assistant custom integration for Yi cameras: yi-hack-MStar, yi-hack-Allwinner and yi-hack-Allwinner-v2

yi-hack Home Assistant integration Overview yi-hack Home Assistant is a custom integration for Yi cameras (or Sonoff camera) with one of the following

roleo 131 Jan 3, 2023
Home Assistant integration for energy consumption data from UK SMETS (Smart) meters using the Hildebrand Glow API.

Hildebrand Glow (DCC) Integration Home Assistant integration for energy consumption data from UK SMETS (Smart) meters using the Hildebrand Glow API. T

Aniket 153 Dec 30, 2022
Electrolux Pure i9 robot vacuum integration for Home Assistant.

Home Assistant Pure i9 This repository integrates your Electrolux Pure i9 robot vacuum with the smart home platform Home Assistant. The integration co

Niklas Ekman 15 Dec 22, 2022
Water quality integration for Home Assistant with data provided by Budapest FVM

Water Quality FVM (Budapest, HU) custom integration for Home Assistant This custom component integrates water quality information provided by Budapest

Atticus Maximus 3 Dec 23, 2021
A Home Assistant integration for Solaredge inverters

A Home Assistant integration for Solaredge inverters. Supports multiple inverters chained through RS485.

Seth 50 Dec 23, 2022
Nordpool_diff custom integration for Home Assistant

nordpool_diff custom integration for Home Assistant Requires https://github.com/custom-components/nordpool Applies non-causal FIR differentiator1 to N

Joonas Pulakka 45 Dec 23, 2022
Smart EQ connect - Custom Integration for Home Assistant

Smart EQ Connect platform as a Custom Component for Home Assistant.

Rene Nulsch 2 Jan 4, 2022