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
Like htop (CPU and memory usage), but for your case LEDs. 😄

Like htop (CPU and memory usage), but for your case LEDs. 😄

Derek Anderson 3 Dec 08, 2021
A IC scan test interface for Arduino

ICSCAN_ARDUINO Prerequisites Python 3.6 or higher arduino uno or nano what is this It is a bitstream tranceiver to test IC chip It sends bitstream to

Nifty Chips Laboratory 0 Sep 15, 2022
Modi2-firmware-updater - MODI+ Firmware Updater With Python

MODI+ Firmware Updater 실행 준비 python3(파이썬3.9 혹은 그 이상의 버전)를 컴퓨터에 설치 python3 -m pip

LUXROBO 1 Feb 04, 2022
Christmasvillage-rpi - Raspberry Pi relay controller for ChristmasVillage.io

ChristmasVillage.io Relay Controller Links ChristmasVillage.io - Live Stream & Controls Youtube Instagram About This repository controls the light rel

Grant Windes 2 Feb 15, 2022
This repo uses a stereo camera and gray-code-based structured light to realize dense 3D reconstruction.

Structured-light-stereo This repo uses a stereo camera and gray-code-based structured light to realize dense 3D reconstruction. . How to use: STEP 1:

FEI 20 Dec 31, 2022
智能无人机路径规划仿真系统是一个具有操作控制精细、平台整合性强、全方向模型建立与应用自动化特点的软件

Drone智能无人机路径规划仿真系统是一个具有操作控制精细、平台整合性强、全方向模型建立与应用自动化特点的软件。它以A、B两国在C区开展无人机战争为背景,该系统的核心功能是通过仿真平台规划无人机航线,并进行验证输出,数据可导入真实无人机,使其按照规定路线精准抵达战场任一位置,支持多人多设备编队联合行动。

wwy 349 Jan 03, 2023
This allows you to record keyboard and mouse input, and play it back using pynput.

Record and Play with Python! This allows you to record keyboard and mouse input, and play it back (with looping) using pynput. It allows for automatio

George Jensen 45 Jan 02, 2023
Yet another automation project because a smart light is more than just on or off.

Automate home Yet another home automation project because a smart light is more than just on or off. Overview When talking about home automation there

Maja Massarini 62 Oct 10, 2022
Ingeniamotion is a library that works over ingenialink and aims to simplify the interaction with Ingenia's drives.

Ingeniamotion Ingeniamotion is a library that works over ingenialink and aims to simplify the interaction with Ingenia's drives. Requirements Python 3

Ingenia Motion Control 7 Dec 15, 2022
A simple Picobot project implemented in Python

Python-Picobot A simple Picobot project implemented in Python About Explanation This is my first programming project. Picobot use rules.txt file which

Shayan Shiravani 0 Apr 03, 2022
Philippe 1 Jan 09, 2022
A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.

PyUserInput PyUserInput is a group project so we've moved the project over to a group organization: https://github.com/PyUserInput/PyUserInput . That

Paul Barton 1k Dec 27, 2022
Final-project-robokeeper created by GitHub Classroom

RoboKeeper! Jonny Bosnich, Joshua Cho, Lio Liang, Marco Morales, Cody Nichoson Demonstration Videos Grabbing the paddle: https://youtu.be/N0HPvFNHrTw

Cody Nichoson 1 Dec 12, 2021
Raspberry Pi Pico and LoRaWAN from CircuitPython

Raspberry Pi Pico and LoRaWAN from CircuitPython Enable LoRaWAN communications on your Raspberry Pi Pico or any RP2040-based board using CircuitPython

Alasdair Allan 15 Oct 08, 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
Python module for controlling Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs

Python module for controlling Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs

Matthew Garrett 1.2k Jan 04, 2023
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
Create a low powered, renewable generation forecast display with a Raspberry Pi Zero & Inky wHAT.

GB Renewable Forecast Display This Raspberry Pi powered eInk display aims to give you a quick way to time your home energy usage to help balance the g

Andy Brace 32 Jul 02, 2022
Example code and projects for FeatherS2 and FeatherS2 Neo

FeatherS2 & FeatherS2 Neo This repo is a collection of code, firmware, and files

Unexpected Maker 5 Jan 01, 2023
Aqara Camera G3 integration for Home Assistant

Aqara Camera G3 integration for Home Assistant ATTENTION: The component only works after enabled telnet. Only supportd stream. Not support still image

14 Dec 18, 2022