sshane / openpilot

DOES NOT SUPPORT COMMA 3X - Stock Additions (0.8.14): 3/automatic following distance profiles, customizable fork params with opEdit, and a smoother longitudinal experience for TSS2 Toyotas
MIT License
220 stars 85 forks source link

Sentry tripped while car is already in an unlocked state #557

Closed bensonkwek closed 2 years ago

bensonkwek commented 2 years ago

To reproduce

Scenario 1

Scenario 2

Result : sentry warning tripped

Vid: https://streamable.com/kqchpa

Hybrid RAV4 2021

Let me know what other information you need

sshane commented 2 years ago

The problem is I want it to arm after being inactive for a bit as I don't have the lock signals for other cars coded. Or if you leave the car and forget to lock. I can raise the timer to 5 minutes though if that'll help. Right now it's only 2 minutes

Asherlc commented 2 years ago

Same issue for me, would it be possible to enable the timer only for unsupported cars?

sshane commented 2 years ago

Another problem is if you start the C3 while the car is already locked, it has no idea what the lock status is, as it's only published when it changes when the car is off. Feel free to make a PR to make it easy to stop the alarm if it's a verified user, or raise the timeout.