Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MeterValues PreBoot year 1970 timestamps #354

Merged
merged 2 commits into from
Aug 15, 2024

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
5 checks passed
@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