leeyuentuen / alfen_wallbox

Alfen wallbox - Home Assistant Component
MIT License
54 stars 10 forks source link

Can not change Power Connector Max Current Socket 1 #121

Open Schockolade opened 2 months ago

Schockolade commented 2 months ago

Hello everyone,

I love this project and I was using the Addon for about a Year now. But after the last update (I am not sure which version I uses before) I cant change any Value. Most Important for me to handle load balancing is "Power Connector Max Current Socket 1".

The value can not be changed now. Whether I use the slider in the GUI or the “Alfen Wallbox: set_current_limit” service. The value remains unchanged.

What I see in the debug-log for example:

2024-04-30 18:23:32.023 WARNING (MainThread) [homeassistant.components.sensor] Updating alfen_wallbox sensor took longer than the scheduled update interval 0:00:05 2024-04-30 18:23:32.057 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.151 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.231 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.308 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.391 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.471 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.551 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.676 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.720 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.815 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.891 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:32.974 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.057 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.135 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.215 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.295 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.379 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.467 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.547 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.627 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.707 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.787 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.867 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:33.946 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.028 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.107 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.191 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.272 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.359 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.439 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.506 ERROR (MainThread) [custom_components.alfen_wallbox.alfen] Unexpected error on UPDATE VALUE Cannot connect to host 192.168.5.5:443 ssl:<ssl.SSLContext object at 0x7f7ce74350> [Connect call failed ('192.168.5.5', 443)] 2024-04-30 18:23:34.506 DEBUG (MainThread) [custom_components.alfen_wallbox.number] Power Connector Max Current Socket 1 Value: 14 2024-04-30 18:23:34.507 DEBUG (MainThread) [custom_components.alfen_wallbox.number] Power Connector Max Current Socket 1 Value: 14 2024-04-30 18:23:34.518 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.599 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.683 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.763 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.843 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:34.923 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.003 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.083 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.170 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.255 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.371 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.449 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.540 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.627 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.706 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.787 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.867 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:35.972 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.059 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.139 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.219 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.299 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.378 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.459 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.539 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.619 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.699 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.787 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.870 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:36.976 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.024 WARNING (MainThread) [homeassistant.components.sensor] Updating alfen_wallbox sensor took longer than the scheduled update interval 0:00:05 2024-04-30 18:23:37.050 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.131 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.211 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.290 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.331 ERROR (MainThread) [custom_components.alfen_wallbox.alfen] Unexpected error on UPDATE VALUE Cannot connect to host 192.168.5.5:443 ssl:<ssl.SSLContext object at 0x7f7ce74350> [Connect call failed ('192.168.5.5', 443)] 2024-04-30 18:23:37.331 DEBUG (MainThread) [custom_components.alfen_wallbox.number] Power Connector Max Current Socket 1 Value: 14 2024-04-30 18:23:37.332 DEBUG (MainThread) [custom_components.alfen_wallbox.number] Power Connector Max Current Socket 1 Value: 14 2024-04-30 18:23:37.371 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.451 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.531 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.615 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.700 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.787 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.867 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database} 2024-04-30 18:23:37.947 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database}

I don't get why it says "Cannot connect to host". I get the right Values from the Wallbox but cant set any.

I already deleted an re-added the device in homeassistant. It has not changed anything. In the MyEVE App and the ACE Installer I am able to change the Values manually.

Does anyone know how to fix this? Thank you!

leeyuentuen commented 2 months ago

interesting log. the question is now why there is no transaction. maybe this came because you don't use backoffice? or there is a possibility to clear the transaction? (do you see transaction in the ace installer)

maybe install now an old version of this to continue use? i'll check this when i'm back from holiday

Nenodema commented 2 months ago

I seems to have exactly the same issue.. I'm sure that i'm not logged in from any other devices.

2024-05-10 20:21:54.182 WARNING (MainThread) [homeassistant.components.sensor] Updating alfen_wallbox sensor took longer than the scheduled update interval 0:00:05
2024-05-10 20:21:54.202 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database}

&

2024-05-09 22:33:22.438 ERROR (MainThread) [custom_components.alfen_wallbox.alfen] Unexpected error on UPDATE VALUE Cannot connect to host 10.21.21.31:443 ssl:<ssl.SSLContext object at 0x7f58747b5c50> [Connection reset by peer]

\edit:

Downgrading to version 2.7.29 fixes the issue!

Maybe also an important thing to note: No backend configured.. and this seems to be the same issue as #110

leeyuentuen commented 1 month ago

I seems to have exactly the same issue.. I'm sure that i'm not logged in from any other devices.

2024-05-10 20:21:54.182 WARNING (MainThread) [homeassistant.components.sensor] Updating alfen_wallbox sensor took longer than the scheduled update interval 0:00:05
2024-05-10 20:21:54.202 DEBUG (MainThread) [custom_components.alfen_wallbox.alfen] Unknown line: 0_Empty transaction database}

&

2024-05-09 22:33:22.438 ERROR (MainThread) [custom_components.alfen_wallbox.alfen] Unexpected error on UPDATE VALUE Cannot connect to host 10.21.21.31:443 ssl:<ssl.SSLContext object at 0x7f58747b5c50> [Connection reset by peer]

\edit:

Downgrading to version 2.7.29 fixes the issue!

Maybe also an important thing to note: No backend configured.. and this seems to be the same issue as #110

this make me easier to fix the issue, I'll fix them

leeyuentuen commented 1 month ago

@Nenodema can you take a look and see if this beta fixes (2.8.6) the unknown line.. Also just curious, have you already charged before I suppose? but without a backend? https://github.com/leeyuentuen/alfen_wallbox/releases/tag/2.8.6

Nenodema commented 1 month ago

@Nenodema can you take a look and see if this beta fixes (2.8.6) the unknown line.. Also just curious, have you already charged before I suppose? but without a backend? https://github.com/leeyuentuen/alfen_wallbox/releases/tag/2.8.6

Thanks for you reply! Unfortunately the same issue with 2.8.6.

Version 2.7.29 is still working perfectly!

leeyuentuen commented 1 month ago

@Nenodema can you take a look and see if this beta fixes (2.8.6) the unknown line.. Also just curious, have you already charged before I suppose? but without a backend? https://github.com/leeyuentuen/alfen_wallbox/releases/tag/2.8.6

Thanks for you reply! Unfortunately the same issue with 2.8.6.

Version 2.7.29 is still working perfectly!

did you have the same error in the log?

Nenodema commented 1 month ago

@Nenodema can you take a look and see if this beta fixes (2.8.6) the unknown line.. Also just curious, have you already charged before I suppose? but without a backend? https://github.com/leeyuentuen/alfen_wallbox/releases/tag/2.8.6

Thanks for you reply! Unfortunately the same issue with 2.8.6. Version 2.7.29 is still working perfectly!

did you have the same error in the log?

Yes, lots of connection resets (again sure that i'm not logged in from any other devices!)