-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for OCPP2.0.1 Plug&Charge (#588)
Added support for OCPP2.0.1 Plug&Charge: * Changed evse_security.yaml interface: Now two separate functions exist to get ocsp request data to be able to request the ocsp data for MO contract certificates * LeafCertificateType enum was extended with the additional value: MO * Refactored EvseSecurity and the lib/ocpp to address the required types/interface changes * Added conversion function in OCPP201 module * Changed EvseV2G module so that it always includes the OCSP request data of the contract certificate and optionally includes the certificate in the ProvidedIdToken * Added P&C config for OCPP201 * only adding iso15118HashData to provided token if contract chain could successfully be validated against MO root --------- Signed-off-by: pietfried <[email protected]> Signed-off-by: AssemblyJohn <[email protected]> Co-authored-by: AssemblyJohn <[email protected]>
- Loading branch information
1 parent
a8408d3
commit b1c9c4f
Showing
17 changed files
with
378 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,192 @@ | ||
active_modules: | ||
iso15118_charger: | ||
module: EvseV2G | ||
config_module: | ||
device: auto | ||
tls_security: allow | ||
verify_contract_cert_chain: false | ||
connections: | ||
security: | ||
- module_id: evse_security | ||
implementation_id: main | ||
iso15118_car: | ||
module: PyEvJosev | ||
config_module: | ||
device: auto | ||
supported_ISO15118_2: true | ||
tls_active: true | ||
is_cert_install_needed: true | ||
evse_manager_1: | ||
module: EvseManager | ||
config_module: | ||
connector_id: 1 | ||
three_phases: true | ||
has_ventilation: true | ||
country_code: DE | ||
evse_id: "DE*PNX*00001" | ||
session_logging: true | ||
session_logging_xml: false | ||
session_logging_path: /tmp/everest-logs | ||
ac_hlc_enabled: true | ||
ac_hlc_use_5percent: false | ||
ac_enforce_hlc: false | ||
connections: | ||
bsp: | ||
- module_id: yeti_driver_1 | ||
implementation_id: board_support | ||
powermeter_grid_side: | ||
- module_id: yeti_driver_1 | ||
implementation_id: powermeter | ||
slac: | ||
- module_id: slac | ||
implementation_id: evse | ||
hlc: | ||
- module_id: iso15118_charger | ||
implementation_id: charger | ||
evse_manager_2: | ||
module: EvseManager | ||
config_module: | ||
connector_id: 2 | ||
three_phases: true | ||
has_ventilation: true | ||
country_code: DE | ||
evse_id: "2" | ||
session_logging: true | ||
session_logging_xml: false | ||
session_logging_path: /tmp | ||
ac_hlc_enabled: false | ||
ac_hlc_use_5percent: false | ||
ac_enforce_hlc: false | ||
connections: | ||
bsp: | ||
- module_id: yeti_driver_2 | ||
implementation_id: board_support | ||
powermeter_grid_side: | ||
- module_id: yeti_driver_2 | ||
implementation_id: powermeter | ||
slac: | ||
- module_id: slac | ||
implementation_id: evse | ||
hlc: | ||
- module_id: iso15118_charger | ||
implementation_id: charger | ||
yeti_driver_1: | ||
module: JsYetiSimulator | ||
config_module: | ||
connector_id: 1 | ||
yeti_driver_2: | ||
module: JsYetiSimulator | ||
config_module: | ||
connector_id: 2 | ||
slac: | ||
module: JsSlacSimulator | ||
car_simulator_1: | ||
module: JsCarSimulator | ||
config_module: | ||
connector_id: 1 | ||
auto_enable: true | ||
auto_exec: false | ||
auto_exec_commands: sleep 1;iec_wait_pwr_ready;sleep 1;draw_power_regulated 16,3;sleep 30;unplug | ||
connections: | ||
simulation_control: | ||
- module_id: yeti_driver_1 | ||
implementation_id: yeti_simulation_control | ||
ev: | ||
- module_id: iso15118_car | ||
implementation_id: ev | ||
slac: | ||
- module_id: slac | ||
implementation_id: ev | ||
car_simulator_2: | ||
module: JsCarSimulator | ||
config_module: | ||
connector_id: 2 | ||
auto_enable: true | ||
auto_exec: false | ||
connections: | ||
simulation_control: | ||
- module_id: yeti_driver_2 | ||
implementation_id: yeti_simulation_control | ||
ev: | ||
- module_id: iso15118_car | ||
implementation_id: ev | ||
slac: | ||
- module_id: slac | ||
implementation_id: ev | ||
ocpp: | ||
module: OCPP201 | ||
connections: | ||
evse_manager: | ||
- module_id: evse_manager_1 | ||
implementation_id: evse | ||
- module_id: evse_manager_2 | ||
implementation_id: evse | ||
auth: | ||
- module_id: auth | ||
implementation_id: main | ||
system: | ||
- module_id: system | ||
implementation_id: main | ||
security: | ||
- module_id: evse_security | ||
implementation_id: main | ||
evse_security: | ||
module: EvseSecurity | ||
config_module: | ||
private_key_password: "123456" | ||
token_provider_1: | ||
module: DummyTokenProviderManual | ||
auth: | ||
module: Auth | ||
config_module: | ||
connection_timeout: 120 | ||
selection_algorithm: PlugEvents | ||
connections: | ||
token_provider: | ||
- module_id: token_provider_1 | ||
implementation_id: main | ||
- module_id: ocpp | ||
implementation_id: auth_provider | ||
- module_id: evse_manager_1 | ||
implementation_id: token_provider | ||
- module_id: evse_manager_2 | ||
implementation_id: token_provider | ||
token_validator: | ||
- module_id: ocpp | ||
implementation_id: auth_validator | ||
evse_manager: | ||
- module_id: evse_manager_1 | ||
implementation_id: evse | ||
- module_id: evse_manager_2 | ||
implementation_id: evse | ||
energy_manager: | ||
module: EnergyManager | ||
connections: | ||
energy_trunk: | ||
- module_id: grid_connection_point | ||
implementation_id: energy_grid | ||
grid_connection_point: | ||
module: EnergyNode | ||
config_module: | ||
fuse_limit_A: 40.0 | ||
phase_count: 3 | ||
connections: | ||
price_information: [] | ||
energy_consumer: | ||
- module_id: evse_manager_1 | ||
implementation_id: energy_grid | ||
- module_id: evse_manager_2 | ||
implementation_id: energy_grid | ||
powermeter: | ||
- module_id: yeti_driver_1 | ||
implementation_id: powermeter | ||
api: | ||
module: API | ||
connections: | ||
evse_manager: | ||
- module_id: evse_manager_1 | ||
implementation_id: evse | ||
system: | ||
module: System | ||
|
||
x-module-layout: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.