[Ovmsdev] GPS theft alert (fwd)
casner at acm.org
Sat Feb 13 04:37:28 HKT 2021
Delivery of the message below to ovmsdev at lists.openvehicles.com
failed: "554 command rejected for policy reasons". Is that because of
a .pl attachment? Fortunately I addressed it directly to Craig as
---------- Forwarded message ----------
Date: Fri, 12 Feb 2021 12:30:13 -0800 (PST)
From: Stephen Casner <casner at acm.org>
To: Craig Leres <leres at xse.com>
Cc: OVMS Developers <ovmsdev at lists.openvehicles.com>
Subject: Re: [Ovmsdev] GPS theft alert
On Fri, 12 Feb 2021, Craig Leres wrote:
> I also got a theft alert last night. Considering that I had never seen this
> alert until a few weeks ago it feels like something has changed. This includes
> the vehicle_cadillac_c2_cts which until a few days ago was not updating
> StandardMetrics.ms_v_env_on->SetValue() (which I believe maps to v.e.on?) And
> looking at OvmsLocations::CheckTheft() it's not even clear to me that a
> vehicle module that never sets ms_v_env_on can even trigger an alert?!?!
> void OvmsLocations::CheckTheft()
> if ((m_park_latitude == 0) && (m_park_longitude == 0)) return;
> if (StandardMetrics.ms_v_env_on->AsBool()) return;
Right. That was why I asked you if v.e.on was set in your cars.
> I browsed changes to ovms_location.cpp over the last months and if anything I
> would think it was less likely to get a theft alert.
That has been the intent.
> It's difficult for me to see how upgrading my esp32 hardware could be causing
> this especially since the gps hardware is in the simcom.
> On 2/12/21 1:35 AM, Michael Balzer wrote:
> > Please check your "L" log at the time of the alert: what did your GPS
> > data look like just before the alert?
> Do I need to turn on logging to the sdcard to see this? As far as I know I'm
> not doing any logging right now.
No, this is referring to the records stored on the v2 server. They
are only kept for a limited time (48 hours?). I have attached a perl
script given to me by Tom Saxton to fetch those records. I have it
run daily on my laptop. Note that you need to put your credentials in
variables near the top, and you'll probably have to adjust some paths
and libraries for your system.
More information about the OvmsDev