feat: resolve "auto" device via driver rule before alias lookup #2

Merged
maxtkc merged 1 commit from 51-driver-rules into main 2026-05-03 23:35:21 +00:00
Owner

When the OwnTracks device name is "auto", query the driver rule table to find the active trip_id for the current time/day before proceeding with the alias lookup and stop-time fetch. If no rule matches, skip the trip_update entirely (same behaviour as an unknown trip_id today).

gtfs.zone/deploy-gtfs-rt#51

When the OwnTracks device name is "auto", query the driver rule table to find the active trip_id for the current time/day before proceeding with the alias lookup and stop-time fetch. If no rule matches, skip the trip_update entirely (same behaviour as an unknown trip_id today). gtfs.zone/deploy-gtfs-rt#51
maxtkc self-assigned this 2026-05-03 23:35:16 +00:00
When the OwnTracks device name is "auto", query the driver rule table
to find the active trip_id for the current time/day before proceeding
with the alias lookup and stop-time fetch. If no rule matches, skip
the trip_update entirely (same behaviour as an unknown trip_id today).
maxtkc merged commit cefcd8bae2 into main 2026-05-03 23:35:21 +00:00
maxtkc deleted branch 51-driver-rules 2026-05-03 23:35:21 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gtfs.zone/trip-updogger!2
No description provided.