Skip to content

Add sending and ending trips - #248

Open
walthowd wants to merge 1 commit into
bretterer:mainfrom
walthowd:feat/trips
Open

walthowd wants to merge 1 commit into
bretterer:mainfrom
walthowd:feat/trips

Conversation

@walthowd

@walthowd walthowd commented Nov 14, 2026 •

Copy link
Copy Markdown
  • send_trip_to_vehicle: sends stops like the app's trip planner. The vehicle plans the route and charging stops, with a minimum arrival charge and optional CHARGING_NETWORKS filter.
  • end_trip: ends the current trip (parallax.encode_end_trip, new UpdatedTrip schema)

Neither needs a paired phone key.

Tested

2026 R1S (Gen 2), 2026.36.01: a one-stop trip showed up in navigation, and end_trip ended it.

Not tested: multiple stops, network filter, Gen 1

- `send_trip_to_vehicle` sends stops the way the Rivian app's trip planner
  does. The vehicle plans the route and charging stops itself, arriving
  with at least the given charge, at chargers of the given networks
  (`CHARGING_NETWORKS`, named like the app's charging filter; all by
  default, as the app sends without a filter).
- `end_trip` ends the trip the vehicle is navigating, with an unsigned
  `sendParallaxPayload` on `c2v_navigation.trip_copilot.updated_trip`.
  `parallax.encode_end_trip` builds it from a new `UpdatedTrip` schema, in
  the same envelope as a signed command.

Neither needs a paired phone key.

Verified against a 2026 R1S (Gen 2) running 2026.36.01: a one-stop trip
appeared in the vehicle's navigation, and `end_trip` ended it. Not tested:
several stops, a network filter, Gen 1 vehicles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FxWHBTrHU6eTPotwMWgtJF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant