[Ovmsdev] GPS theft alert

Craig Leres leres at xse.com
Tue Feb 16 04:53:10 HKT 2021


I got another alert this morning with 3.2.015-655-g1fb83aac in the 
Cadillac. I believe I've been getting the alert 100% of the time with 
both cars now.

I've appended some anonymized logs (with a slightly different layout 
from the perl script Steve sent -- I've been working on my own python 
version). When the alert fires the gps location is ~280 meters from 
home. But just before there's this:

     #10 C error - duplicate car login - clearing first connection

I assume this is because the car was logged in via wifi and is now 
logging in via gsm?

Some possibly useful info. I have one api.openvehicles.com account with 
2 vehicles registered. This vehicle uses the vehicle_cadillac_c2_cts 
module. Both of my "production" modules were recently upgraded to 
esp32-wroom v3 modules and have much better wifi signal than before. I'm 
not driving much during the pandemic and I believe it's true that every 
theft alert has occurred the first run after rebooting (as a result of 
pdating firmware -- for example I did not get a theft alert when I 
started the car after grocery shopping this morning).

It looks like both vehicle_cadillac_c2_cts and 
vehicle_chevrolet_c6_corvette are missing an explicit set of ms_v_env_on 
to false on init; is this my problem? I reviewed this thread and I think 
that's what you concluded.

		Craig


Feb 15 06:09:24 2021-02-15 14:09:24 49628 #10 C rx msg S 
27.0,M,0,0.00,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0,0.00,0.00
Feb 15 06:09:24 2021-02-15 14:09:24 49629 #10 C rx msg D 
0,0,5,14,0,85,0,0,0,1266034,10,0,0,0,12.54,0,12.6,0,0,0,0
Feb 15 06:09:24 2021-02-15 14:09:24 49630 #10 C rx msg L 
12.345678,-123.456789,80.9,-4.8,1,1,0,0,0,0,0,0,0,0,AN,9,1.0,0.0
Feb 15 06:09:24 2021-02-15 14:09:24 49631 #10 C rx msg F 
3.2.015-655-g1fb83aac/ota_0/main (build idf v3.3.4-846-ga5ee88178-dirty 
Feb 12 2021 10:27:19),,26,1,C2CTS,Team America,-1,-1
Feb 15 06:10:24 2021-02-15 14:10:24 50033 #10 C rx msg a
Feb 15 06:19:25 2021-02-15 14:19:25 53266 #10 C rx msg S 
27.0,M,0,0.00,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0,0.00,0.00
Feb 15 06:19:25 2021-02-15 14:19:25 53267 #10 C rx msg D 
0,0,5,14,0,85,0,0,0,1266635,10,0,0,0,12.56,0,12.6,0,0,0,0
Feb 15 06:19:25 2021-02-15 14:19:25 53268 #10 C rx msg L 
12.345678,-123.456789,80.9,-4.7,1,1,0,0,0,0,0,0,0,0,AN,9,1.0,0.0
Feb 15 06:19:25 2021-02-15 14:19:25 53269 #10 C rx msg F 
3.2.015-655-g1fb83aac/ota_0/main (build idf v3.3.4-846-ga5ee88178-dirty 
Feb 12 2021 10:27:19),,27,1,C2CTS,Team America,-1,-1
Feb 15 06:25:25 2021-02-15 14:25:25 55431 #10 C rx msg a
Feb 15 06:29:26 2021-02-15 14:29:26 56686 #10 C rx msg S 
27.0,M,0,0.00,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0,0.00,0.00
Feb 15 06:29:26 2021-02-15 14:29:26 56687 #10 C rx msg D 
0,0,5,14,0,85,0,0,0,1267236,10,0,0,0,12.56,0,12.6,0,0,0,0
Feb 15 06:29:26 2021-02-15 14:29:26 56688 #10 C rx msg L 
12.345678,-123.456789,80.9,-4.7,1,1,0,0,0,0,0,0,0,0,AN,9,1.0,0.0
Feb 15 06:29:26 2021-02-15 14:29:26 56689 #10 C rx msg F 
3.2.015-655-g1fb83aac/ota_0/main (build idf v3.3.4-846-ga5ee88178-dirty 
Feb 12 2021 10:27:19),,26,1,C2CTS,Team America,-1,-1
Feb 15 06:39:27 2021-02-15 14:39:27 60191 #10 C rx msg S 
27.0,M,0,0.00,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0,0.00,0.00
Feb 15 06:39:27 2021-02-15 14:39:27 60192 #10 C rx msg D 
0,0,5,14,0,85,0,0,0,1267837,10,0,0,0,12.57,0,12.6,0,0,0,0
Feb 15 06:39:27 2021-02-15 14:39:27 60193 #10 C rx msg L 
12.345678,-123.456789,80.9,-4.2,1,1,0,0,0,0,0,0,0,0,AN,7,1.5,0.0
Feb 15 06:39:27 2021-02-15 14:39:27 60194 #10 C rx msg F 
3.2.015-655-g1fb83aac/ota_0/main (build idf v3.3.4-846-ga5ee88178-dirty 
Feb 12 2021 10:27:19),,26,1,C2CTS,Team America,-1,-1
Feb 15 06:40:27 2021-02-15 14:40:27 60590 #10 C rx msg a
Feb 15 06:49:28 2021-02-15 14:49:28 63822 #10 C rx msg S 
27.0,M,0,0.00,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0,0.00,0.00
Feb 15 06:49:28 2021-02-15 14:49:28 63823 #10 C rx msg D 
0,0,5,14,0,85,0,0,0,1268438,10,0,0,0,12.56,0,12.6,0,0,0,0
Feb 15 06:49:28 2021-02-15 14:49:28 63824 #10 C rx msg L 
12.345678,-123.456789,80.9,-3.3,1,1,0,0,0,0,0,0,0,0,AN,8,1.1,0.0
Feb 15 06:49:28 2021-02-15 14:49:28 63825 #10 C rx msg F 
3.2.015-655-g1fb83aac/ota_0/main (build idf v3.3.4-846-ga5ee88178-dirty 
Feb 12 2021 10:27:19),,26,1,C2CTS,Team America,-1,-1
Feb 15 06:55:28 2021-02-15 14:55:28 492 #10 C rx msg a
Feb 15 06:59:29 2021-02-15 14:59:29 1797 #10 C rx msg S 
27.0,M,0,0.00,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0,0.00,0.00
Feb 15 06:59:29 2021-02-15 14:59:29 1798 #10 C rx msg D 
0,0,5,14,0,85,0,0,0,1269039,10,0,0,0,12.16,0,12.6,0,0,0,0
Feb 15 06:59:29 2021-02-15 14:59:29 1799 #10 C rx msg L 
12.345678,-123.456789,80.9,-4.2,1,1,0,0,0,0,0,0,0,0,AN,9,1.0,0.0
Feb 15 06:59:29 2021-02-15 14:59:29 1800 #10 C rx msg F 
3.2.015-655-g1fb83aac/ota_0/main (build idf v3.3.4-846-ga5ee88178-dirty 
Feb 12 2021 10:27:19),,26,1,C2CTS,Team America,-1,-1
Feb 15 07:01:39 2021-02-15 15:01:39 2580 #264 C got proto #0/C login
Feb 15 07:01:39 2021-02-15 15:01:39 2581 #10 C error - duplicate car 
login - clearing first connection
Feb 15 07:02:09 2021-02-15 15:02:09 2747 #264 C rx msg L 
12.345678,-123.456789,31.5,-3.7,1,1,0,0,0,0,0,0,0,0,AN,10,0.9,0.0
Feb 15 07:02:09 2021-02-15 15:02:09 2748 #264 C rx msg P AVehicle is 
being transported while parked - possible theft/flatbed 
(@12.345678;-123.456789)
Feb 15 07:10:13 2021-02-15 15:10:13 5360 #264 C rx msg S 
27.0,M,0,0.00,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0,0.00,0.00
Feb 15 07:10:13 2021-02-15 15:10:13 5361 #264 C rx msg D 
0,0,5,14,0,85,0,0,0,1269640,10,0,0,0,12.38,0,12.6,0,0,0,0
Feb 15 07:10:13 2021-02-15 15:10:13 5362 #264 C rx msg L 
12.345678,-123.456789,323.5,-6.7,1,1,0,0,0,0,0,0,0,0,AN,9,1.0,0.0
Feb 15 07:10:13 2021-02-15 15:10:13 5363 #264 C rx msg F 
3.2.015-655-g1fb83aac/ota_0/main (build idf v3.3.4-846-ga5ee88178-dirty 
Feb 12 2021 10:27:19),1G6DV5EP9E0123456,18,1,C2CTS,T-Mobile Hologram,-1,-1
Feb 15 07:16:44 2021-02-15 15:16:44 7541 #264 C rx msg a
Feb 15 07:19:45 2021-02-15 15:19:45 8541 #264 C rx msg S 
27.0,M,0,0.00,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0,0.00,0.00
Feb 15 07:19:45 2021-02-15 15:19:45 8542 #264 C rx msg D 
0,0,5,14,0,85,0,0,0,1270241,10,0,0,0,12.39,0,12.6,0,0,0,0


More information about the OvmsDev mailing list