Skip to content

Leave-N-Lock v0.5.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 23:57
· 5 commits to main since this release
4eb01da
  • "Already secure" only when it is. Home and the notification said "Already secure — nothing
    to do" after every skipped run, including ones that left the car unlocked (an out-of-date
    status, "Require walk-away confirmation" not confirmed, outside active hours, car on, a Dry
    run). Those now read "Not locked — " and the reason, for example "Not locked — vehicle status
    too old". "Already secure" is kept for a car that a current status shows locked.
  • Refresh shows the car as it is now. The Refresh button (and pulling down) on Home only
    fetched the status Hyundai keeps for your car, which can be a day old, so it could keep showing
    yesterday's state. Now, when that status is more than 5 minutes old, Refresh asks the car
    directly; the card reads "Asking the car…" while it waits, which can take a minute. If the car
    doesn't answer, you keep the old status with a note saying so. Opening the app still never
    wakes the car.
  • No more "Already locked" when the car isn't. Before locking, LEAVE/LOCK reads the status
    Hyundai keeps for your car. That status only updates when the car reports in, and it can be a
    day old: a "Locked" from yesterday made the app skip with "Already locked" while the car sat
    unlocked. Now an out-of-date status never decides anything. When it's more than 5 minutes old,
    the app asks the car directly for a live reading (this wakes the car briefly, so it only
    happens when needed), and if the car doesn't answer it skips and tells you the car is not
    locked.
  • Either walk-away signal is enough. With Activity confirmation and Geofence confirmation
    both on, a run used to wait for both, so it could sit there after the geofence had already
    confirmed you left. Now whichever comes first starts the countdown. Both still prove you left:
    a phone left in the car produces neither. "Moved beyond the geofence" is also logged once,
    not every few seconds.
  • Safer defaults for new installs. Activity confirmation, Geofence confirmation and "Require
    walk-away confirmation" are now on by default, so the car won't lock with your phone still
    inside it. Existing installs keep their settings. If "Require walk-away confirmation" is on
    with both signals off, Settings warns you, and a run skips instead of locking on Bluetooth
    alone. Skipping because nothing confirmed you walked away now posts a "not locked" notice.
  • Geofence radius in feet, 50–250 ft. It was 10–100 m. Phone GPS is usually only accurate to
    about 15–50 ft (worse near buildings or in a parking garage), so a very small radius could be
    crossed by GPS drift while you stand next to the car. A radius below 50 ft is raised to 50 ft.
    Settings and Help now explain this.
  • "Require walk-away confirmation" waits long enough. With it on, LEAVE/LOCK gave you only
    20 seconds to confirm you'd left. Android often takes 30 to 60 seconds to report that you're
    walking, and the geofence needs a GPS fix plus about 20 seconds of walking, so runs often ended
    "No walk-away confirmation within the window — not locking." even when you had walked away. It
    now waits up to 90 seconds. If you come back and the car's Bluetooth reconnects, the run is
    still cancelled straight away. With the setting off, nothing changes: after 20 seconds it
    locks on the Bluetooth disconnect alone.
  • Demo mode can't hide any more. Home now opens with a "Demo mode is on" notice when the app
    is using its simulated car, and each auto-lock run in Demo mode says so in the activity log.
    Before, the only sign was a small "DEMO" label, so the app could look like it was watching
    your real car while it never touched it.