"Events-Any" or "Events-Change" does not fill data gaps

Posted on
Tue Feb 26, 2019 6:09 am
CrazyFin offline
Posts: 381
Joined: Jan 08, 2015
Location: Stockholm, SWEDEN

"Events-Any" or "Events-Change" does not fill data gaps

If I am using the data sources "Events-Any" or "Events-Change" and set the "Fill Data Gaps With Last Available Info" then IndigoPlotD does not fill those gaps with last known data.
It works fine for Average as the data source.

Here is a screenshot where the orange line is "Events-Change" while the red line is "Average":
GRAPH - Cigar storage PLASTIDOR-minute-S2.png
GRAPH - Cigar storage PLASTIDOR-minute-S2.png (90.47 KiB) Viewed 2323 times

As you can see above the orange line has a line drawn from the last known data point to the new datapoint instead of having the data in-between filled with last known data.

Posted on
Tue Feb 26, 2019 9:52 am
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: "Events-Any" or "Events-Change" does not fill data gaps

Events is not meant to work with fill gaps

What you see is a straight line between the events point.

Events are for rare events and should only be used as dots to indicate when something happened.

You could try histogram mode for the lines though. It might work but not sure.
events do not have data between the events. They are stored not in binned format ( one entry for each time bin) but just time;value when the events occurred


Sent from my iPhone using Tapatalk

Posted on
Tue Feb 26, 2019 10:30 am
CrazyFin offline
Posts: 381
Joined: Jan 08, 2015
Location: Stockholm, SWEDEN

Re: "Events-Any" or "Events-Change" does not fill data gaps

Ah ok, then it is all clear.

I have configured the data sources in IndigoPlotD with 60 second updates.
What kind of average do I get when I use the average as the data source? I am not able to find any information on how many time bins is included when I choose average as the data source value.

Posted on
Tue Feb 26, 2019 12:19 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

"Events-Any" or "Events-Change" does not fill data gaps

Regular data
1. at start read sql logger db. Fill bins (5min 1hour 1day) with ave min max etc - use options eg fill w last value if no data in time bin etc
2. During regular execution fill bins with current data = device state value. It is always present. Checked once a minute

Event data: Every time plot is generated read sql dB for CHANGES in data and only use
Time stamp ,value when value has changed or event happened - see definition of different events

Karl


Sent from my iPhone using Tapatalk

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron