Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lifx not able to open wizard to load lights #89

Open
undead9786 opened this issue Jun 25, 2024 · 6 comments
Open

Lifx not able to open wizard to load lights #89

undead9786 opened this issue Jun 25, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@undead9786
Copy link

undead9786 commented Jun 25, 2024

So I setup Lifx back when I was using HassWP_2022.2.3 without issue but never really used Lifx from Home Assistant. I updated it to HassWP_2023.5.3, then HassWP_2023.9.3, then HassWP_2024.4.3 all where the Lifx entry broke but now I want utilize Lifx but can't get it to work. I loaded back up HassWP_2022.2.3 to see if it would work and not only does it work but so quick and smooth. I even pulled a fresh setup of HassWP_2024.4.3 to see if maybe when moving the config folder messes something up but wizard starts loading up and boom handler error. I tried even removing all Lifx entries from core.config_entries, core.device_registry, core.entity_registry because when I tried to delete from the integrations and reboot Home Assistant it would still be there either not loaded or disabled. Here are the logs where I started loading Lifx integration up until the failure:

2024-06-25 04:41:19.981 INFO (SyncWorker_10) [homeassistant.loader] Loaded lifx from homeassistant.components.lifx
2024-06-25 04:41:20.075 INFO (SyncWorker_6) [homeassistant.util.package] Attempting install of aiolifx==1.0.0
2024-06-25 04:41:34.477 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.148 (192.168.1.148). Requested URL: '/api/websocket'. (Home Assistant/2024.5.1 (io.robbie.HomeAssistant; build:2024.688; iPadOS 17.5.1))
2024-06-25 04:41:39.071 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.148 (192.168.1.148). Requested URL: '/api/websocket'. (Home Assistant/2024.5.1 (io.robbie.HomeAssistant; build:2024.688; iPadOS 17.5.1))
2024-06-25 04:41:49.129 INFO (SyncWorker_6) [homeassistant.util.package] Attempting install of aiolifx-effects==0.3.2
2024-06-25 04:41:49.153 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.148 (192.168.1.148). Requested URL: '/api/websocket'. (Home Assistant/2024.5.1 (io.robbie.HomeAssistant; build:2024.688; iPadOS 17.5.1))
2024-06-25 04:41:53.629 INFO (SyncWorker_6) [homeassistant.util.package] Attempting install of aiolifx-themes==0.4.10
2024-06-25 04:42:08.043 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.148 (192.168.1.148). Requested URL: '/api/websocket'. (Home Assistant/2024.5.1 (io.robbie.HomeAssistant; build:2024.688; iPadOS 17.5.1))
2024-06-25 04:42:11.483 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration lifx: No module named '_curses'
2024-06-25 04:42:25.480 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.148 (192.168.1.148). Requested URL: '/api/websocket'. (Home Assistant/2024.5.1 (io.robbie.HomeAssistant; build:2024.688; iPadOS 17.5.1))
2024-06-25 04:42:39.219 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.148 (192.168.1.148). Requested URL: '/api/websocket'. (Home Assistant/2024.5.1 (io.robbie.HomeAssistant; build:2024.688; iPadOS 17.5.1))
2024-06-25 04:42:45.840 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.148 (192.168.1.148). Requested URL: '/api/websocket'. (Home Assistant/2024.5.1 (io.robbie.HomeAssistant; build:2024.688; iPadOS 17.5.1))
@AlexxIT AlexxIT added the question Further information is requested label Sep 2, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Sep 2, 2024

I don't have this devices, so I can't fix this. You can use other Hass install methods.

@AlexxIT AlexxIT closed this as completed Sep 2, 2024
@undead9786
Copy link
Author

I don't have this devices, so I can't fix this. You can use other Hass install methods.

I was actually able to fix it myself. Not sure why but if I replace the HassWP_2024.4.3\python-3.12.3.amd64\Lib\site-packages\homeassistant\components\lifx folder with one from an older version it works without an issue. Would you be able to know what could be causing it so future versions can work right off the bat? I can help with it since I have lifx lights.

Also to get the error you don't even need the lights. It happens immediately.

@AlexxIT
Copy link
Owner

AlexxIT commented Sep 2, 2024

  1. There may be new issues in the next versions of HassWP.
  2. I can force a dependency version for a particular component if you give details.

@AlexxIT AlexxIT added enhancement New feature or request and removed question Further information is requested labels Sep 2, 2024
@AlexxIT AlexxIT reopened this Sep 2, 2024
@undead9786
Copy link
Author

  1. There may be new issues in the next versions of HassWP.
  2. I can force a dependency version for a particular component if you give details.

What do you need me to do? I can provide you whatever details you need.

I tried to replace each individual file in the lifx folder from the old version to the new one to see if there is a certain one that breaks it but looks like the whole folder needs to be swapped out from an older version to the new one to get it working.

@AlexxIT
Copy link
Owner

AlexxIT commented Sep 2, 2024

I need worked dependency version. This is latest for example:
https://github.com/home-assistant/core/blob/dev/homeassistant/components/lifx/manifest.json

@undead9786
Copy link
Author

@AlexxIT AlexxIT self-assigned this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants