MicroOcpp
MicroOcpp copied to clipboard
Support configuration of Relative profile start time
The OCPP 1.6 specification §7.9 indicates that when ChargingProfileKindType is set to Relative:
Schedule periods are relative to a situation-specific start point (such as the start of a Transaction) that is determined by the charge point.
Currently, MicroOcpp always assumes that Relative profiles are relative to the start of charging. It would be great for the library to include support that allows the charge point to make this determination.
For example, we have an application where it would be preferred for the profile period to be relative to the time the TxProfile was received via a SetChargingProfile. It would be great to have a hook into the library to support that configuration.