-
Notifications
You must be signed in to change notification settings - Fork 7
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
Unable to add integreation. Unexpected error #73
Comments
if you access the ip and the port in the browser directly, does it work? and does it still work after you try to add it to home-assistant? |
I did some troubleshooting and these are the outcomes:
I have quite a large number of devices so most likely is the same issue reported before #62 |
i thought so as well. there is a MAX_ROWS_PER_REQUEST in vimarlink.py which is currently set to 300. |
I tried to lower MAX_ROWS_PER_REQUEST but I got the same result. Anyway, thanks for your time!!! |
i am afraid the query will need to run regulary (like every HA restart) to initialize current on/off states. you could try this: there is a get_room_id function which currently does not have a limit. in your log you should see how many rooms it can find. then add a limit to that query (LIMIT 0, 30) and try to do only half of your rooms to see if that would work. |
I followed your suggestion and set MAX_ROWS_PER_REQUEST = 5. Same result. These are the messages showed on the console: Config ready |
Hi,
I have installed HA v.2023.11.2 using docker compose. When I try to add Vimar integration I got:
and looking at the log file I got:
...
2023-11-16 09:54:48.965 INFO (MainThread) [custom_components.vimar.vimarlink.vimarlink] Vimar link initialized
2023-11-16 09:54:55.231 ERROR (SyncWorker_7) [custom_components.vimar.vimarlink.vimarlink] HTTP timeout occurred
Could it be related to docker installation? This is my compose.yml
version: '3'
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- "/home/HomeAssistant:/config"
- "/etc/localtime:/etc/localtime:ro"
restart: unless-stopped
privileged: true
network_mode: host
Thanks for your great job!
The text was updated successfully, but these errors were encountered: