-
Notifications
You must be signed in to change notification settings - Fork 125
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
Assign the same timestamp to measurements from a single transmission #426
Comments
[EDIT: i i analyzed SML instead if the requested D0 here - but both have the same bug ] this issue should only occur when also, your interpretation does not seem quite true. vzlogger/src/protocols/MeterSML.cpp Line 279 in 1a6e10b
but does attach a new microsecod-precision timestamp to each "line" (message) (when use_local_time is set):vzlogger/src/protocols/MeterSML.cpp Line 333 in 1a6e10b
actually the differences between those timestamps should be really, really tiny, as it's differences are only due to the execution time of the C code. but the fix should be trivial, just generate a timestamp in after |
@workoft: ping |
Meters with d0 interface will typically transmit several values within one burst. vzlogger does not group these bursts, but instead treats each line individually. This causes values from a single burst to have slightly different timestamps, which in turn is ugly if you are trying to do calculations with these measurements.
Is there a way to assign a single timestamp to all values of one burst, such as by re-using timestamps that aren't older than a specified time? Or by specifying the first channel that is transmitted as the timestamp channel and having all other channels just copy the last timestamp from that channel?
This is related to issue #417 - the user is asking to group measurements in the database (but also from different meters). I'm asking how to assign the same timestamp to measurements from one transmission burst.
The text was updated successfully, but these errors were encountered: