Skip to content

Add support for GetConfiguration messages in OCPP 1.6#90

Open
Dash wants to merge 2 commits intodallmann-consulting:mainfrom
Dash:feature/GetConfig
Open

Add support for GetConfiguration messages in OCPP 1.6#90
Dash wants to merge 2 commits intodallmann-consulting:mainfrom
Dash:feature/GetConfig

Conversation

@Dash
Copy link

@Dash Dash commented Apr 17, 2025

Added support for GetConfiguration messages. Unfortunately I only have a 1.6 charge point, so I've only added message support for this, but it shouldn't break where charge points are 2.0; instead the information won't be displayed. Obviously open for anyone else to add the relevant handlers in.

These messages bring back all the key/value pairs from the charge point which define the operation, which can be useful to know when troubleshooting. When navigating into a charge point through the admin user interface, it will send a GetConfiguration message to the charge point, which assuming the charge point responds, will be displayed.

This isn't entirely feature complete as there is paging support in OCPP to handle a limited number of values being returned in small batches. I'm not sure how much that's actually used in the real world (my charge point claims only to allow single values to be retrieved, but it then returns all of them).

The obvious next step would be to make the values display on an input form and allow the submission of new values.

I've tried to emulate the procedural coding style and approaches already taken for consistency.

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 this pull request may close these issues.

1 participant