Journal

How to Install Home Assistant: A Step-by-Step Beginner Guide for 2026

การติดตั้ง Home Assistant คู่มือทีละขั้นตอนสำหรับผู้เริ่มต้นปี 2026

May 17, 2026 · 1 min read
How to Install Home Assistant: A Step-by-Step Beginner Guide for 2026

Prepare Your Hardware First

Before downloading anything, assemble the necessary hardware.

Raspberry Pi 5 with 4GB or 8GB RAM, priced at ฿2,500–3,500. Choose 8GB if you plan to run Frigate NVR in the future. The official Raspberry Pi 5 power supply rated at 27W is required since Pi 5 draws more power than previous models.

For storage, an M.2 NVMe SSD (2242 or 2280 form factor) of 128GB or larger with a PCIe HAT+ for Pi 5 is recommended, totalling ฿800–1,500. A 32GB or larger microSD card works as a starting point, but plan to migrate to SSD within six to twelve months.

A Cat5e or better LAN cable for the router connection, and a Sonoff Zigbee 3.0 USB Dongle Plus at ฿600–800 if you have Zigbee devices.

Download and Flash Home Assistant OS

Go to https://www.home-assistant.io/installation/raspberrypi, select Raspberry Pi 5 64-bit, and download the .img.xz file.

Download Raspberry Pi Imager from https://www.raspberrypi.com/software/ — simpler than Balena Etcher for first-time installers. Open Imager, select "Use Custom," choose the downloaded file, select your storage target, and click Write. The process takes 10–15 minutes.

First Boot and Initial Setup

Insert the SSD or microSD into the Raspberry Pi 5, connect the LAN cable to your router, and apply power.

Home Assistant boots and downloads updates automatically on first launch. This process takes 10–20 minutes depending on internet speed.

When complete, open a browser on any device on the same network and navigate to http://homeassistant.local:8123. Home Assistant displays a welcome screen for creating the first account.

Create an account with a username and password, enter a home name, set the timezone to Asia/Bangkok, and provide an approximate location so the system can calculate accurate sunrise and sunset times.

Adding Tuya and Zigbee Devices

After setup is complete, go to Settings > Devices & Services > Add Integration.

For Tuya: register at https://iot.tuya.com first, create a Cloud Project, and link it to the Tuya Smart app to obtain a Client ID and Client Secret to enter in the Home Assistant integration.

For Zigbee: plug the Sonoff Zigbee Dongle into a Pi 5 USB port, install the Zigbee2MQTT add-on from the Add-on Store, configure the correct serial port, and pair Zigbee devices by holding the pairing button for 5–10 seconds.

For Xiaomi Mi Home: use the Xiaomi Miot integration, enter your Mi Home account credentials, and the system imports all devices automatically.

HappySmart installs and pre-configures Home Assistant on Pi 5 with all integrations included, delivering a ready-to-use system without any of these manual steps.

Free consultation via LINE

Questions & answers

Should I use a microSD or SSD for Home Assistant on Pi 5?
SSD is clearly better — longer lifespan, faster performance, and Pi 5 has a native PCIe interface for NVMe SSD. microSD is acceptable only for initial testing before committing.
How long does the first Home Assistant boot take?
First boot including update downloads takes 10–20 minutes depending on internet speed. Do not power off or reboot the Pi during this time as it may corrupt the installation.
Does the Tuya integration require a separate account?
Yes. You need to register a developer account at iot.tuya.com, create a Cloud Project, and link it to the Tuya Smart app before receiving the API credentials required in Home Assistant.
How do I access Home Assistant if I forget the IP address?
Enter http://homeassistant.local:8123 in a browser on any device on the same network. Alternatively, check your router's admin page to see which IP was assigned to the Pi.
Does Home Assistant support automatic backups?
Yes. Automatic backups to USB drive or network storage are configured under Settings > System > Backups. Weekly backups are recommended as a minimum.

Related reading