Anyone else having issues with the Rivian API? All of the sudden my code won't login. I get the CSRF Token fine, but the login POST fails with what looks like a server side error..
{"errors":[{"extensions":{"code":"SESSION_MANAGER_ERROR"},"message":"See server logs for error...
For me, it appears that my R1T will not stay in sleep state when temperatures drop below 40-45F. I tend to lose about 3-5% every night when it's cold. The 2023.46.0 update may have made some improvement, but I don't have enough consistent data yet.
Here's a 2 week look at the vehicle state and...
Dual Y Axis, left is charge percent for the blue line. Right is for the grey line, showing the temperature observation from the nearest NWS weather station to the location of the vehicle.
In another thread, I've been whining about a cold weather behavior that keeps the vehicle from sleeping when the temps drop below ~45F. Over night, I'm seeing ~3-5% battery loss which is pretty a pretty significant amount of power to just keep the battery warm...
Below is a one week shot of...
In another thread, I've been whining about a cold weather behavior that keeps the vehicle from sleeping when the temps drop below ~45F. Over night, I'm seeing ~3-5% battery loss which is pretty a pretty significant amount of power to just keep the battery warm...
Below is a one week shot of...
I asked the service department about the higher battery drain below ~45F and they confirmed that this is expected behavior. Anything below 5% over 12 hours is acceptable battery loss to them during colder weather.
I also managed to smooth out that temperature graph for those who like data...
Another day.. still not sleeping until the middle of the day when it got warmer. I managed to throw together a temp graph with the vehicle states for the last 2 days..
Apparently I need to add code to smooth the weather observations from NPS, it's a little choppy. It's the first time I've...
Has anyone noticed that their vehicle doesn't reach sleep state when the temps are below 40F? The last few days have been cold-ish here (25F-35F) overnight and the truck seems to never get into sleep state. It seems to bounce between Ready and Standby every 20min or so. I thought it was PAAK /...
I doubt Alexa is going to get better, since Amazon just layed off hundreds of staff from the Alexa division, to focus on integrating AI.
https://apnews.com/article/amazon-alexa-job-cuts-generative-ai-9d5ca4fd9240a091657e6f7c4da870d9
You don't need AI, you need basic search logic, like ranking...
I've finally gotten around to making some rough graphs of battery drain for idles of more than 2 hours. Not a lot of data yet, since I've only had the truck for a month.
This is just a simple ((Charge Start - Charge End) / (Idle Time in hours)) * 24.
I also lost some data when my data poller...
I'm not ready to publish my code, but if you want a peek at some of the snippets, I have my thread on calculating mi/kwh here..
https://www.rivianforums.com/forum/threads/calculating-mi-kwh-from-app-api-data.20115/#post-413877
here is my code so far.. Pardon the complete lack of comments, or...
You can be like me, and roll your own using the unpublished API.
This is a good starting point if you really want to geek out.. https://rivian-api.kaedenb.org/
I take care of the Meters to Miles and Celsius to Fahrenheit conversions right in the polling code.
def getVehicleState(self) -> dict:
reqBody = {
"operationName": "GetVehicleState",
"variables": {
"vehicleID": self.getVehicleID()
}...
ok.. So the numbers actually came out about right compared to the onboard trip meter. As you suggested, I put the total battery capacity to 127Kwh instead of 135Kwh.
I also added some more calculations at the end of drive calulations to show me what my code thinks total milesDriven and kwhUsed...