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

Adding a second appliance always results in unavailable entities #132

Open
antonclaeys opened this issue Jul 2, 2024 · 9 comments
Open

Comments

@antonclaeys
Copy link

antonclaeys commented Jul 2, 2024

I have two Single Pro Line charging stations. Both are configured the same way using ACE Installer (and they are properly online etc). However, the second charging station will not initiate properly using this library: all its entities are unavailable or unknown. I have tried adding the appliance multiple times, restarting, etc. Is this a known problem?

image

@leeyuentuen
Copy link
Owner

i haven't test with multiple wallbox.

@antonclaeys
Copy link
Author

I checked the log files and found this

2024-07-08 16:41:54.232 ERROR (MainThread) [custom_components.alfen_wallbox.alfen] Unexpected error on POST 403, message='Forbidden ', url=URL('https://192.168.50.37/api/login')
2024-07-08 16:41:54.272 ERROR (MainThread) [custom_components.alfen_wallbox.alfen] Unexpected error on GET 401, message='Unauthorized ', url=URL('https://192.168.50.37/api/prop?cat=generic&offset=0')

I know for sure the password is correct, as I can connect to the charger via ACE or via the app. The password does contain an '@' though. might that be an encoding issue or something like that?

@leeyuentuen
Copy link
Owner

I checked the log files and found this

2024-07-08 16:41:54.232 ERROR (MainThread) [custom_components.alfen_wallbox.alfen] Unexpected error on POST 403, message='Forbidden ', url=URL('https://192.168.50.37/api/login') 2024-07-08 16:41:54.272 ERROR (MainThread) [custom_components.alfen_wallbox.alfen] Unexpected error on GET 401, message='Unauthorized ', url=URL('https://192.168.50.37/api/prop?cat=generic&offset=0')

I know for sure the password is correct, as I can connect to the charger via ACE or via the app. The password does contain an '@' though. might that be an encoding issue or something like that?

this could maybe give the issue. i'll take a look if i can do something on it

@leeyuentuen
Copy link
Owner

@antonclaeys have you try to change the password without that special character @?

@EvanRens
Copy link

Similar issue, my password contains ! as special characters. Can this cause 403 POST Login errors / 401 GET errors ?

Unexpected error on POST 403, message='Forbidden', url='https://192.168.1.XX/api/login'

Unexpected error on GET 401, message='Unauthorized', url='https://192.168.1.XX/api/prop?cat=generic&offset=0'
Unexpected error on GET 401, message='Unauthorized', url='https://192.168.1.XX/api/transactions?offset=0'

UserID and Pass work fine with ACE INstaller / EVE Connect

@grasmachien
Copy link

grasmachien commented Oct 15, 2024

Same issue here.
It works with the Ace Installer and EVE Connect but not in HA.
And this is the default password without any special characters.

Screenshot 2024-10-15 at 21 31 38

Logs from the Ace Installer
Screenshot 2024-10-15 at 21 37 25

@leeyuentuen
Copy link
Owner

Same issue here. It works with the Ace Installer and EVE Connect but not in HA. And this is the default password without any special characters.

Screenshot 2024-10-15 at 21 31 38 Logs from the Ace Installer Screenshot 2024-10-15 at 21 37 25

you use username 'admin'?

@grasmachien
Copy link

I did use the default admin username indeed.
I deleted the integration and installed it again.
Now it works... Let's hope it stays that way!

@fwestenberg
Copy link

fwestenberg commented Jan 2, 2025

@antonclaeys can you close this please?

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

5 participants