Sponsored

FooF

Well-Known Member
First Name
FooF
Joined
Feb 24, 2023
Threads
8
Messages
789
Reaction score
1,117
Location
Mountain View CA
Website
foof.me
Vehicles
2022 R1S Launch Green
Occupation
DJ
Clubs
 
This is bad ass! Well done @fxstein. I followed your steps and everything worked perfectly. I'm just experimenting right now on Docker Desktop on Mac before I jump to a NUC or something. Seeing all my Rivian data points makes me happy. :clap:. Thank you and keep up the great work.
You can run a Hot Assistant as a VM on the Mac as well (VMWare Fusion is free)
Sponsored

 

portdirect

Well-Known Member
Joined
Jun 15, 2023
Threads
3
Messages
356
Reaction score
445
Location
Missouri
Vehicles
R1T (2023 QM - RIP, 2025 Tri Max), R1S (2024 DM Large)
Occupation
Blinkenlight Hearder
Funny thing about home assistant - it just caught the service center taking my trimax for a test drive, running 105.6mph in an area where the speed limit is a bit below that…. ;)
 
OP
OP
fxstein

fxstein

Well-Known Member
First Name
Oliver
Joined
Sep 17, 2024
Threads
10
Messages
123
Reaction score
228
Location
California
Vehicles
2023 R1T Quad Adventure
Clubs
 
Did I mention I *really* like Home Assistant......
Me too - even (or especially) after many years using it. Cannot imagine running a modern household and life for that matter without it.
Got the same data for our Teslas through the Tessie API.
I control Solax Solar and Storage, heating/cooling through KNX, pool and whirlpool, security, integrated into UniFi networking, UniFi protect cameras, Philips Hue lighting and motion sensors, Sonos Soundsystem, Samsung TVs, Airthings room climate and Radon monitors, Flo water valves and monitors, and a countless bunch of Shelly devices for switching, dimming and measuring loads.
It alerts me of weather alerts in realtime, secures the house if bad weather is approaching (like retracting warnings, closing windows and even pre-loads the home batteries if bad weather could cause an outage).

But everything is setup that it will run manually by itself - just not automated or optimized - if HA should ever be down or for some reason incapacitated.

Learned a ton over the years - enough to fill an entire channel by itself.
 

RivDeWrld

Member
First Name
V
Joined
Jan 31, 2023
Threads
0
Messages
11
Reaction score
13
Location
Dallas, TX
Vehicles
BMW X5, Lexus IS
Hello Everyone, I hooked up Home Assistant to my R1S and have been collecting data for the past few months. I noticed battery capacity fluctuating over time. Also, I've seen random spikes (see the pic). I was wondering what these spikes represent? I noticed these during charging (home) as well as idle states (not charging).

Thanks!

Rivian R1T R1S Installing HomeAssistant to capture Rivian API data - DIY How-to Screenshot 2025-02-14 at 11.47.31 AM
 

Sponsored

OP
OP
fxstein

fxstein

Well-Known Member
First Name
Oliver
Joined
Sep 17, 2024
Threads
10
Messages
123
Reaction score
228
Location
California
Vehicles
2023 R1T Quad Adventure
Clubs
 
Hello Everyone, I hooked up Home Assistant to my R1S and have been collecting data for the past few months. I noticed battery capacity fluctuating over time. Also, I've seen random spikes (see the pic). I was wondering what these spikes represent? I noticed these during charging (home) as well as idle states (not charging).

Thanks!

Screenshot 2025-02-14 at 11.47.31 AM.jpg
These spikes have started with firmware 2024.47.01 and seem to be more calculation anomalies than anything real. Seeing the exact same. Before that firmware the capacity of my R1T was an almost constant flat line.
Regarding the drop in capacity: it seems to ‘help’ the vehicle show less phantom drain, especially in the first few days. It means that a lower capacity rating shows less drop in SoC, so much so that in many cases the charge % of the vehicle shows little to no loss, when in reality a single battery Gen 1 will always consume a baseline of about 1kWh per day in best case.
It gets reset when charged.
 

RivDeWrld

Member
First Name
V
Joined
Jan 31, 2023
Threads
0
Messages
11
Reaction score
13
Location
Dallas, TX
Vehicles
BMW X5, Lexus IS
These spikes have started with firmware 2024.47.01 and seem to be more calculation anomalies than anything real. Seeing the exact same. Before that firmware the capacity of my R1T was an almost constant flat line.
Regarding the drop in capacity: it seems to ‘help’ the vehicle show less phantom drain, especially in the first few days. It means that a lower capacity rating shows less drop in SoC, so much so that in many cases the charge % of the vehicle shows little to no loss, when in reality a single battery Gen 1 will always consume a baseline of about 1kWh per day in best case.
It gets reset when charged.
Got it.! Good to know that my readings weren't because of an anomaly. Thank you for providing a detailed response.
 
OP
OP
fxstein

fxstein

Well-Known Member
First Name
Oliver
Joined
Sep 17, 2024
Threads
10
Messages
123
Reaction score
228
Location
California
Vehicles
2023 R1T Quad Adventure
Clubs
 
Got it.! Good to know that my readings weren't because of an anomaly. Thank you for providing a detailed response.
You are very welcome. Great for you to share your experience it helps me and others too to validate broader trends.
 

portdirect

Well-Known Member
Joined
Jun 15, 2023
Threads
3
Messages
356
Reaction score
445
Location
Missouri
Vehicles
R1T (2023 QM - RIP, 2025 Tri Max), R1S (2024 DM Large)
Occupation
Blinkenlight Hearder
Hello Everyone, I hooked up Home Assistant to my R1S and have been collecting data for the past few months. I noticed battery capacity fluctuating over time. Also, I've seen random spikes (see the pic). I was wondering what these spikes represent? I noticed these during charging (home) as well as idle states (not charging).

Thanks!

Screenshot 2025-02-14 at 11.47.31 AM.jpg
I can’t explain the spikes - I’m not seeing them to anything like the level you are, but if you graph temperature against capacity you should see a loose correlation with that (when accounting for thermal mass etc) at least that’s what I’ve observed on my R1s - i keep on meaning to make a pr over in the ha integration to get the battery temp exposed as an entity - which should show a much tighter correlation with capacity.
 
OP
OP
fxstein

fxstein

Well-Known Member
First Name
Oliver
Joined
Sep 17, 2024
Threads
10
Messages
123
Reaction score
228
Location
California
Vehicles
2023 R1T Quad Adventure
Clubs
 
I can’t explain the spikes - I’m not seeing them to anything like the level you are, but if you graph temperature against capacity you should see a loose correlation with that (when accounting for thermal mass etc) at least that’s what I’ve observed on my R1s - i keep on meaning to make a pr over in the ha integration to get the battery temp exposed as an entity - which should show a much tighter correlation with capacity.
Yes battery temp is really missing. Did not see it in the API docs in the underlying GitHub repo that the HA integration uses. If it is simply missing and you have the details, I’d be happy to help with a PR.
Would be great to do an inventory of other missing sensors that might exist in the Rivian API.

Don’t think the spikes correlate to temp though. Had the R1T stored in our garage at a near constant 55-60F over the new year for 40+ days. The moment 2024.47.01 rolled in the spikes started - just like others have seen.
Battery capacity seems to move more with amount of power draw (or lack of) from the HV battery than temp. Aka in the first 12h of parking the car the battery capacity gets derated no matter what the surrounding temps are. More API sensors would be super helpful to validate.
 

Sponsored

RivDeWrld

Member
First Name
V
Joined
Jan 31, 2023
Threads
0
Messages
11
Reaction score
13
Location
Dallas, TX
Vehicles
BMW X5, Lexus IS
Yes battery temp is really missing. Did not see it in the API docs in the underlying GitHub repo that the HA integration uses. If it is simply missing and you have the details, I’d be happy to help with a PR.
Would be great to do an inventory of other missing sensors that might exist in the Rivian API.

Don’t think the spikes correlate to temp though. Had the R1T stored in our garage at a near constant 55-60F over the new year for 40+ days. The moment 2024.47.01 rolled in the spikes started - just like others have seen.
Battery capacity seems to move more with amount of power draw (or lack of) from the HV battery than temp. Aka in the first 12h of parking the car the battery capacity gets derated no matter what the surrounding temps are. More API sensors would be super helpful to validate.
I only had my HA working since late December and have just few months of data to work with. What I observed with these spikes is that they started after the installation of hot fix (2024.51.02) version for me (around Feb 7th or so). My vehicle is always garaged when not in use and similar to yours garage temps are fairly constant and moderate.

Rivian R1T R1S Installing HomeAssistant to capture Rivian API data - DIY How-to Battery Capacity 2025-02-15
 

jerseyff

Well-Known Member
First Name
Darren
Joined
Aug 3, 2020
Threads
14
Messages
623
Reaction score
867
Location
McDonald, TN
Vehicles
R1T; mazdaspeed3
Occupation
IT
I must be blind, not seeing the Rivian integration when I search HACS...
 

jerseyff

Well-Known Member
First Name
Darren
Joined
Aug 3, 2020
Threads
14
Messages
623
Reaction score
867
Location
McDonald, TN
Vehicles
R1T; mazdaspeed3
Occupation
IT
 





Top