You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently version OCPP2.0.1 of libocpp requires the device model storage database to be initialized and set up before startup. Tooling for setting up the device model database is currently provided by a python initialization script .
For some charging stations that use libocpp, the initialization of the device model database needs to be executed on the target device, which usually do not support python.
Also the database migration support that has been added recently does currently not cover the device model database, but only the core database of ocpp2.0.1.
Describe your solution
A rewrite of the device model database initialization is required. The python initialization script can be used as a reference. The rewrite should provide the same functionality like the python initialization script and perform the steps at the start of the application. This includes:
Insert the variable attribute values based on a JSON config. This is an example of a OCPP JSON config.
The rewrite shall make use of the migration support to allow downgrade and upgrades of the device model database schema.
Additional context
In order to execute the device model database initialization on the target, the component_schemas need be to be installed on the target. The is currently not done in cmake.
The text was updated successfully, but these errors were encountered:
OCPP Version
OCPP2.0.1
Describe the problem
Currently version OCPP2.0.1 of libocpp requires the device model storage database to be initialized and set up before startup. Tooling for setting up the device model database is currently provided by a python initialization script .
For some charging stations that use libocpp, the initialization of the device model database needs to be executed on the target device, which usually do not support python.
Also the database migration support that has been added recently does currently not cover the device model database, but only the core database of ocpp2.0.1.
Describe your solution
A rewrite of the device model database initialization is required. The python initialization script can be used as a reference. The rewrite should provide the same functionality like the python initialization script and perform the steps at the start of the application. This includes:
The rewrite shall make use of the migration support to allow downgrade and upgrades of the device model database schema.
Additional context
In order to execute the device model database initialization on the target, the component_schemas need be to be installed on the target. The is currently not done in cmake.
The text was updated successfully, but these errors were encountered: