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

Add recommended, additional configuration keys for OCMF #819

Merged
merged 2 commits into from
May 23, 2022

Conversation

mhei
Copy link
Contributor

@mhei mhei commented May 4, 2022

The OCMF specification by SAFE e.V. recommends in the Best Practices part
three new configuration keys for OCPP, see
https://github.com/SAFE-eV/OCMF-Open-Charge-Metering-Format/blob/master/OCMF-de.md

Add these keys to the list, so that users do not need to enter it manually.

It should not harm, since OCPP clients which do not know these keys should
handle it gracefully.

Signed-off-by: Michael Heimpold mhei@heimpold.de

@mhei mhei force-pushed the additional-ocmf-ocpp-config-keys branch from 2123cb9 to 085a2c0 Compare May 12, 2022 18:40
@goekay
Copy link
Member

goekay commented May 16, 2022

hey @mhei thanks for your contribution. i see that you overwrote your commit, but my suggestions are still not part of that. in fact, the new commit looks the same. what changed?

@mhei
Copy link
Contributor Author

mhei commented May 17, 2022

You're right, I just rebased my commit because I saw that you added something about PR and CI interaction; to be honest, I did not see your suggestions nor I received a notification by email... I'd be happy if you could repeat your suggestions again.

@goekay
Copy link
Member

goekay commented May 17, 2022

oh ok, here is my comment:

i would suggest to leave a hint to the UI user that this key is specific to OCMF. maybe modifying the valueType field and adding "specific to OCMF" at the end, e.g. string, specific to OCMF. this is only used for web page rendering and should not affect the logic.

mhei added 2 commits May 17, 2022 21:33
The OCMF specification by SAFE e.V. recommends in the Best Practices part
three new configuration keys for OCPP, see
https://github.com/SAFE-eV/OCMF-Open-Charge-Metering-Format/blob/master/OCMF-de.md

Add these keys to the list, so that users do not need to enter it manually.

It should not harm, since OCPP clients which do not know these keys should
handle it gracefully.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
For some items, the listbox is too small to disply the long-ish
configuration key name plus a type hint/note.

So add a html title property for each listbox item, so that
browser show the full string also as tooltip.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
@mhei mhei force-pushed the additional-ocmf-ocpp-config-keys branch from 085a2c0 to 397011b Compare May 17, 2022 19:33
@goekay
Copy link
Member

goekay commented May 23, 2022

thanks @mhei! i will be merging this PR after builds and tests finish.

@goekay goekay merged commit 0ff7360 into steve-community:master May 23, 2022
@mhei mhei deleted the additional-ocmf-ocpp-config-keys branch May 23, 2022 20:11
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.

None yet

2 participants