Releases: citrineos/citrineos-ocpi
Releases · citrineos/citrineos-ocpi
v0.2.0
Admin Endpoints added:
- Registration: Generate Credentials_Token_A, Un-Register client, Refresh client credentials
- Tokens: Refresh cache from MSP
- Locations & Tariffs: Admin CRUD
Push functionality:
- Asynchronous response for Commands & ChargingProfiles
- Session PATCH during charging transaction
- Real-time authorization for Tokens
Refactor:
- Datasource classes added for modules which share data models with Core
Bugfixes:
- Session/CDR Location, Token, & Tariff mapping works now
- Paginated endpoint respects params & returns accurate X-Limit, X-Total-Count, Link headers
v0.1.1
Miscellaneous bugfixes & features:
- Asynchronous pushes now have routing headers
- Charging Profiles Push
- Link header in paginated responses
- Locations & Tariffs correctly populated on Sessions & Cdrs
- Charging period generation on sessions & cdrs corrected (was missing dimensions in early periods)
v0.1.0
First release for CitrineOS OCPI 2.2.1 support!
Reference quickstart guide for instructions on using this library with an instance of CitrineOS core.
Features:
- Registration Modules (Credentials & Versions) with an Admin endpoint for triggering Registration with an MSP partner with a CREDENTIALS_TOKEN_A
- Locations: Ability to create locations via Directus; Paginated GET; EVSE Patch broadcast to MSP partners when StatusNotification is received
- Sessions & Cdrs: Mapped from OCPP TransactionEvents; Paginated GETs; Session PUT on every TransactionEvent with a Cdr POST on 'Ended' TransactionEvents to MSP partner who owns the token used to start session.
- Tariffs: Ability to create Tariffs via Directus; Paginated GET; must have a Tariff associated with the StationId of each charger used for Sessions & Cdrs to generate
- Tokens: Ability to receive Tokens from MSP partners and use them for authenticating EV drivers
- ChargingProfiles: Ability to receive Profiles from MSP partners and push them down to charging stations using OCPP 2.0.1 SmartCharging messages
- Commands: Ability to receive START and STOP commands from MSP partners and push them down to charging stations using RequestRemoteStart & RequestRemoteStop