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

Log shows 'List index out of range' #9

Open
Boooomerang opened this issue Jan 6, 2024 · 8 comments
Open

Log shows 'List index out of range' #9

Boooomerang opened this issue Jan 6, 2024 · 8 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Boooomerang
Copy link

HA log shows errors for Renpho integration and sensors don't show any status.
Log:
image

@antoinebou12
Copy link
Owner

Should i been fix in v2.0.2 please confirm. The plugin is not stable

@antoinebou12 antoinebou12 self-assigned this Mar 2, 2024
Copy link

Branch issue-9-Log_shows_List_index_out_of_range created!

@antoinebou12 antoinebou12 added the bug Something isn't working label Mar 2, 2024
@antoinebou12 antoinebou12 modified the milestones: v2.0.1, v2.0.3 Mar 2, 2024
@Boooomerang
Copy link
Author

Thanks for looking into that issue! I have upgraded to 2.0.2, but the log still shows the same issue.
image

@antoinebou12
Copy link
Owner

@Boooomerang
Copy link
Author

Installed v.3.0.0 and removed the legacy entries from configuration.yaml. I can login at https://hass-renpho.vercel.app/docs#/default/auth_auth_get, but login fails with identical user/pwd via hacs integration. Log shows

2024-03-10 12:13:38.271 ERROR (MainThread) [custom_components.renpho.config_flow] Cannot connect due to No users found. Details: {'email': '[email protected]'}

@antoinebou12
Copy link
Owner

Try v3.0.1 @Boooomerang

@Boooomerang
Copy link
Author

v3.0.1 has the same error message in the log.
I have made this observation, maybe it’s related: I can login at https://hass-renpho.vercel.app/docs#/default/auth_auth_get, and /info, /measurements, /weight and most other requests return results successfully. But /users and /device_info returns { "status": "error", "message": "404: Users not found", "data": null }

I use the scale with a single user. Now I have added another user. But still /users return the above error.

@antoinebou12
Copy link
Owner

@Boooomerang ok thank. I will look into it. I know that device_info is broken, but /users should works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants