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: do not return error on setup #15853

Merged
merged 2 commits into from
Sep 2, 2024
Merged

Ocpp: do not return error on setup #15853

merged 2 commits into from
Sep 2, 2024

Conversation

premultiply
Copy link
Member

Fixes #15852

@premultiply premultiply added the bug Something isn't working label Sep 2, 2024
@premultiply premultiply requested a review from andig September 2, 2024 00:55
@andig andig merged commit f5547ba into master Sep 2, 2024
6 checks passed
@andig andig deleted the fix/ocpp-wsping-failed branch September 2, 2024 05:25
@andig
Copy link
Member

andig commented Sep 2, 2024

Imho we should not configure this at all.

@premultiply
Copy link
Member Author

We have to configure it if we want the chargers reconnect in time.

@andig
Copy link
Member

andig commented Sep 2, 2024

I don't see any indication that this changes anything. The charger would already notice a dropped TCP connection afaikt, independently from the websocket ping. That's due to the fact that evcc continually sends messages to the charger (which is not the case with an idle websocket connected). The timeout does not do anything in our scenario imho.

@premultiply premultiply mentioned this pull request Sep 2, 2024
@premultiply
Copy link
Member Author

premultiply commented Sep 2, 2024

It is the station (CP) configuration, not CS.
The CP is configured here to ping the CS in time, not in intervals of 5, 10, 15, 30 Minutes as often set as default for GSM connections!

This makes the CP detect a loss of connection MUCH faster so it can reconnect in time.

mabunixda added a commit to mabunixda/evcc that referenced this pull request Sep 4, 2024
* master:
  Fix status reason  ot updated (evcc-io#15873)
  Translations update from Hosted Weblate (evcc-io#15723)
  chore: upgrade libraries
  Fronius Wattpilot: re-add (evcc-io#15843)
  chore: upgrade dependencies
  Ocpp: do not return error on setup (evcc-io#15853)
  EEbus: only disable recommendations if available (evcc-io#15829)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OCPP: if setting WebSocketPingInterval is NotSupported in nightly, ocpp setup will fail
2 participants