Sponsored

fxstein

Well-Known Member
First Name
Oliver
Joined
Sep 17, 2024
Threads
10
Messages
120
Reaction score
221
Location
California
Vehicles
2023 R1T Quad Adventure
Clubs
 
As discussed in various other threads like Analyze your Rivian's data with ChatGPT AI there is a widely used home automation platform that is fully open source that can help collect and store your data: HomeAssistant

I have been using it for several years and was actually writing my own version of a platform right around the same time HomeAssistant was first started. HomeAssistant quickly got a lot of traction in the Open Source community and is now the most popular home automation platform out there. It regularly is #1 or #2 of all Open Source projects on github (that is an unbelievable feat in 100s of millions of OSS projects).

It used to be difficult to setup at first with lots of YAML files to edit by hand. Over the years it has become easier and easier and for 95% of use cases you set it up on a web browser and interact with it on your mobile phone app.

It is totally private and does not share any of your data with anybody else. This is a core differentiation to services like ElektraFi or similar who collect your private Rivian data for additional use-cases.

So how do you go about installing and running HomeAssistant?

I recommend you start by looking at: HomeAssistant Installation Options

Home Assistant Green is the simplest option. For one time $99 you get the full setup and you will be up and running in minutes. There are other alternatives like Raspberry PI or Intel NUC and it just depends on your level of skills. I personally run a rather powerful Intel NUC with 32GB of RAM and 2TB of storage, because I have integrated hundreds of other devices and keep a full year of detailed data history. So it just depends on your skills, budget and what you want to accomplish.

Within my family I run the predecessor of Home Assistant Green the Home Assistant Blue (no longer sold) for parts of the family and their households.

HomeAssistant is often used to combine the integrations of various platforms like Solar, Heating, Pool, Lights, Garage doors, Security Cameras and Cars/EV. But you can simply use it just for the Rivian. Chances are that you will add other things over time and the possibilities are almost endless.

Once you have decided on the right option, go ahead purchase and install it. Next you need to pick the integrations you want to enable. It will find various devices on your home network by itself. Thinks like Philips Hue, Sonos, Apple devices, Samsung TVs, various appliances from all the main manufacturers. Don't feel the need to turn on everything. Start simple. 1 or 2 things and get to know the platform.

HomeAssistant will NOT find your Rivian or Tesla by itself. To integrate those you will have to install a subsystem called HACS. Simply follow the instructions on its website and it will be up and running in minutes. HACS is the HomeAssistant Community Store. Think of it as an App store run by the community. Anyone can post and offer an integration for new devices. As with any community driven app stores, a word of caution. You will find 1000s of integrations of all kinds, with all kinds of quality (or lack of). Only got for those you have learned enough about that you feel you can trust them.

Once you have HACS up and running, search for Home Assistant integration for Rivian (Unofficial) and install it through HACS. It will then tell you to restart HomeAssistant and allow you to setup the integration. Simply follow the install and configuration steps as outlined. I specially recommend you read the recommendations for not sharing userids, especially if you opted to turn on the integration to control your Rivian. Its all explained really well at the link above.

Once you have that up and running HomeAssistant will collect the Rivian API data 24x7 without you doing anything. It will allow you to setup fancy dashboards, automate tasks and analyze the data even through the likes of ChatGPT.

Here an example dashboard that I created in 2024 and shared a while back: Rivian Dashboard for Upcoming Longterm Phantom Drain Test

Rivian R1T R1S Installing HomeAssistant to capture Rivian API data - DIY How-to Screenshot 2025-01-25 at 10.58.40 PM
Sponsored

 
Last edited:

Nixapatfan

Well-Known Member
Joined
Aug 23, 2024
Threads
1
Messages
131
Reaction score
268
Location
Massachusetts
Vehicles
R1T
I just set mine up last week to take control of my home alarm and bring all my smart devices under one app so they can work in harmony instead of making connectors with IFTTT The rivian integration is cool for monitoring data trends especially with the battery.
 

KBabione

Well-Known Member
First Name
Kevin
Joined
Sep 11, 2023
Threads
27
Messages
879
Reaction score
1,120
Location
Lititz, PA
Vehicles
R1S and other ICE
Occupation
Consultant
This is awesome - Thanks for making the time to post it all in one place. Now I just need to do it!
 

HaveBlue

Well-Known Member
Joined
Nov 22, 2022
Threads
27
Messages
2,144
Reaction score
1,610
Location
91107
Vehicles
R1S DMP Max, Lifted GX470, APR Audi A7, BMW 325Ci
Clubs
 
Nice I used to use IFTTT until it went to hell. I now use Samsung Smart Things that seems to grab all my IOT stuff but I should look at HA. Probably not much work running it on a Mac Mini I'm already using as an iMessage server and less work than starting with a Pi from scratch.
 
OP
OP
fxstein

fxstein

Well-Known Member
First Name
Oliver
Joined
Sep 17, 2024
Threads
10
Messages
120
Reaction score
221
Location
California
Vehicles
2023 R1T Quad Adventure
Clubs
 
It can definitely be setup on a Mac Mini, just requires some reading up on things.
I did that early on but eventually switched to a dedicated Intel NUC I bought just for that.
 

Sponsored

Supratachophobia

Well-Known Member
Joined
Apr 8, 2023
Threads
7
Messages
1,482
Reaction score
1,820
Location
Ohio
Vehicles
S
Clubs
 
As discussed in various other threads like Analyze your Rivian's data with ChatGPT AI there is a widely used home automation platform that is fully open source that can help collect and store your data: HomeAssistant

I have been using it for several years and was actually writing my own version of a platform right around the same time HomeAssistant was first started. HomeAssistant quickly got a lot of traction in the Open Source community and is now the most popular home automation platform out there. It regularly is #1 or #2 of all Open Source projects on github (that is an unbelievable feat in 100s of millions of OSS projects).

It used to be difficult to setup at first with lots of YAML files to edit by hand. Over the years it has become easier and easier and for 95% of use cases you set it up on a web browser and interact with it on your mobile phone app.

It is totally private and does not share any of your data with anybody else. This is a core differentiation to services like ElektraFi or similar who collect your private Rivian data for additional use-cases.

So how do you go about installing and running HomeAssistant?

I recommend you start by looking at: HomeAssistant Installation Options

Home Assistant Green is the simplest option. For one time $99 you get the full setup and you will be up and running in minutes. There are other alternatives like Raspberry PI or Intel NUC and it just depends on your level of skills. I personally run a rather powerful Intel NUC with 32GB of RAM and 2TB of storage, because I have integrated hundreds of other devices and keep a full year of detailed data history. So it just depends on your skills, budget and what you want to accomplish.

Within my family I run the predecessor of Home Assistant Green the Home Assistant Blue (no longer sold) for parts of the family and their households.

HomeAssistant is often used to combine the integrations of various platforms like Solar, Heating, Pool, Lights, Garage doors, Security Cameras and Cars/EV. But you can simply use it just for the Rivian. Chances are that you will add other things over time and the possibilities are almost endless.

Once you have decided on the right option, go ahead purchase and install it. Next you need to pick the integrations you want to enable. It will find various devices on your home network by itself. Thinks like Philips Hue, Sonos, Apple devices, Samsung TVs, various appliances from all the main manufacturers. Don't feel the need to turn on everything. Start simple. 1 or 2 things and get to know the platform.

HomeAssistant will NOT find your Rivian or Tesla by itself. To integrate those you will have to install a subsystem called HACS. Simply follow the instructions on its website and it will be up and running in minutes. HACS is the HomeAssistant Community Store. Think of it as an App store run by the community. Anyone can post and offer an integration for new devices. As with any community driven app stores, a word of caution. You will find 1000s of integrations of all kinds, with all kinds of quality (or lack of). Only got for those you have learned enough about that you feel you can trust them.

Once you have HACS up and running, search for Home Assistant integration for Rivian (Unofficial) and install it through HACS. It will then tell you to restart HomeAssistant and allow you to setup the integration. Simply follow the install and configuration steps as outlined. I specially recommend you read the recommendations for not sharing userids, especially if you opted to turn on the integration to control your Rivian. Its all explained really well at the link above.

Once you have that up and running HomeAssistant will collect the Rivian API data 24x7 without you doing anything. It will allow you to setup fancy dashboards, automate tasks and analyze the data even through the likes of ChatGPT.

Here an example dashboard that I created in 2024 and shared a while back: Rivian Dashboard for Upcoming Longterm Phantom Drain Test

Screenshot 2025-01-25 at 10.58.40 PM.jpg
Wait. You weren't running HA before you got the Rivian??

In all seriousness, my favorite automation right now is auto opening the garage door when the Rivian comes home.
 

Supratachophobia

Well-Known Member
Joined
Apr 8, 2023
Threads
7
Messages
1,482
Reaction score
1,820
Location
Ohio
Vehicles
S
Clubs
 
This post should come with a warning that your life could be taken over by the need to automate/integrate everything in the world.
For. Sure.
Also, ignore anybody that tells you to run home assistant on a raspberry pi and an SD card. That SD card is going to fail when you need it most, guaranteed. SSDs on raspberry pi 4S are okay, but the NUC and the official color platforms are the way to go.
 

KBabione

Well-Known Member
First Name
Kevin
Joined
Sep 11, 2023
Threads
27
Messages
879
Reaction score
1,120
Location
Lititz, PA
Vehicles
R1S and other ICE
Occupation
Consultant
For. Sure.
Also, ignore anybody that tells you to run home assistant on a raspberry pi and an SD card. That SD card is going to fail when you need it most, guaranteed. SSDs on raspberry pi 4S are okay, but the NUC and the official color platforms are the way to go.
This, and @fxstein agreeing, is very timely...I have a couple of Raspberry Pi's lying around (I think they are 3's) and I was thinking of repurposing one as a HA server. I'll go with one of the official color platforms instead. Thank you!
 

Sponsored

godfodder0901

Well-Known Member
First Name
Jared
Joined
Mar 12, 2019
Threads
27
Messages
4,486
Reaction score
8,178
Location
Washington
Vehicles
2022 Rivian R1T LE
It can definitely be setup on a Mac Mini, just requires some reading up on things.
I did that early on but eventually switched to a dedicated Intel NUC I bought just for that.
Having a dedicated NUC seems like overkill. Just run in a Docker container on your home lab server or NAS.
 

joesmith315

Active Member
First Name
Dan
Joined
Apr 30, 2024
Threads
7
Messages
43
Reaction score
29
Location
NYS
Vehicles
'24 DM S+ R1S Midnight Black
Official platform devices will always be "easier" to get started. For those that know containerization (docker, proxmox, unraid, etc) a NUC is the way to go.
 
OP
OP
fxstein

fxstein

Well-Known Member
First Name
Oliver
Joined
Sep 17, 2024
Threads
10
Messages
120
Reaction score
221
Location
California
Vehicles
2023 R1T Quad Adventure
Clubs
 
Having a dedicated NUC seems like overkill. Just run in a Docker container on your home lab server or NAS.
Really depends on the scale of the setup.
I have well over 200GB of detailed data captured and in use. Found that a powerful dedicated NUC or similar can reliably handle it and provide a fast user experience.

A word of caution on containers on a NAS. I tried making that work as well on a powerful Synology I used to run.

it’s a bad experience on multiple levels. Too much co-dependency on the container setup supported for these NAS and their own OS and firmware. Every NAS update also has to restart the HA instance and its database service of choice. It creates on ton more possibilities for things to go wrong.
And because you aren’t running the full stack from OS to containers to supervisor to HA, the upgrade experience is always funky.
if you want to fiddle around with details for docker & co and be prepared for issues along the way, a NAS can be an option. For 99% of folks I highly recommend against it.
 

godfodder0901

Well-Known Member
First Name
Jared
Joined
Mar 12, 2019
Threads
27
Messages
4,486
Reaction score
8,178
Location
Washington
Vehicles
2022 Rivian R1T LE
Really depends on the scale of the setup.
I have well over 200GB of detailed data captured and in use. Found that a powerful dedicated NUC or similar can reliably handle it and provide a fast user experience.

A word of caution on containers on a NAS. I tried making that work as well on a powerful Synology I used to run.

it’s a bad experience on multiple levels. Too much co-dependency on the container setup supported for these NAS and their own OS and firmware. Every NAS update also has to restart the HA instance and its database service of choice. It creates on ton more possibilities for things to go wrong.
And because you aren’t running the full stack from OS to containers to supervisor to HA, the upgrade experience is always funky.
if you want to fiddle around with details for docker & co and be prepared for issues along the way, a NAS can be an option. For 99% of folks I highly recommend against it.
Agreed. For the majority, I recommend buying HA Green or Yellow. Plug and play.

As for Docker on a NAS, I'm using TrueNAS Scale on a dedicated server with an i7 and 64gb of RAM, so it has no issues with power. The only real issue, is that containerized HA doesn't get access to the add-on store, so all add-ons have to be manually configured. Not that difficult, but definitely more work than with HASOS.
 

eskudo12791

Well-Known Member
Joined
Sep 23, 2023
Threads
4
Messages
245
Reaction score
412
Location
Virginia
Vehicles
2022 Rivian R1T
care to share your code to make my data look nice like yours? :p
Sponsored

 
 





Top