attributes and cloud commands found from android 2.20 source by tmack8001 · Pull Request #135 · bretterer/rivian-python-client
Looking through some decompiled smali code this evening, I've ported over some of the subscription and query vehicleState attributes that were found.
testing query vehicleState against my T returned the following data elements successfully
{
"data": {
"vehicleState": {
"__typename": "VehicleState",
"geoLocation": {
"value": "Unknown",
"timeStamp": "2025-03-09T18:33:13.000Z"
},
"cloudConnection": {
"lastSync": "2025-03-11T06:08:29.005Z",
"isOnline": false
},
"gnssLocation": {
"latitude": 0,
"longitude": 0,
"timeStamp": "2025-03-08T17:28:00.000Z",
"isAuthorized": false
},
"gnssError": {
"timeStamp": "2025-03-11T06:08:26.000Z",
"positionVertical": 1.54,
"positionHorizontal": 3.1,
"speed": 0.03,
"bearing": 1.0738
},
"chargingDisabledAll": {
"timeStamp": "2025-03-11T04:46:29.000Z",
"value": 0
},
"chargePortState": {
"timeStamp": "2025-03-09T18:58:57.000Z",
"value": "open"
},
"limitedAccelCold": {
"timeStamp": "2025-03-11T06:07:15.000Z",
"value": 0
},
"limitedRegenCold": {
"timeStamp": "2025-03-11T06:07:15.000Z",
"value": 0
},
"rearHitchStatus": null
}
}
}
A few of the cloud commands aren't new and some have been available for over a year, though given Gen2 isn't owned by a maintainer we never added them in. Of course to execute these successfully one would need a paired key to a Gen2 which isn't widely adopted by integrations (including HomeAssistant) at this point in time.