Skip to content

Commit

Permalink
Ocpp: start schedule in the past (#16263) (#16430)
Browse files Browse the repository at this point in the history
  • Loading branch information
kad49007 authored Sep 30, 2024
1 parent 50bbeea commit fdbae2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charger/ocpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (c *OCPP) createTxDefaultChargingProfile(current float64) *types.ChargingPr
ChargingProfilePurpose: types.ChargingProfilePurposeTxDefaultProfile,
ChargingProfileKind: types.ChargingProfileKindAbsolute,
ChargingSchedule: &types.ChargingSchedule{
StartSchedule: types.Now(),
StartSchedule: types.NewDateTime(time.Now().Add(-time.Minute)),
ChargingRateUnit: c.cp.ChargingRateUnit,
ChargingSchedulePeriod: []types.ChargingSchedulePeriod{period},
},
Expand Down

1 comment on commit fdbae2c

@etecprojekt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Der Commit hat unsere Probleme mit der ABL eMH3 ebenfalls gelöst. Bei Tests ist es mir ebenfalls aufgefallen, wenn die Uhrzeit manuell verstellt wurde, hat das ganze funktioniert. Vielen Dank 👍

Please sign in to comment.