You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a gas meter sensor that gets reading every few minutes using rtl-433 (not constant interval). I set up since last night ~10PM, so I have these readings since last night:
10.25PM, 84,170
10:40PM, 84,172
11:15PM, 84,174
6:50AM, 84,176
7:30AM, 84,178
8:40AM, 84,180
9:45AM, 84,182
10:20AM, 84,184
11AM, 84,186
11:55AM, 84,188
Now is 2:55PM
So I expect below code to report usage of 18 (=84,188 - 84,170) for the last 24 hours. However with the 24 hours hourly bar chart, it only has 2 bars with data, each has 2 usage, so total only 4 (instead of 18).
If I remove "points_per_hour: 1", I will get 4 bars each with 2 usage, so total 8, still less than 18.
And if I switch to line chart, I am surprised to see a data point of 84,171! But all my records have even numbers, no odd numbers.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I don't know if this is a bug or something.
I have a gas meter sensor that gets reading every few minutes using rtl-433 (not constant interval). I set up since last night ~10PM, so I have these readings since last night:
Now is 2:55PM
So I expect below code to report usage of 18 (=84,188 - 84,170) for the last 24 hours. However with the 24 hours hourly bar chart, it only has 2 bars with data, each has 2 usage, so total only 4 (instead of 18).
If I remove "points_per_hour: 1", I will get 4 bars each with 2 usage, so total 8, still less than 18.
And if I switch to line chart, I am surprised to see a data point of 84,171! But all my records have even numbers, no odd numbers.
What am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions