Journal

Step-by-Step Home Assistant Installation on Raspberry Pi 5

ขั้นตอนการติดตั้ง Home Assistant ด้วย Raspberry Pi 5 อย่างละเอียด

May 16, 2026 · 1 min read
Step-by-Step Home Assistant Installation on Raspberry Pi 5

Why Install Home Assistant on Raspberry Pi 5?

Raspberry Pi 5 and Home Assistant OS are the perfect pairing for a smart home system. The RPi5 delivers performance sufficient for hundreds of automations, Frigate AI cameras, and real-time dashboards — at a fraction of the cost of proprietary hubs. Home Assistant OS is an operating system purpose-built for smart homes, providing the best possible Home Assistant experience.

Required Hardware

Prepare these items before starting: Raspberry Pi 5 (4 GB or 8 GB RAM recommended), 32 GB+ Class 10 micro SD card or M.2 SSD via PCIe, USB-C 5A power supply, a case with cooling fan, Ethernet cable (recommended for initial setup), and a computer or smartphone for first-time access.

Step 1: Download and Flash Home Assistant OS

Download Raspberry Pi Imager from raspberrypi.com. Open the application, select Raspberry Pi 5 as the device, then navigate: Choose OS > Other specific-purpose OS > Home Assistant and Homelab > Home Assistant. Select your SD card or SSD and click Next. Wait for flashing to complete (approximately 5-10 minutes).

Step 2: First Boot

Insert the SD card or connect the SSD to the Raspberry Pi 5. Connect an Ethernet cable to your router. Plug in the power supply and wait approximately 5-10 minutes for the first boot. The system downloads additional components and configures itself automatically.

Step 3: Access Home Assistant

Open a browser on any computer or smartphone on the same network. Navigate to http://homeassistant.local:8123. If this doesn't resolve, use the Raspberry Pi's IP address directly (find it in your router's admin panel or using an app like Fing).

Step 4: Initial Configuration

Follow the guided setup to create a user account, set your location (used for sunrise/sunset automations), and select your timezone. Home Assistant will automatically scan the local network for compatible IoT devices.

Step 5: Connect Device Integrations

Go to Settings > Devices & Services > Add Integration. Search for your device brand or protocol — Xiaomi, TP-Link, Zigbee, Z-Wave, and thousands more. Follow the brief wizard steps. Devices appear in Home Assistant immediately, ready for control.

Step 6: Build Your First Automation

Navigate to Settings > Automations & Scenes > Create Automation. Set a trigger — for example, sunset. Add an action — turn on outdoor lights. Save and test. From that point, the automation runs daily without any manual input. HappySmart offers RPi5 installation and Home Assistant configuration services with custom automation design tailored to your specific home.

Questions & answers

What is the difference between Home Assistant OS and Home Assistant Core?
Home Assistant OS is a dedicated operating system that is the simplest to install, with full add-on and backup support. Core runs on Linux/Docker for greater flexibility but requires more technical knowledge.
Is an SSD better than an SD card for RPi5?
Significantly better. SSDs offer much faster read/write speeds and far longer service life than SD cards. An M.2 SSD via a PCIe hat is strongly recommended for long-term operation.
Do I need a monitor to install Home Assistant?
No — the entire installation and configuration process is handled through a web browser on any computer or smartphone on the same network. No monitor needs to be connected to the RPi5.
Does Home Assistant support Zigbee natively?
Yes, via a USB Zigbee dongle such as the SONOFF Zigbee 3.0 Dongle Plus, using the Zigbee2MQTT or ZHA integration — no separate Zigbee hub required.
Where can I get help if I encounter installation problems?
The Reddit community r/homeassistant, community.home-assistant.io forums, Thai-language Home Assistant Facebook groups, or contact HappySmart for professional installation services.

Related reading