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
从零开始打造一个智能家居系统

SweetHome 从零开始打造智能家居系统的尝试,主要的实现有 可以扫码添加设备并控制设备的Android App 可以控制亮灭的灯,并可以设置在Android App连接到指定Wifi后自动亮起 可以控制开关的窗帘,机械结构部分自己设计并3D打印出来 树莓派主控,实现Http请求接口和ZigBe

金榜 5 May 01, 2022
Poupool is an overflow swimming pool control software

Poupool - The swimming pool controller Poupool is a swimming pool control software. It is based on Transitions, Pykka and Paho MQTT. The user interfac

Cyril Jaquier 8 Jul 18, 2022
Python Client for ESPHome native API. Used by Home Assistant.

aioesphomeapi aioesphomeapi allows you to interact with devices flashed with ESPHome. Installation The module is available from the Python Package Ind

ESPHome 76 Jan 04, 2023
Tools and documentation to aid in modifying the ADI ADALM Pluto firmware

Pluto firmware modifications This repository contains tools and documentation to aid in modifying the ADI ADALM Pluto firmware. Extraction of the Plut

Daniel Estévez 28 Dec 21, 2022
Robot Framework keyword library wrapper for atlassian-python-api

Robot Framework keyword library wrapper for atlassian-python-api

Marcin Koperski 3 Jul 29, 2022
Modi2-firmware-updater - MODI+ Firmware Updater With Python

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

LUXROBO 1 Feb 04, 2022
A DiY holiday project to demonstrate how you can send data from adafruitIO cloud to a balena edge device

holiday-star balena ❤️ adafruitIO Introduction A DiY holiday project to demonstrate how you can send data from adafruitIO cloud to a balena edge devic

Ayan Pahwa 3 Dec 20, 2021
This repository contains all the code and files needed to simulate the notspot quadrupedal robot using Gazebo and ROS.

Notspot robot simulation - Python version This repository contains all the files and code needed to simulate the notspot quadrupedal robot using Gazeb

50 Sep 26, 2022
A custom mechanical keyboard inspired by the CFTKB Mysterium

Env-KB A custom mechanical keyboard inspired by the CFTKB Mysterium Build Guide and Parts List What is to do? Right now for the first 5 PCBs I have, i

EnviousData 203 Jan 04, 2023
Python library to interact with the GCE Electronics IPX800 device

A python library to control a GCE-Electronics IPX800 V4 device through its API.

Marc-Aurèle Brothier 2 Oct 20, 2021
A low power 1U Raspberry Pi cluster server for inexpensive colocation.

Raspberry Pi 1U Server There are server colocation providers that allow hosting a 1U server for as low as $30/month, but there's a catch: There are re

Paul Brown 627 Dec 31, 2022
Using a GNSS module (Beidou + GPS) and the mapquest static map API

Using a GNSS module (Beidou + GPS) and the mapquest static map API

Kongduino 1 Nov 04, 2021
View your medication from Medisafe Cloud in Home Assistant

Medisafe View your medication from Medisafe Cloud in Home Assistant. This integration adds sensors for today's upcoming, taken, skipped, and missed do

Sam Steele 12 Dec 27, 2022
Home Assistant component to handle key atom

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

18 Dec 21, 2022
My 500 LED xmas tree

xmastree2020 This repository contains the code used for Matt's Christmas tree, as featured in "I wired my tree with 500 LED lights and calculated thei

Stand-up Maths 581 Jan 07, 2023
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
This Home Assistant custom component adding support for controlling Midea dehumidifiers on local network.

This custom component for Home Assistant adds support for Midea air conditioner and dehumidifier appliances via the local area network. homeassistant-

Nenad Bogojevic 92 Dec 31, 2022
The ABR Control library is a python package for the control and path planning of robotic arms in real or simulated environments.

The ABR Control library is a python package for the control and path planning of robotic arms in real or simulated environments. ABR Control provides API's for the Mujoco, CoppeliaSim (formerly known

Applied Brain Research 277 Jan 05, 2023
CircuitPython Driver for Adafruit 24LC32 I2C EEPROM Breakout 32Kbit / 4 KB

Introduction CircuitPython driver for Adafruit 24LC32 I2C EEPROM Breakout Dependencies This driver depends on: Adafruit CircuitPython Bus Device Regis

foamyguy 0 Dec 20, 2021
Raspberry Pi Pico development platform for PlatformIO

Raspberry Pi Pico development platform for PlatformIO A few words in the beginning Before experimental please Reinstall the platform Version: 1.0.0 Th

Georgi Angelov 160 Dec 23, 2022