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

OCPP: Reinit after BootNotification received #15671

Closed
premultiply opened this issue Aug 25, 2024 · 3 comments
Closed

OCPP: Reinit after BootNotification received #15671

premultiply opened this issue Aug 25, 2024 · 3 comments
Assignees
Labels
backlog Things to do later

Comments

@premultiply
Copy link
Member

Currently we initialize stations (and connectors) only once after initial connection.
If the charger is restarted it will just reconnect but it will never be configured again until evcc is restarted too.
In many cases like simple network interruption this should be fine.

But there are other cases where the station is rebooted (configuration change, power cycle, RCD tripped, firmware update, manual reboot, watchdog reset, ...) but evcc keeps running. This can be especially the case when several stations are connected.

In this case operation may continue with the internal (factory) default settings and may not respond as expected according to the initial configuration. This may lead to unusual und unexpected behavior.

To fix this we need to monitor for BootNotification requests and run the initialization routine again for each station and connector where they occured.

@premultiply premultiply added enhancement New feature or request devices Specific device support backlog Things to do later labels Aug 25, 2024
@andig andig removed their assignment Aug 25, 2024
@andig
Copy link
Member

andig commented Aug 25, 2024

This is not OCPP specific. Currently wontfix.

@andig andig removed enhancement New feature or request devices Specific device support labels Aug 25, 2024
@andig
Copy link
Member

andig commented Aug 29, 2024

Not currently a topic. For time being might need restart of evcc.

@andig andig closed this as completed Aug 29, 2024
@premultiply
Copy link
Member Author

I am pretty sure that we could simply move the relevant configuration calls out of the charger init procedure itself so it could be recalled each time a BootNotification is received without the need for a complete restart.

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

No branches or pull requests

2 participants