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
For use with an 8-bit parallel TFT touchscreen using micropython

ILI9341-parallel-TFT-driver-for-micropython For use with an 8-bit parallel TFT touchscreen using micropython. Many thanks to prenticedavid and his MCU

3 Aug 02, 2022
A python file which I wrote to allow the Dorna Robots API to draw an Image on a 3D plane

Dorna-Robotics-Internship Code In the directory "Code" is a python file which I wrote to allow the Dorna Robots API to draw an Image on a 3D plane. I

Stephen Otto 2 Dec 06, 2021
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

21 Dec 18, 2022
Cascade Drone Swarm Physical Demonstration Project

Cascade Drone Swarm Physical Demonstration Project Table of Contents About The Project Built With Getting Started Prerequisites Installation About The

3 Aug 24, 2022
Sleep Functionality for Adafruit MacroPad RP2040

Adafruit-MacroPad-RP2040 Sleep Functionality for Adafruit MacroPad RP2040 Details This is a modification of AdaFruit project bundle found here specifi

9 Dec 18, 2022
Philippe 1 Jan 09, 2022
Home Assistant custom integration to fetch data from Powerpal

Powerpal custom component for Home Assistant Component to integrate with powerpal. This repository and integration is not affiliated with Powerpal. Th

Lawrence 32 Jan 07, 2023
AERO 421: Spacecraft Attitude, Dynamics, and Control Final Project.

AERO - 421 Final Project Redevelopment Spacecraft Attitude, Dynamics, and Control: Simulation to determine and control a satellite's attitude in LEO.

Gagandeep Thapar 3 Dec 16, 2022
Python library to manipulate Ingenico mobile payment device like iCT220 or iWL220 equipped with Telium Manager. RS232/USB.

Python library to manipulate Ingenico mobile payment device like iCT220 or iWL220 equipped with Telium Manager. RS232/USB.

TAHRI Ahmed R. 72 Dec 24, 2022
This is a python script to grab data from Zyxel NSA310 NAS and display in Home Asisstant as sensors.

Home-Assistant Python Scripts Python Scripts for Home-Assistant (http://www.home-assistant.io) Zyxel-NSA310-Home-Assistant Monitoring This is a python

6 Oct 31, 2022
PyLog - Simple keylogger that uses pynput to listen to keyboard input.

Simple keylogger that uses pynput to listen to keyboard input. Outputs to a text file and the terminal. Press the escape key to stop.

1 Dec 29, 2021
Isaac Gym Environments for Legged Robots

Isaac Gym Environments for Legged Robots This repository provides the environment used to train ANYmal (and other robots) to walk on rough terrain usi

Robotic Systems Lab - Legged Robotics at ETH Zürich 372 Jan 08, 2023
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
Real-time Coastal Monitoring at the University of Hawaii at Manoa

Coastal Monitoring at the University of Manoa Source code for Beaglebone/RPi-based data loggers, shore internet gateways, and web server. Software dev

Stanley Lio 7 Dec 07, 2021
Make your MacOS keyboard brightness fade in and out

Make your MacOS keyboard brightness fade in and out. (It's working depends on the Kbrightness file, which only works for 2015 Macs, so this will only work on 2015 Macs.)

1 Dec 16, 2021
Provide Unifi device info via api to Home Assistant that will give ap sensors

Unifi AP Device info Provide Unifi device info via api to Home Assistant that will give ap sensors

12 Jan 07, 2023
Various programs in Atari BASIC for #FujiNet for Atari 8-bit

FujiNet Various programs in Atari BASIC for #FujiNet for Atari 8-bit FujiNet-3D Tic Tac Toe In 1978, Scott Adams wrote a 3-D Tic Tac Toe game, for pla

Kay Savetz 2 Jan 01, 2022
A Fear and Greed index visualiser for Bitcoin on a SSD1351 OLED Screen

We're Doomed - A Bitcoin Fear and Greed index OLED visualiser Doom is a first-person-shooter from the 1990s. The health status monitor was one of the

VEEB 19 Dec 29, 2022
The main aim of this project is to avoid the accidents in shredding ( Waste Recycling Industry )

shredder-Machine-Hand-Safety The main aim of this project is to avoid the accidents in shredding ( Waste Recycling Industry ) . The Basic function of

Shubham Chaudhari 1 Nov 15, 2021
A simple small scale electric car was build which can be driven by remote control and features a fully autonomous parking procedure.

personal-autonomous-parking-car-raspberry A simple electric car model was build using Raspbery pi. The car has remote control and autonomous operation

Kostas Ziovas 2 Jan 26, 2022