Understanding the data logs

Started by HeneryH, December 18, 2017, 12:24:37 PM

HeneryH

I've setup some of my moteinos with the Solar/SuperCap and started looking at the logs to determine how well the solar/cap perforamance is working.  I'm confused by what I see though.

Why is their incomplete data in the logs?  I would have thought every report-in would have all three metrics.  Can someone please explain this to me?


excel_timestamp   local_time            V      RSSI      M
12/18/17 4:02 PM   12/18/17 11:02 AM      4.91   -65   
12/18/17 5:02 PM   12/18/17 12:02 PM      4.91            1
12/18/17 4:02 PM   12/18/17 11:02 AM            -64      1
12/18/17 4:24 PM   12/18/17 11:24 AM            -62   
12/18/17 4:29 PM   12/18/17 11:29 AM            -65      1
12/18/17 4:30 PM   12/18/17 11:30 AM            -63   
12/18/17 4:35 PM   12/18/17 11:35 AM            -65   
12/18/17 4:50 PM   12/18/17 11:50 AM            -66      1
12/18/17 4:52 PM   12/18/17 11:52 AM            -62   
12/18/17 4:56 PM   12/18/17 11:56 AM            -65      1
12/18/17 4:57 PM   12/18/17 11:57 AM            -61   
12/18/17 4:58 PM   12/18/17 11:58 AM            -63      1
12/18/17 5:03 PM   12/18/17 12:03 PM            -61   
12/18/17 5:03 PM   12/18/17 12:03 PM            -62      1
12/18/17 5:05 PM   12/18/17 12:05 PM            -66      1
12/18/17 5:06 PM   12/18/17 12:06 PM            -62      1
12/18/17 5:08 PM   12/18/17 12:08 PM            -66   
12/18/17 5:12 PM   12/18/17 12:12 PM            -65      1
12/18/17 5:13 PM   12/18/17 12:13 PM            -64   
12/18/17 5:15 PM   12/18/17 12:15 PM            -63      1
12/18/17 4:20 PM   12/18/17 11:20 AM                  1
12/18/17 4:55 PM   12/18/17 11:55 AM                  1
12/18/17 4:56 PM   12/18/17 11:56 AM                  1
12/18/17 5:03 PM   12/18/17 12:03 PM                  1
12/18/17 5:13 PM   12/18/17 12:13 PM                  1


Felix

Ok so you are exporting EVERYTHING for a node. So the metrics are combined. Which means the timestamps are combined from several metrics. That does not mean you have a datapoint for each metric for each timestamp (unless each metric has a datapoint at each of those timestamps). Making sense?
If still not clear, try to export each metric individually then compare each with the combined export.
This would only be a problem if you can guarantee that each received packet contains all metrics.

The combined export shows which metrics have data at what timestamps, all in 1 file.

HeneryH

OK, I'll look at the node sketches in more detail.  I thought the voltage was being reported back to the gateway with every transmission but I guess not. 

Thanks

Felix

Ok.

FWIW only the "understood" metrics are logged. So if your node sends some packet with no data (except say the RSSI) then only the RSSI would be logged and nothing else, so at that timestamp you'd only see a RSSI metric.

Felix

I forgot to mention that by default there is a 1 hour duplicate interval for most metrics. Meaning if the same value is sent, it is not stored again. This is to save space, but you can change this for your metric, here's an example:

F : { name:'F', regexp:/\bF\:(-?\d+\.\d+)\b/i, value:'', duplicateInterval:3600

HeneryH

Quote from: Felix on December 19, 2017, 01:48:21 PM
I forgot to mention that by default there is a 1 hour duplicate interval for most metrics. Meaning if the same value is sent, it is not stored again. This is to save space, but you can change this for your metric, here's an example:

F : { name:'F', regexp:/\bF\:(-?\d+\.\d+)\b/i, value:'', duplicateInterval:3600

I think this was one factor in my confusion along with the second factor which is the moteino was just not appreciably drawing down the supercap at a noticeable rate!!

Thanks