This afternoon, I transferred my HA installation from my pi4 to my pi5 with NVMe drive.
The installation went smoothly but I made sure that I was well-prepared doing the following.
I thought is useful to post my the steps in a separate thread.
1. Backup
First update HA and any other applications that need updating.
Then generate a full up-to-date HA backup using the 'Home Assistant Google Drive Backup' addon. I copied the backup from my Google Drive to the desktop on a computer.
2. Installation of HA on the pi5.
I connected the pi5 to an old keyboard and mouse and an HDMI port on a TV. You need the pi5 hardwired to a network cable and you can install HA directly from the network with no need to mess around with burning an image to an SD card. This also works with a pi4.
I recommend this video from 'Explaining Computers' which goes over preparation of the NVMe and how to install HA:
https://www.youtube.com/watch?v=Ll9Tmp3tppU&list=PL2m2YvnrOYxIruF90iAnw3LDym1FeNQ2c&index=6&t=846s
Not only is the video very informative, it is entertaining.
3. Accessing HA from a computer.
Using the network, HA is installed on the pi5 as a CLI (Command Line Interface).
The CLI displays the IP address. Mine is 192.168.68.83.
I checked that I could access the pi5 on Mac terminal or PC command line using ping.
My command was: ping 192.168.68.83
You now need to 'complete' the installation using a web browser from your computer with the backup on the desktop.
In the browser, I input 192.168.68.83:8123, logged on with a username and password and restored from my earlier HA backup.
Before I did this, I completely shutdown my pi4! I used the IP address rather than homeassistant.local in case my computer got confused.
4. Checked that predbat works!
I then checked any other devices that I use to access HA and changed the server setting to 192.168.68.83:8123.
I finally sighed with relief.
The pi5 with NVMe is certainly a lot faster than the pi4 with SSD, which was hardly a slouch .
If you do go the pi5 route, I hope these steps help and that I haven't made any mistakes.
Do get back to me if you need further advice.
Be very careful!!
Rob




