Skip to content

Fix MeterValues PreBoot year 1970 timestamps#354

Merged
matth-x merged 2 commits intomainfrom
fix/meterval-1970-timestamp
Aug 15, 2024
Merged

Fix MeterValues PreBoot year 1970 timestamps#354
matth-x merged 2 commits intomainfrom
fix/meterval-1970-timestamp

Conversation

@matth-x
Copy link
Owner

@matth-x matth-x commented Aug 15, 2024

When a charger is running a transaction while it doesn't have the OCPP timestamp from the BootNotification response yet (possible in PreBoot mode), then any initiated MeterValues request had a 1970-01-01... timestamp. That timestamp is adjusted now after receiving the BootNotification so that the time is displayed correctly in the backend system.

@matth-x matth-x merged commit a9213ec into main Aug 15, 2024
@matth-x matth-x deleted the fix/meterval-1970-timestamp branch August 15, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant