SAFE-eV / OCMF-Open-Charge-Metering-Format

24 stars 13 forks source link

AllowOfflineTxForUnknownId with OCMF #21

Open metalzse opened 1 year ago

metalzse commented 1 year ago

In OCPP 1.6 there is a configuration AllowOfflineTxForUnknownId, which indicating when the charger is offline, and the incoming RFID is not in neither localList or Cache, with this configuration set to true, the charger is allowed to authorize the session. But there is no suitable Zuorderungsanteil OCPP for this.

This session is authorized by the OCPP standard, so the Zuorderungsanteil OCPP shall not be NONE, and this is also not part of CACHE nor WHITELIST.

Hence the question came up, what to put in this case? Any field case suggestion?

Thanks

lategoodbye commented 1 year ago

From my point of view this is a setting which is not compatible to Eichrecht. So there is no reason to represent it in OCMF.

metalzse commented 1 year ago

Thanks for your reply. I think this give me a hint how to proceed.

metalzse commented 1 year ago

Can you explain why the key is not compatible with Eichrecht? Is it because that Eichrecht requires the ID be authorized by any mean and this key allows a charge session without actual authorizing step?

lategoodbye commented 1 year ago

From my understanding a transaction according to Eichrecht needs a valid user profile, which is accountable. If AllowOfflineTxForUnknownId is set to true and the charging station is offline, there is a chance that the unknown ID token will get rejected after online connection has been re-established and the consumed power has to be payed by the CPO.

Strictly speaking this setting is compatible with Eichrecht as long as the ID token will be accepted afterwards from the backend (OCPP_AUTH). So this is a speculation at CPO expense.

Disclaimer: I don't speak for the safe e.V.