[Ovmsdev] GPS theft alert
Michael Balzer
dexter at expeedo.de
Fri Feb 12 21:11:43 HKT 2021
Besides the GPS lock we've got some additional GPS detail:
* Receiver mode (v.p.gpsmode)
* Satellite count (v.p.satcount)
* HDOP (v.p.gpshdop)
* GPS speed (v.p.gpsspeed)
Maybe these can help. I've added them to the L record and added a log
output on flatbed alerts so we can see what they provide generally and
during a false alert.
Note: on Teslas we copy the car GPS data so we may need special handling
there.
Regards,
Michael
Am 12.02.21 um 12:36 schrieb Chris van der Meijden:
> Just a side information.
>
> On Andorid phones it can take 10 minutes to find the satelites if the
> time of the phone and the satelites is out of sync. And in that case
> the position can also be a few 100 meters off track. As soon as the
> times are in sync the GPS signal is immediately there and the position
> is correct.
>
> Regards
>
> Chris
>
>
>
> Am Freitag, den 12.02.2021, 12:24 +0100 schrieb sharkcow:
>> OK, in my case OVMS lost the GPS fix for one log entry, then apparently
>> my car took a 400m dive! Strange theft approach... ;-)
>>
>> Took about 10mins. for GPS to be back in the correct position.
>>
>> So, would we want to implement a workaround? Maybe wait with the alert
>> after fix is lost? But then again, if the car really is towed, I'd like
>> to know asap...
>>
>> Thanks,
>>
>> sharkcow
>>
>>
>> Am 12.02.21 um 10:35 schrieb Michael Balzer:
>>> Please check your "L" log at the time of the alert: what did your
>>> GPS data look like just before the alert? There's the option of
>>> raising the alert threshold. It's 500 meters by default (config
>>> vehicle flatbed.alarmdistance). But we should first determine the
>>> cause of the false alerts. Regards, Michael Am 12.02.21 um 10:28
>>> schrieb sharkcow:
>>>> I got the theft alert again last night, the car had been standing
>>>> for several hours... so at least in my case I would think the alert
>>>> trigger is too sensitive compared to the resolution/accuracy of the
>>>> GPS measurement. Best regards, sharkcow Am 09.02.21 um 18:40
>>>> schrieb Michael Balzer:
>>>>> I found the reason for the false theft/flatbed alert in my case by
>>>>> checking my telemetry archive: the car lost GPS on the road.
>>>>> Coordinates were stale when I parked the car. The stale
>>>>> coordinates were taken as the initial park coordinates, causing an
>>>>> alert when the GPS receiver delivered the next valid data (the
>>>>> actual park position). So the bad antenna placement actually was
>>>>> the cause in my case, but we can solve that in software. I've just
>>>>> pushed a fix (untested) for this, consisting of a) making the
>>>>> location module aware of parking coordinate staleness and b)
>>>>> lowering the staleness thresholds for the GPS metrics to 10
>>>>> seconds. Please verify. Regards, Michael Am 09.02.21 um 10:29
>>>>> schrieb Michael Balzer:
>>>>>> I had the alert once with my Mii, also shortly after parking.
>>>>>> With the module being mounted with the GPS antenna placed under
>>>>>> the hood, I assumed that to be the cause. I doubt it, but I'll
>>>>>> check if any of our changes could have had an impact on the GPS
>>>>>> movement detection. Regarding open changes to be included in
>>>>>> 3.2.016: sharkcow is currently working on finishing the UpMiiGo
>>>>>> TPMS feature, it's already been tested so we'll wait for that.
>>>>>> Regards, Michael Am 09.02.21 um 09:57 schrieb sharkcow:
>>>>>>> Hi all,
>>>>>>>> Twice in the last few weeks I've gotten the "possible
>>>>>>>> theft/flatbed"
>>>>>>> alert just as I was backing out of the garage. I have never
>>>>>>> received that alert before. I hadn't posted anything yet because
>>>>>>> I was waiting to drive the other car and see if has the same
>>>>>>> problem. I get this too every once in a while with my e-Up.
>>>>>>> Mostly shortly after parking, I think (and tragically, the one
>>>>>>> time I'd have needed it because I actually _did_ get towed, I
>>>>>>> had crashed OVMS into a boot loop just before :-/). sharkcow
>>>>>> _______________________________________________ OvmsDev mailing
>>>>>> list OvmsDev at lists.openvehicles.com
>>>>>> <mailto:OvmsDev at lists.openvehicles.com>
>>>>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>>>>> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
>>>>> -- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon
>>>>> 02333 / 833 5735 * Handy 0176 / 206 989 26
>>>>> _______________________________________________ OvmsDev mailing
>>>>> list OvmsDev at lists.openvehicles.com
>>>>> <mailto:OvmsDev at lists.openvehicles.com>
>>>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>>>> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
>>>> _______________________________________________ OvmsDev mailing
>>>> list OvmsDev at lists.openvehicles.com
>>>> <mailto:OvmsDev at lists.openvehicles.com>
>>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>>> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
>>> _______________________________________________ OvmsDev mailing list
>>> OvmsDev at lists.openvehicles.com
>>> <mailto:OvmsDev at lists.openvehicles.com>
>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>> <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
>>
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.openvehicles.com <mailto:OvmsDev at lists.openvehicles.com>
>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev <http://lists.openvehicles.com/mailman/listinfo/ovmsdev>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20210212/a99ed662/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20210212/a99ed662/attachment-0001.sig>
More information about the OvmsDev
mailing list