[Ovmsdev] GPS theft alert

Craig Leres leres at xse.com
Sat Feb 13 05:42:36 HKT 2021


On 2/12/21 1:32 PM, Michael Balzer 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?!?!
> 
> The cadillac_c2_cts module did set ms_v_env_on before your recent 
> change, the call is on line 113.

I wasn't very clear here; after the first theft alert I saw around the 
beginning the of month Steve suggested checking ms_v_env_on and *then* I 
changed the module to manage the metric. So I believe at that time of my 
first alert there was nothing in the cadillac_c2_cts module itself that 
was ever changing ms_v_env_on.

		Craig


More information about the OvmsDev mailing list