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

vicare.devices[0]: list index out if range #372

Open
sweh opened this issue Jul 11, 2024 · 0 comments
Open

vicare.devices[0]: list index out if range #372

sweh opened this issue Jul 11, 2024 · 0 comments

Comments

@sweh
Copy link
Contributor

sweh commented Jul 11, 2024

Hi there,

my PyViCare integration was working fine for months but since ~ a week it fails to fetch devices. The log says:

INFO:ViCare:Token file exists
INFO:ViCare:Token restored from file
INFO:ViCare:Token expired, renewing
INFO:ViCare:Token serialized to token.save
INFO:ViCare:New token created
INFO:ViCare:Token renewed successfully

and the later when calling vicare.devices[0].asAutoDetectDevice(), I get the error list index out of range. In the ViCare App on my iPhone everything is fine. Did not change anything on the configuration of the boiler.

Any ideas what's wrong?

I can generate a token on the Viessmann Developer Portal with scopes "IOT" or "User", but PyViCare does not let me use this token, or did I miss something? I currently authenticate with username, password an client_id as explained in the documentation. That worked for months.

Thanks in advance for any help.

Cheers,
Sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant