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

Unable to connect my wallbox #164

Open
sebmatton opened this issue Dec 23, 2024 · 10 comments
Open

Unable to connect my wallbox #164

sebmatton opened this issue Dec 23, 2024 · 10 comments
Assignees

Comments

@sebmatton
Copy link

Hi all,

I'm trying to setup my Alfen Wallbox with Home Assistant, but I can't figure out to make things work properly.
I'm perfectly able to connect the charger with ACE (So, I know my Owner's password), but the HA integration constantly fails configuring its entry.

Is there anything specific to do ? My charger has Active Load Balancing and DSMR (P1) enabled, don't know if it might be an issue as I know it can't work togheter with Modbus TCP simultaneously.
I also make sure that ACE application is closed when performing the HA installation.
Currently using integration with version 2.9.0.

Here is my error message:
image

Assistance is appreciated :-)

Thanks

@sebmatton
Copy link
Author

Maybe some more insights here:

2024-12-23 16:02:14.023 DEBUG (MainThread) [custom_components.alfen_wallbox.coordinator] ClientConnectionError to https://10.0.0.45 Cannot connect to host https:443 ssl:default [[SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:1020)]

@dekelpea
Copy link

I have been battling with the same issue since a couple of weeks. Not sure what’s causing this as I have not changed anything in the charger config. The only thing I have done is upgrading my home assistant core and os to the latest versions.

@JanDetrez
Copy link

Same issue here since a while (few days), has been working great for several months before. Unknow what changed recently, didn't do any firmware updates or so.

@h3llrais3r
Copy link

h3llrais3r commented Dec 29, 2024

I noticed the same issue as well today.
But I noticed also that when I'm trying to configure it from my domain over https, it seems to initialize again.
Every time I try from my local domain over http, it fails.

EDIT: ignore my comment above, I think I was just lucky, as it's not working again after a HA restart...
Only solution seems to be a manual rollback to version 2.8.9 as explained at #166 (comment)

@JoostvdB94
Copy link

This may be the effects of commit 7f33ef7b31637a1e421016a1ed6a43d7620cab70

This commit removed some of the lines that disabled SSL checks. As far as I can see, the API that my Alfen Eve Single provides does have a valid certificate. It expired some time ago (probably because the firmware I have installed is out-of-date).

@fwestenberg , Besides from the obvious security benefits, is there any reason why the SSL check has been removed? Could "Disable SSL verifcation" be added as a option when configuring a new EV station?

@fwestenberg
Copy link

Excellent idea. I will fix this asap!

@leeyuentuen
Copy link
Owner

This may be the effects of commit 7f33ef7b31637a1e421016a1ed6a43d7620cab70

This commit removed some of the lines that disabled SSL checks. As far as I can see, the API that my Alfen Eve Single provides does have a valid certificate. It expired some time ago (probably because the firmware I have installed is out-of-date).

@fwestenberg , Besides from the obvious security benefits, is there any reason why the SSL check has been removed? Could "Disable SSL verifcation" be added as a option when configuring a new EV station?

That make sense @fwestenberg do you create a new merge request or should i do it?

leeyuentuen added a commit that referenced this issue Dec 30, 2024
@leeyuentuen
Copy link
Owner

maybe take a look after the change if this is still exist?
https://github.com/leeyuentuen/alfen_wallbox/releases/tag/2.9.2-beta-2

@leeyuentuen leeyuentuen self-assigned this Dec 30, 2024
@vanhaakonnen
Copy link

I have the same problem. Thanks for your hard work to get everything working!

I tried to install 2.9.2 beta 2 / beta 3:
"The version 2.9.2-beta-3 for this integration can not be used with HACS."

@leeyuentuen
Copy link
Owner

I have the same problem. Thanks for your hard work to get everything working!

I tried to install 2.9.2 beta 2 / beta 3: "The version 2.9.2-beta-3 for this integration can not be used with HACS."

Try manual update to download them and replace in custom_component.

The issue above will be investigate soon

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

8 participants