Skip to content

Conversation

@mhei
Copy link
Contributor

@mhei mhei commented Jan 14, 2026

Describe your changes

It seems that all open-source BSP modules allow to manually set hardware capabilities via config options. So having additional limits in EvseManager can be useful, but is also hard to maintain in real deployments. Especially, when hardware caps are reported kind of dynamically by the BSP (for example when using DIP switches and rotary encoder switches).

As discussed, this PR was updated to remove these parameters.

Issue ticket number and link

none

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

@corneliusclaussen
Copy link
Contributor

We could also remove the limits options from evse Manager altogether. It is more of a left over from times before the bsp reported capabilities. It is maybe cleaner to only set it in the bsp. What do you think?

@mhei
Copy link
Contributor Author

mhei commented Jan 15, 2026

That would be perfectly fine with me. I didn't want to destroy any existing use-cases, hence this conservative approach. But I'm happy to amend this PR to remove both options.

@mhei mhei force-pushed the feature/pr-evsemanager-dont-fiddle-bsp-caps branch from af1c8fc to bf221ec Compare January 16, 2026 07:32
@mhei mhei changed the title EvseManager: introduce config option to gate applying current config limits EvseManager: remove config options for current limits Jan 16, 2026
Pietfried
Pietfried previously approved these changes Jan 16, 2026
Copy link
Contributor

@cburandt cburandt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please have a look at the existing config yamls and remove the config options you are removing from there as well (I think at least config-sil.yaml uses them).

Once upon a time, the BSP modules had no capabilities, yet it was
still necessary to define limits for the EVSE. At this point, these
two config parameters were introduced.
However, meanwhile the BSP modules report was is possible by hardware
and very often, this is also user configurable.
So the need for these two parameters is gone and it would also be
hard to maintain in real deployments.
Especially, when hardware caps are reported kind of dynamically by the BSP
(for example when using DIP switches and/or rotary encoder switches).

Signed-off-by: Michael Heimpold <[email protected]>
@mhei mhei force-pushed the feature/pr-evsemanager-dont-fiddle-bsp-caps branch from bf221ec to b8ef825 Compare January 16, 2026 11:31
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.

4 participants