energietransitie / needforheat-generic-firmware

Common source code (library) for NeedForHeat measurement devices
https://www.energietransitiewindesheim.nl/needforheat-generic-firmware/
Apache License 2.0
4 stars 1 forks source link

Set current timestamp based on scheduler start #68

Closed n-vr closed 1 year ago

n-vr commented 2 years ago

Trello: https://trello.com/c/wgBKh6pz

The current measurement time used to be based on the current time, which could cause timestamps to diverge by 1 minute. The current measurement time is now based on when the scheduler started.

henriterhofte commented 1 year ago

tested with 12 BT addresses (collecting 0 responses from 12 BT addresses takes more than one minute). Using a timestamp aligned with start of measurement task now works