Skip to content

Conversation

@Pietfried
Copy link
Contributor

@Pietfried Pietfried commented Apr 21, 2023

New OCPP2.0.1 Message Support

  • added handling of Reset.req and Authorize.req / Authorize.conf
  • Added support for sending MeterValue.req and MeterValue within TransactionEvent.req
  • added handling for ChangeAvailability.req

Misc:

  • updated componenet schemas and device model management
  • added device_model_management_base as base class for configuring and retrieving components and variables
  • moved database_handler to v16
  • added database and database handler for v201
  • added support for AuthCache
  • added first support for DataTransfer.req (rejecting always) and NotifyEvent.req

@Pietfried Pietfried marked this pull request as draft April 21, 2023 10:13
Copy link
Contributor

@a-w50 a-w50 left a comment

Choose a reason for hiding this comment

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

Why did the compenent_schemas change?

@Pietfried
Copy link
Contributor Author

Why did the compenent_schemas change?

Some names of variables changed and the description of some variables have been in the wrong format. The code generation for the component schemas is based on a modified version of the spec appendix csv

@Pietfried Pietfried force-pushed the pg-ocpp201-basic-impl branch from fca0fc6 to 60c499c Compare April 25, 2023 16:41
@Pietfried Pietfried force-pushed the pg-ocpp201-basic-impl branch 5 times, most recently from ecd2cd9 to fd6869b Compare May 14, 2023 15:27
@Pietfried Pietfried marked this pull request as ready for review May 14, 2023 18:02
@Pietfried Pietfried requested a review from hikinggrass May 14, 2023 18:02
@Pietfried Pietfried changed the title Basic Support for Authorization, Reset, Transactions and MeterValues Added functionality for Basic Implementation of OCPP2.0 May 14, 2023
Copy link
Member

@hikinggrass hikinggrass left a comment

Choose a reason for hiding this comment

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

Just a few stylistic things (missing newlines, codacy issues) otherwise good to merge

- updated componenet schemas and device model management
- added device_model_management_base as base class for configuring and retrieving components and variables
- Added support for sending MeterValue.req and MeterValue within TransactionEvent.req
- Considering all configuration keys of SampledDataCtrlr and AlignedDataCtrlr
- moved database_handler to v16
- added database handler for v201
- added support for AuthCache
- added handling for ChangeAvailability.req
- added first support for DataTransfer.req (rejecting always) and NotifyEvent.req

Signed-off-by: pietfried <pietgoempel@gmail.com>
@Pietfried Pietfried force-pushed the pg-ocpp201-basic-impl branch from fd6869b to 0ec0b86 Compare May 24, 2023 15:58
@Pietfried Pietfried merged commit f67ba30 into main May 24, 2023
@Pietfried Pietfried deleted the pg-ocpp201-basic-impl branch May 24, 2023 16:13
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