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

Support for Sync EV Charger #510

Closed
FingalP opened this issue May 10, 2022 · 3 comments · Fixed by #612
Closed

Support for Sync EV Charger #510

FingalP opened this issue May 10, 2022 · 3 comments · Fixed by #612

Comments

@FingalP
Copy link

FingalP commented May 10, 2022

Is your feature request related to a problem? Please describe.
The ocpp integration doesn't work with my Sync EV charger. It claims to be OCPP 1.6 compliant but it isn't fully. I get a few different errors/issues:

  • Sync EV charger doesn't recognise SupportedFeatureProfiles - it returns it as an unknown key, rather than [""] as the code expects for a charger which only supports Core.
  • ChangeAvailability requests just time out. By default, this causes an error and the whole thing reconnects, which makes it unusable.
  • Some metrics are set with the key as the connector_id, which is an integer. Homeassistant fails to log this because it expects keys to be strings.

Describe the solution you'd like
I've made a fork https://github.com/FingalP/ocpp which has workarounds. I'm not sure whether this is something which should be merged into the main repo because it's supporting a charger which isn't fully OCPP compliant, but it would be convenient for me if it was.

Describe alternatives you've considered
I have contacted Sync EV to see if they will update their code to make it fully OCPP compliant. No response so far.

Additional context
I work for Carbon Coop, integrating with EV chargers for the Powershaper Flex project and the REScoop VPP project.

@drc38
Copy link
Collaborator

drc38 commented May 13, 2022

The SupportedFeatureProfiles and connector_id changes look fine to me. I think there is an easier way to deal with change availability, in post_connect move await self.set_availability() to the "nice to have" section. It should still timeout but then reconnect successfully.

Also I'm interested in whether you have an update on the OpenDSR project, it'd be good to do something similar in NZ?

@danharvey
Copy link

@FingalP - how were you able to get SyncEV to connect to the central systems ws? I can't see any settings in the https://192.168.4.1/index.html pages of the admin site?

Each charger comes with it's own ws url which guess is just a rely of the same web socket?

@FingalP
Copy link
Author

FingalP commented Jul 19, 2022

Hi @danharvey

I went to the "Admin Panel" page and enter the PIN (which is just admin).

Then you can modify the websocket address (they call it Web Address) in the Backend Details tab. A restart is required after that.

Hope that helps!

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

Successfully merging a pull request may close this issue.

3 participants