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

Composite Schedule API #773

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Composite Schedule API #773

merged 1 commit into from
Sep 10, 2024

Conversation

Pietfried
Copy link
Contributor

@Pietfried Pietfried commented Sep 7, 2024

Describe your changes

This PR adds the API for composite schedules for OCPP2.0.1:

  • get_composite_schedule reflects what the CSMS can request using a GetCompositeSchedule.req
  • get_all_composite_schedules is a convenience function that returns the composite schedules for every single evse_id including 0
  • EvseManagerInterface was extended to be able to easily retrieve the number of evses
  • get_composite_schedule_internal was introduced to be able to reuse the code

Issue ticket number and link

This PR in everest-core makes use of the API to integrate the smart charging functionality in EVerest.

Checklist before requesting a review

* Make use of get_composite_schedule_internal in handle_get_composite_schedule_req
* Added method docs to public functions
* extended EvseManager with get_number_of_evses function

Signed-off-by: pietfried <pietgoempel@gmail.com>
@Pietfried Pietfried merged commit 4a62b49 into main Sep 10, 2024
4 checks passed
@Pietfried Pietfried deleted the feature/composite-schedules-api branch September 10, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants