Repository navigation
Open the R1T tailgate and the side bins over Parallax - #255
Merged
Merged
Conversation
OPEN_LIFTGATE_UNLATCH_TAILGATE was always encoded as the liftgate, which an R1T doesn't have. Like the Rivian app, encode_vehicle_command now takes the vehicle's model and opens an R1T's tailgate and any other model's liftgate; without a model it raises instead of guessing. RELEASE_LEFT_SIDE_BIN and RELEASE_RIGHT_SIDE_BIN now have their Parallax equivalents, opening SIDE_BIN_LEFT and SIDE_BIN_RIGHT under PVS_BD_CMD as the app does. Tested on an R1T: the tailgate (with the model) and both side bins opened. The vehicle reports a timeout when a released bin doesn't clear its latch, though it then reports the bin open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 16, 2026
walthowd
added a commit
to walthowd/home-assistant-rivian
that referenced
this pull request
Nov 16, 2026
bretterer/rivian-python-client#255 opens an R1T's tailgate and any other model's liftgate over Parallax, so `encode_vehicle_command` needs the model for `OPEN_LIFTGATE_UNLATCH_TAILGATE`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #245, which left these two gaps.
Tailgate
OPEN_LIFTGATE_UNLATCH_TAILGATEwas always encoded asLIFTGATE, so a Parallax-capable R1T was asked to open a liftgate it doesn't have. The Rivian app opens an R1T's tailgate and any other model's liftgate.encode_vehicle_commandnow does the same with a new keyword:Without
modelit raisesRivianBadRequestErrorinstead of guessing. (The app falls back to R1T when it doesn't know the model.)I didn't add the app's separate
OPEN_TAILGATE/OPEN_LIFTGATEcommands. On an R1T, a legacyOPEN_TAILGATEwas accepted but never opened the tailgate. LegacyOPEN_LIFTGATE_UNLATCH_TAILGATEopened it straight away.Side bins
RELEASE_LEFT_SIDE_BINandRELEASE_RIGHT_SIDE_BINnow go over Parallax underPVS_BD_CMD, like the app. They openSIDE_BIN_LEFTandSIDE_BIN_RIGHTonbody.closures.open.Testing
OPEN_LIFTGATE_UNLATCH_TAILGATEwithmodel="R1T") and both side bins opened.timeoutabout 9 s later, butbody.closures.statesreports the bin open. When the bin is pulled clear, it reportssuccess. Callers may want to treat that timeout as "released, but not fully open", not as a failure.For the integration
The Parallax dispatch needs to pass
model=vehicle["model"].🤖 Generated with Claude Code