How to Install HomeAssistant on Raspberry Pi 4 with SSD - Argon One Step by Step

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome to Chuck builds today we're going to install a home assistant on our Raspberry Pi and talk about all you need to know before you do it yourself there are two installation methods for installing a image onto your SSD and it primarily boils down to how can you connect to your SSD from your computer I'm using an argon one for this video and I cannot directly connect my SSD to my PC to write an image onto it so we're going to do a few extra steps to write the image from the Raspberry Pi however if you purchase a device such as the SSD enclosure on the screen you can connect this directly to your computer and Flash the home assistant OS image directly onto the SSD now I realize this might be a lot of y'all's first time doing something like this so I want to give you a powerpoint representation of what's going to happen we're going to take the Raspberry Pi imaging software to install Raspberry Pi operating system onto a Micro SD card we will then take that micro SD card and put it into the Raspberry Pi 4 that will then boot into Raspberry Pi operating system once we're inside of the Raspberry Pi operating system we will then use the Raspberry Pi imaging software again to flash or install the home assistant operating system onto the Western Digital SSD that's inside of the Raspberry Pi at this time for option two it's a little bit simpler we would just take the direct SSD connection and connect it to the PC and use the Raspberry Pi imager to install the operating system directly onto the SSD and then connect that to the Raspberry Pi 4. now that we've gone over an overview of what's going to happen I'd like to talk about what you need I'm going to be doing this specifically for the video I've recorded already and that is a Raspberry Pi 4 using USBC power make sure you get the Raspberry Pi branded one or a good quality one the Raspberry Pi's can be picky I am using a SATA SSD because my SSD enclosure the Argon one requires that make sure that your SSD matches your enclosure as you purchase it I also am going to need a Micro SD card in an SD card reader to install the home assistant operating system onto the Argon 1 SSD keep referring to the Argon one but I haven't explained what it is yet it is an aluminum case with a fan and a SATA SSD expansion board for the Raspberry Pi 4. I already had one so that's what I'll be using it's been pretty slick it's a nice little case to keep it protected and cool I would recommend it for its price it seems like it's well priced but the downside is that it does not accept all ssds only SATA ssds they can be a little bit expensive for a name brand I would probably recommend getting a no-name brand such as these for the price savings it'll likely work but if you don't want to go the Argon one route any USB SSD enclosure that has decent reviews on Amazon will likely be fine just be sure to pay attention to the text and make sure that you get the right SSD for its interface I do recommend this Samsung 980 it's a great price for one terabyte of storage and I've used them on several devices and it's been great the last thing I want to call out before we get started with the installation of the home assistant operating system is the prices of Raspberry Pi's they're through the roof right now while they are dropping it's really hard to find one I strongly suggest that you take a look at the rpylocator.com and Associated Twitter account this guy is a godsend I've gotten two raspberry pies through him he can find them cheap at MSRP and you can sign up for alerts to try and get them I do not recommend paying 100 for your Raspberry Pi 4. hello here I'm going to show you how to assemble a Raspberry Pi 4B with an SSD for home assistant I originally already had this together but I figured I should back it up and show you the process I have a Raspberry Pi 4B these are heat sink pads here it's in the kit we'll skip over that for now we have a Western Digital blue SSD m.2 to fit with the rest of this case notice it's not an nvme it's a SATA SSD M2 is the size but the interface is SATA that is important because we are using an argon one M2 and this is only for SATA right there um so this board will interface with the Raspberry Pi so that can always have this SSD and that'll prevent us from cooking any SD cards as we use home assistant so the first thing we're going to do is we're going to take our SSD and we're going to place it into the key slot here carefully get it lined up it'll have a little bit of a friction but it should click and once it's clicked it'll have this upward tilt you're going to take this small screw that came with the kit go ahead and put it on the screwdriver hey we are going to just push that down to this little screw hole and tighten down the SSD so we have our Western Digital SATA SSD attached to the Argon one board next up we're going to take our Raspberry Pi and you'll apply your thermal paste pads that it comes with to attach to here on the Argon but we're going to grab the expansion board this piece we're going to line it up with the AUX port and the micro HDMI we're just going to carefully slide these in firmly that it's in there but not so rough that it breaks so once we've got that we're going to lay it down into the upper board or this upper part of the case there there is a board in here with some dip switches on using the ir and the light and fan but when we attach this we need to make sure that these gpio pins are lining up with the corresponding slots here so that's really what I'm focusing on as I line this up is that my pins are all lined up looks like they are I'm going to give it a firm but still gentle compression to make sure those pins are all in there pretty good is we're putting in our screws to lock down this Raspberry Pi we have our four corners here that will have mounting points on this argon one lower facility so we're trying to get this bottom one here this one on the HDMI board and then I think there's one more somewhere probably the most middle one for these other screws I got to kind of see how many I have where they fit I didn't pay too much attention taking it apart on your computer go to raspberrypie.com software to download the Raspberry Pi imager for Windows once that's downloaded go ahead and open it and click install and go ahead and connect your micro SD card via your micro SD to USB adapter to the computer inside the Raspberry Pi imager click choose OS then scroll down to miscellaneous utility images bootloader and then USB boot choose your SD card that's connected to the computer and click right this USB boot operating system will allow your Raspberry Pi to boot directly from your SSD once it's connected to the USB once it's done writing to the micro SD card go ahead and remove it from your computer and take it over to Raspberry Pi so now we have the USB bootloader on the SD card the micro SD card we're going to put that into the Raspberry Pi down here and I'm just going to place it on top of the bottom of the case and I will not be connecting the dongle at this time I'm going to attach a HDMI cable and apply power to the Raspberry Pi this will turn it on looking at these lights we have a flashing green light which means it worked it was successful you can see the glare but on the monitor we've also got green showing it was successful so now I will remove power in HDMI open it back up and remove the SD card to take back to the computer to load Raspberry Pi OS onto it back on the computer we're going to click choose OS and select Raspberry Pi OS we're also going to select our micro SD card that's connected to the computer but before you click right click on the gear icon in the bottom right hand corner and change the username and password I'm going to choose pi and raspberry the defaults and then I'm also going to configure my Wi-Fi so that when it turns on it can connect to the internet I'm going to click save and now I'm going to click right while we wait for this to write Raspberry Pi onto the micro SD card I just want to remind you this is only for the Argon one or if you are working with an SSD that cannot connect to your main PC if you're using an external SSD USB enclosure at this time you could just choose home assistant as your operating system and your storage as your SSD and click right but I'll cover that in a moment again so I now have the micro SD card with the Raspberry Pi operating system on it and we're going to take that and insert it into the Raspberry Pi and then I'm just going to place it on top of the bottom half here because we'll be using that here shortly and then I'm going to plug in the power and the HDMI here's the screen recording from the Raspberry Pi as it turns on sped up significantly as it tries to boot from the USB which is not connected at this time it's booting now into the Raspberry Pi operating system off of the SD card and once we're into the Raspberry Pi operating system I will connect the dongle for the SSD to be connected to the Raspberry Pi and you can see those storage locations pop up but next we're going to go to the raspberry start menu accessories and then Imager inside the Raspberry Pi imager we're going to click choose OS and scroll down to other specific purpose operating system and then home assistant home assistant again and then choose the home assistant for your Raspberry Pi for me it's the Raspberry Pi 4. and then for storage I'll choose the SSD on my Raspberry Pi which will be the Argon one however if you're using option 2 where your SSD is connected directly to your computer for the Raspberry Pi imager you could just go ahead and select that here and you could have skipped the first installation right now I'm typing in the password that I set when installing Raspberry Pi onto the SD card I didn't delete this footage because I wanted you to see that it could hang up and look a little slow the speed of writing to the SD card is dependent on how fast your SD card is and how fast the USB adapter for your micro SD card is as well once that's done though we'll go ahead and turn off the Raspberry Pi and continue on with our installation so now I will remove the power in the HDMI cord we're going to remove our dongle for the SSD I've got a wireless mouse and keyboard attached I'll leave that for now we're going to open up and we're going to take out our micro SD card and we will reattach the bottom of the Argon one and screw it back together so now that we have it back together we will make sure that we have our SSD attached via the USB dongle when it turns on when it connects my HDMI and my power and now we're building it to home assistant this segment is a sped up screen recording of the Raspberry Pi with home assistant turning on and doing all the checks that it runs as it turns on it does take a few minutes to get started I really debated on cutting this out but I wanted you to see just how long it could take just so you didn't think that there was anything wrong as you go through this for the first time if you have followed along this far please don't quit just yet as we need to still get connected to the internet the easiest way would be to connect over ethernet and just plug it in and be done but if you're going to do Wi-Fi follow along for these next steps and I'll have this typed out in the description the First Command we're going to run is Network info and check and see that we have a wireless LAN interface or wlan0 now that we know that that's there we can update wlan0 with this string of arguments to tell it what Wi-Fi we're connecting to what type of password it is and all the settings necessary to make it work and at the end of the string here you'll see the Wi-Fi SSID which is the name of your Wi-Fi and then Wi-Fi psk which is the password to your Wi-Fi once you enter that you'll get the confirmation message from home assistant that the command was completed successfully and if we run network info one more time you'll see that you're connected and have an IP address using that IP address enter it into the browser on your computer and you'll get to the setup screen for your home assistant instance and now you have home assistant installed on an SSD on a Raspberry Pi hopefully everything went smoothly for you but if you have any questions or need any help please leave a comment below or reach out on social media and I'm happy to help in any way that I can now that you have it finished and you're ready to get to the next step go ahead and subscribe and follow along for the next part in this series to figure out how to make your smart home smarter and easier for you to use um as of right now you are good to go you can mess around with it you can start connecting your devices but if you want to get a more guided introduction to home assistant go ahead and subscribe and I hope to walk you through that if you have any questions about your installation or having any issues with your installation on a Raspberry Pi or just in general feel free to leave a comment or message me and I'll try to help out any way I can
Info
Channel: ChuckBuilds
Views: 1,877
Rating: undefined out of 5
Keywords:
Id: unMyxH-TXoI
Channel Id: undefined
Length: 15min 39sec (939 seconds)
Published: Wed Jul 26 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.