Component for deep integration LedFx from Home Assistant.

Related tags

Hardwarehass-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
Simple python3 implementation of microKanren with lots of type annotations for clarity

MicroKanren-py This is (yet another) python implementation of microKanren. It's a reasonably 1:1 translation of the code provided in the paper, but ev

Erik Derohanian 3 Dec 10, 2022
Lego Mindstorms EV3 and Lego Spike Prime

Lego Mindstorms EV3 and Lego Spike Prime What is FLL? The FIRST LEGO League Challenge Robotics Tournament challenges students from 9 to 16 years old t

Danimar Campos da Costa 1 Nov 14, 2021
LifeSaver automatically, periodically saves USB flash drive data into the PC

LifeSaver automatically, periodically saves USB flash drive data into the PC. Theoriticaly it will work with any any connected drive ex - Hard Disk ,SSD ... But, can't handle Backing up multipatition

siddharth dhaka 4 Sep 26, 2021
Raspberry Pi & Accelerometer with Losant's EEA

Raspberry Pi & Accelerometer with Losant's EEA This is a repository that contains companion code to this EEA How To guide. Each folder is named accord

Losant 1 Oct 29, 2021
Doughskript interpreter for converting simple command sequences into executable Arduino C++ code.

Doughskript interpreter for converting simple command sequences into executable Arduino C++ code.

Svjatoslav 2 Jan 11, 2022
Transform a Raspberry Pi into a network diagnostic machine.

EtherView Last updated jan 30, 2022. Welcome to the EtherView project! This is a project to transform a RaspberryPi into a portable network diagnostic

1 Jan 30, 2022
Software framework to enable agile robotic assembly applications.

ConnTact Software framework to enable agile robotic assembly applications. (Connect + Tactile) Overview Installation Development of framework was done

Southwest Research Institute Robotics 29 Dec 01, 2022
A python script for Homeassistant that counts down the days to birthdays, anniversaries etc

Date Countdown A python script for Homeassistant that counts down the days to birthdays, anniversaries etc Important note I no longer use homeassistan

Marc Forth 21 Mar 12, 2022
DIY split-flap display

The goal is to make a low-cost display that's easy to fabricate at home in small/single quantities (e.g. custom materials can be ordered from Ponoko or similar, and other hardware is generally availa

Scott Bezek 2.5k Jan 05, 2023
An embedded application for toy-car controlling based on Raspberry Pi 3 Model B and AlphaBot2-Pi.

An embedded application for toy-car controlling based on Raspberry Pi 3 Model B and AlphaBot2-Pi. This is the source codes of my programming assignmen

StardustDL 4 Oct 19, 2022
Hotplugger: Real USB Port Passthrough for VFIO/QEMU!

Hotplugger: Real USB Port Passthrough for VFIO/QEMU! Welcome to Hotplugger! This app, as the name might tell you, is a combination of some scripts (py

DARKGuy (Alemar) 66 Nov 24, 2022
A Python class for controlling the Pimoroni RGB Keypad for Raspberry Pi Pico

rgbkeypad A Python class for controlling the Pimoroni RGB Keypad for the Raspberry Pi Pico. Compatible with MicroPython and CircuitPython. keypad = RG

Martin O'Hanlon 43 Nov 11, 2022
A iot Bike sytem based on RaspberryPi, Ardiuino

Cyclic 's Kernel ---- A iot Bike sytem based on RaspberryPi, Ardiuino, etc 0x1 What is This? Cyclic 's Kernel is an independent System With self-produ

Retr0mous 2 Oct 09, 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 03, 2023
A 3rd party Moonraker component to create timelapse of 3D prints.

A 3rd party Moonraker component to create timelapse of 3D prints.

Mainsail-Crew 166 Dec 26, 2022
KIRI - Keyboard Interception, Remapping, and Injection using Raspberry Pi as an HID Proxy.

KIRI - Keyboard Interception, Remapping and Injection using Raspberry Pi as a HID Proxy. Near limitless abilities for a keyboard warrior. Features Sim

Viggo Falster 10 Dec 23, 2022
A battery pack simulation tool that uses the PyBaMM framework

Overview of liionpack liionpack takes a 1D PyBaMM model and makes it into a pack. You can either specify the configuration e.g. 16 cells in parallel a

PyBaMM Team 40 Jan 05, 2023
Better support for Nuki devices to the Home Assistant

Another attempt to add a better support for Nuki devices to the Home Assistant Features: Lock interface implementation Uses local webhook from bridge

Konstantin 105 Jan 07, 2023
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 08, 2023
Python apps to assist with Gas Blending

Welcome to DiveTools Gas Blending This tool is for testing and educational use. It is not intended to confirm the mix of breathing gases. If this tool

Tucker 7 Sep 18, 2022