Craig, to extract the essential data from your logs for analysis, simply do this: cat log.* | { echo "time,dist,smoothed,alarm,gpsmode,satcount,hdop,gpsspeed" ; egrep "CheckTheft: vehicle parked.*hdop" | sed -Ee "s/\.[0-9]{3} .* dist/ dist/g" -e "s/ [a-z]+=/,/g"; } > hdop.csv Attached is your CSV data & mine, with a new alarm today. Your parking lot has pretty good GPS reception with never less than 7 satellites in view, my case is near the edge of GPS unusability with some periods of only 2 satellites in view. Regards, Michael Am 02.04.22 um 19:18 schrieb Craig Leres:
On 3/31/22 21:58, Michael Balzer wrote:
nearly there, you additionally need to set component "location" to level verbose.
Ah, I saw hdop being logged in a ESP_LOGI() call so I think the default of info was good enough, I didn't notice it wasn't the one you added.
I have one module that's been up for almost a day with zero logs. I guess this can happen if rounding never occurs?
if (last_dist != round(dist/10)) [....]
I've attached some (anonymized) logs from my dev module.
Craig
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26