.. _everest_modules_OCPP: #### OCPP #### | A OCPP charge point / charging station module, currently targeting OCPP-J 1.6. DEPRECATED in 2026.10.0, earliest removal in 2027.04.0: superseded by the combined OCPPmulti module, which supports OCPP 1.6, 2.0.1 and 2.1 in one module. See the how-to guide "Migrate to the Combined OCPP Module" for the upgrade path. ************************* Handwritten Documentation ************************* .. include:: index.inc ************************ Auto-Generated Reference ************************ Module Configuration ==================== | **ChargePointConfigPath**: *string* | *default: "ocpp-config.json"* | Path to the ocpp configuration file. Libocpp defines a JSON schema for this file. Please refer to the documentation of libocpp for more information about the configuration options. | **UserConfigPath**: *string* | *default: "user_config.json"* | Path to the file of the OCPP user config. The user config is used as an overlay for the original config defined by the ChargePointConfigPath. Any changes to configuration keys turned out internally or by the CSMS will be written to the user config file. | **DatabasePath**: *string* | *default: "/tmp/ocpp_1_6_charge_point"* | Path to the persistent SQLite database directory. Please refer to the libocpp documentation for more information about the database and its structure. | **DeviceModelDatabasePath**: *string* | *default: "device_model_storage.db"* | Path to the SQLite database file for the OCPP device model. Relative paths are resolved against this module's share path. Required when ConfigBackend is "device_model" or "device_model_with_migration". | **DeviceModelDatabaseMigrationPath**: *string* | *default: "device_model_migrations"* | Path to the migration files for the OCPP device model database. Relative paths are resolved against this module's share path. Required when ConfigBackend is "device_model" or "device_model_with_migration". | **DeviceModelConfigPath**: *string* | *default: "component_config"* | Path to the OCPP device model component config directory used as the baseline for the device model. Relative paths are resolved against this module's share path. Required when ConfigBackend is "device_model" or "device_model_with_migration". | **Ocpp16KeyMappingsPath**: *string* | *default: ""* | Optional path to a YAML file that maps further OCPP 1.6 configuration keys to device model variables. Relative paths are resolved against this module's share path. If empty, only built-in mappings are used. Used with ConfigBackend "device_model" and "device_model_with_migration", both for the one-time migration and at runtime. | **ConfigBackend**: *string* | *default: "legacy"* | Selects the configuration storage backend for OCPP 1.6: - "legacy" (default): use the legacy OCPP 1.6 JSON file. ChargePointConfigPath must exist. - "device_model": bootstrap device model from component configs. All DeviceModel* paths must be set. - "device_model_with_migration": like "device_model", but on first startup migrates OCPP 1.6 JSON | values into the device model database. ChargePointConfigPath must exist for the migration source. | **EnableDeviceModelFallbackToLegacyJson**: *boolean* | *default: False* | Only relevant when ConfigBackend is "device_model" or "device_model_with_migration". If true and device model initialization or integrity check fails, fall back to the JSON backend. Requires ChargePointConfigPath to exist. | **EnableExternalWebsocketControl**: *boolean* | *default: False* | If true websocket can be disconnected and connected externally. This parameter is for debug and testing purposes. | **PublishChargingScheduleIntervalS**: *integer* | *default: 30* | Interval in seconds in which charging schedules received from OCPP are be published over MQTT and signalled to connected modules. If the value is set to 0, charging schedules are only published when changed by CSMS | **PublishChargingScheduleDurationS**: *integer* | *default: 600* | Duration in seconds that defines the duration of the requested charging schedules starting from now | **MessageLogPath**: *string* | *default: "/tmp/everest_ocpp_logs"* | Path to directory where logs of all OCPP messages are written to | **MessageQueueResumeDelay**: *integer* | *default: 0* | Time (seconds) to delay resuming the message queue after reconnecting. This parameter was introduced because some OCTT test cases require that the first message after a reconnect is sent by the CSMS. | **RequestCompositeScheduleUnit**: *string* | *default: "A"* | Unit in which composite schedules are requested and shared within EVerest. It is recommended to use Amps for AC and Watts for DC charging stations. Allowed values: | - 'A' for Amps | - 'W' for Watts | **DelayOcppStart**: *integer* | *default: 0* | Small delay in time (milliseconds) to start the ocpp chargepoint to allow time for the rest of everest to update the connector status. This is only used to prevent issues from passing by availlable before preparing on a restart. | **ResetStopDelay**: *integer* | *default: 0* | Time (seconds) to delay the stopping of the charge point so that the CSMS has enough time to respond to the charge point's last messages before resetting. | **Ocpp16NetworkConfigSlot**: *integer* | *default: 1* | NetworkConfiguration slot number that OCPP 1.6 connection details (CentralSystemURI, SecurityProfile, AuthorizationKey, HostName, ChargePointId) are migrated to during the one-time device model migration. Any existing attribute values in the target slot are overwritten. Set to 0 to skip migration of network connection details entirely. Provides ======== | **main**: :ref:`ocpp_1_6_charge_point ` | This is a OCPP 1.6 charge point | **auth_validator**: :ref:`auth_token_validator ` | Validates the provided auth token with OCPP | **auth_provider**: :ref:`auth_token_provider ` | Provides auth tokens from OCPP | **data_transfer**: :ref:`ocpp_data_transfer ` | OCPP data transfer towards the CSMS | **ocpp_generic**: :ref:`ocpp ` | Generic OCPP interface. | **session_cost**: :ref:`session_cost ` | Send session cost Requirements ============ | **charger_information**: :ref:`charger_information ` 0..1 | **evse_manager**: :ref:`evse_manager ` 1..128 | **evse_energy_sink**: :ref:`external_energy_limits ` 0..129 | **reservation**: :ref:`reservation ` 1 | **auth**: :ref:`auth ` 1 | **system**: :ref:`system ` 1 | **security**: :ref:`evse_security ` 1 | **data_transfer**: :ref:`ocpp_data_transfer ` 0..1 | **display_message**: :ref:`display_message ` 0..1 | **extensions_15118**: :ref:`iso15118_extensions ` 0..128 ******** Metadata ******** Authors ======= | Kai-Uwe Hermann | Piet Gömpel License ======= | https://opensource.org/licenses/Apache-2.0