The easiest way I have seen to do this is to download and install Raspberry Pi Imager (https://www.raspberrypi.com/software/).
- Download the Ubuntu installer from https://www.raspberrypi.com/software
- Open terminal
sudo apt install .\imager_%version%_amd64.db
(change%version%
to the correct version)
Note: I am doing this from Ubuntu, but would be similar from Windows and MacOS.
- Insert microSD card into computer
- I read it is recommended to use at least a 64GB microSD card. However, for this demonstration I am using a 16GB as it should have plenty of space for what we are doing during this presentation.
- Open Raspberry Pi Imager
- Click the "CHOOSE OS" button
- Choose "Other specific-purpose OS" (likely requires scrolling down)
- Choose "Home assistant and home automation"
- Choose "Home Assistant" (likely requires scrolling down)
- Choose the appropriate option for your model of RPi
- Click the "CHOOSE STOR..." button
- Choose the appropriate device to install to
- Click the "WRITE" button
- Click the "YES" button to agree to continue and overwrite existing data on the card
- You may be required to enter credentials to continue
- The program will go through a series of step (Downloading, Writing, and Verifying)
- Removed the microSD card from your computer and click "CONTINUE"
- Close out of Raspberry Pi Imager as we are done with it
Note: This assumes you have inserted the microSD card into the RPi and connected power, display, and network cable. Yes, as far as I know, it requires a physical connection to the network to do the initial configuration. The display isn't required if you aquire the devices IP address from your DHCP server.
- Power on the Raspberry Pi, if not already powered on, and wait for the CLI to be ready and display an IP address.
- Open a browser on your computer and go to the IP address listed on the RPi using port 8123.
- Example: http://192.168.1.250:8123
- You should see a screen similar to the one below
- When it is ready enter Name, Username, and Password (twice) and click Create Account
- Enter a name for this HA install and either click DETECT or enter Country and Language
- Click Next
- Select what anonymized data you want to send to HA and click NEXT
- You will get a screen showing Devices and Services HA discovered on your network which can be integrated
- Either set them up by clicking on the ones you want or click FINISH