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

Login doesn't work? #68

Open
salzrat opened this issue May 24, 2022 · 5 comments
Open

Login doesn't work? #68

salzrat opened this issue May 24, 2022 · 5 comments

Comments

@salzrat
Copy link

salzrat commented May 24, 2022

I've tried to install the component via the instructions. When I add it, it asks me for username and login. I provide the logwien username and login, but then I just get a red exclamation mark, and in the log the following error:

Traceback (most recent call last): File "/config/custom_components/vienna_smartmeter/config_flow.py", line 87, in _test_credentials await client.refresh_token() File "/usr/local/lib/python3.9/site-packages/vienna_smartmeter/_async/client.py", line 80, in refresh_token "code": await self._get_auth_code(), File "/usr/local/lib/python3.9/site-packages/vienna_smartmeter/_async/client.py", line 59, in _get_auth_code action = await self._get_login_action() File "/usr/local/lib/python3.9/site-packages/vienna_smartmeter/_async/client.py", line 55, in _get_login_action return tree.xpath("(//form/@action)")[0] IndexError: list index out of range

Should this work? Any way I could debug this?
Thanks!

@staudima
Copy link

staudima commented Jun 6, 2022

Same to me!!

@klaus1k
Copy link

klaus1k commented Jul 8, 2022

sadly it's the same with me. Seems to have appeared with the introduction of logwien. Any chance we could help resolve that problem?
Aside from that it's an awesome integration!

@h0jeZvgoxFepBQ2C
Copy link

Is this fixed already?

@salzrat
Copy link
Author

salzrat commented Jan 2, 2023

I moved to another integration, "WienerNetzeSmartmeter", which works...

@h0jeZvgoxFepBQ2C
Copy link

Ah thanks, I also just found it, works fine: https://github.com/DarwinsBuddy/WienerNetzeSmartmeter

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

4 participants