Updated Nov 23, 2026· 9 min read

Key takeaways

  • Run Home Assistant on your NAS with this setup guide: container or virtual machine, USB radio passthrough, config backups, and reboot planning.

As an Amazon Associate we earn from qualifying purchases.

Your NAS already runs all day and night, so putting your smart-home hub on it feels like the obvious move. One box, one power cable, no extra hardware to buy. The catch is that a NAS is a file box, not an appliance. The hub that turns your lights on and locks your doors at night has to survive firmware updates, a radio stick that must be visible inside the workload, and a box that goes quiet for ten minutes whenever it reboots. Getting those details right is the job.

This guide is for people who own a NAS and want to add a smart-home hub to it without buying a separate computer. It covers the choice between a container and a virtual machine, where to put the config folder so it survives a rebuild, how to pass a USB radio stick through, how to back up the config apart from the NAS data backup, and how to plan for the night the NAS reboots at 3 a.m.

How to Choose

Container or Virtual Machine

A container is the lighter choice. The hub shares the NAS operating system, uses little memory, and boots in seconds after the NAS finishes booting. The trade is that some features expecting a full system are missing, and USB devices need explicit permission to reach the container. A virtual machine gives the hub its own operating system and full control of USB devices, but it reserves memory and CPU the NAS cannot use elsewhere, and boots more slowly. Pick a container when the NAS has limited memory and the hub only needs the network. Pick a virtual machine when a radio stick is involved or when the hub must run exactly as its maker intended.

Where the Config Folder Lives

The config folder is the whole system. Every device, automation, scene, and login lives there, and losing it means rebuilding the smart home from nothing. Put the folder on a shared folder the NAS backs up, not inside the container or virtual machine image where a rebuild wipes it. A rebuild should be a ten-minute job: point a fresh workload at the old folder and carry on as if nothing happened. If the folder lives inside the image, one failed update can take the whole smart home with it. Keep the folder somewhere you can copy to a USB drive by hand, and name it so its purpose is obvious the next time you open the file manager at midnight.

USB Radio Passthrough

A radio stick is the bridge between the hub and devices speaking Zigbee or Z-Wave, and it only works when the hub can see it. In a container, the stick is mapped into the workload by device path, and that path can change when the NAS reboots or another USB device is plugged in. In a virtual machine, the stick attaches to the machine itself, which is more reliable but ties it to that one machine. Before pairing a device, open the hub and confirm the stick appears in its hardware list. A stick the hub cannot see is a hub that controls nothing, and a pairing session that fails for no visible reason usually comes back to this check.

What Happens When the NAS Reboots

A NAS reboots for firmware updates, power cuts, and the occasional manual reboot after a settings change. Each time, the hub goes down with it: lights stop responding to automations, locks stay as they were, and sensors stop reporting until the hub is back. Set the workload to launch automatically when the NAS finishes booting, rather than waiting for a click in the NAS interface. Keep a physical switch or a key for the front door, because a home that only works through the hub locks you out during an update. The goal is a hub that survives a reboot without you touching anything.

Step-by-Step

1. Check the NAS has room. Check free memory and CPU in the NAS resource monitor. The hub needs at least 2 GB of free memory and a little CPU headroom, so a NAS already busy with media or backups will make the hub lag. If the numbers are tight, stop a task you do not need.

2. Decide between a container and a virtual machine. Choose a container when the NAS has limited memory, the hub only needs the network, and no radio stick is involved. Choose a virtual machine when a Zigbee or Z-Wave stick is part of the plan. Write the choice down: the config folder location and the backup plan follow from it.

3. Create a shared folder for the config. Make a new shared folder on the NAS, and give the workload permission to read and write it. This folder is the whole smart home, so put it on a volume the NAS backs up. Do not let the workload keep its config inside its own image, where a rebuild can wipe it without warning.

4. Create the workload and point it at the config folder. Create the container or virtual machine, and map the shared folder as the config location. Set the network so the hub gets an address on your home network rather than a private address hidden behind the NAS. Confirm the hub’s first-run page answers.

5. Attach the USB radio stick and confirm it appears. Plug the stick into the NAS, pass it through to the workload, and open the hub’s hardware list. The stick must appear before you pair anything. If it does not appear, check the device path or the virtual machine attachment. A stick the hub cannot see is the most common reason a first pairing fails, and it is far easier to fix now than later.

6. Run the first-run setup. Open the hub, create the owner account, and set the location and time zone, because automations that depend on sunset and sunrise need both to be right. Add one device first, test that it responds, and only then add the rest in small groups. One working device proves the radio, the network, and the config folder all work.

7. Set the workload to launch on boot. Turn on automatic launch for the container or the virtual machine, so the hub comes back on its own after a NAS reboot. Then reboot the NAS once, watch the hub come back, and check that a light responds to an automation. A planned reboot now shows you exactly how long the house is dark.

8. Make a config backup and store it off the NAS. Copy the config folder to a USB drive, and repeat that copy after any big change. The NAS data backup only protects the config if the folder sits inside a backed-up share, so confirm that it does. A config backup is a five-minute job that saves a weekend rebuild.

Which One Fits Your Situation

A Small Flat With a Few Lights

A container is the right call here. The hub only needs the network, the devices are Wi-Fi bulbs and plugs, and no radio stick is involved. Give the container a small memory limit, put the config folder on a backed-up share, and set it to launch on boot. The whole setup takes an evening, and the NAS barely notices the extra load. Keep a physical switch for the main light, because the hub still goes quiet when the NAS reboots.

A House Full of Sensors and Automations

A virtual machine is the right call here. The house has door sensors, motion sensors, temperature sensors, and automations that tie them together, so the hub needs a radio stick and enough memory to handle the traffic. Reserve the memory the hub needs, pass the stick through to the machine, and keep the config folder on a backed-up share. Add devices in small groups, and test each automation before moving on to the next one.

A Home Where the Locks Depend on the Hub

This is the situation that needs a physical backup most. Set the workload to launch on boot, put the NAS on a battery backup, and keep a key or keypad for the front door that works without the hub. The hub can lock the door at night, but the house must still open in the morning. A lock that only works through the hub is a lock that fails at the worst moment.

A Tinkerer Who Rebuilds Often

Keep the config folder separate from the workload and back it up before every change. A rebuild should be a ten-minute job: delete the workload, create a fresh one, point it at the old folder, and carry on. Never store the config inside the image, and never make two changes at once, because a rebuild that also changes the network is two problems wearing one coat. The config backup is what makes tinkering safe instead of expensive.

Common Mistakes

  • Installing the hub so its config lives inside the container or virtual machine image, where a rebuild wipes it.
  • Passing the USB stick by a device path that changes after a reboot, so the hub loses its radio.
  • Backing up the NAS data but never the config folder, so the smart home has no backup at all.
  • Pairing fifty devices before testing the first one, so a bad radio or a bad device hides in the crowd.
  • Forgetting that a NAS reboot takes the whole smart home down, and having no physical switch or key as a backup.

Frequently Asked Questions

Can I run Home Assistant on any NAS?

No. The NAS needs to support containers or virtual machines, and it needs enough free memory — at least 2 GB for the hub plus headroom for the NAS itself. Older ARM-based boxes often lack virtual machine support and may struggle with a container too. Check the NAS specification for container and virtual machine support before you begin, and check the resource monitor to confirm the memory is actually free.

Do I need a USB radio stick?

Only for Zigbee or Z-Wave devices. Wi-Fi bulbs, plugs, and cameras talk over the network and need no stick at all. If the house uses Zigbee sensors or Z-Wave locks, a stick is the bridge, and it must be passed through to the workload and visible in the hub’s hardware list before pairing. Buy the stick after confirming the NAS can pass USB devices through, not before.

What happens to my lights when the NAS reboots?

Automations pause while the hub is down, and lights stay as they were — on stays on, off stays off. Physical switches still work, because they cut power directly. The hub comes back when the NAS finishes booting if automatic launch is set. A short reboot is a pause, not a failure.

How do I back up my smart-home setup?

Copy the config folder to a USB drive, and repeat the copy after any big change. The folder holds every device, automation, and scene, so it is the whole backup. The NAS data backup only protects it if the folder sits inside a backed-up share. Keep one copy off the NAS, because a backup on the same box as the data it protects is not a backup at all.

A
affadmin
We compare specs, materials and verified owner reviews before a product earns a spot. Rankings are never paid.
Affiliate disclosure. As an Amazon Associate we earn from qualifying purchases at no extra cost to you. Prices accurate as of the date shown.

More from Amazon

Programs that pair well with the guide above. Offers and eligibility are set by Amazon and may change.

Amazon Business

A free business account with business pricing and bulk-buying tools for work, shop or home office.

Create a business account
Amazon Prime

Free shipping on eligible items, Prime Video and more. Eligible new members can start with a free trial.

Start a Prime free trial
Audible

Audiobooks and podcasts to listen to on the go. Eligible new members can start with a free trial.

Try Audible free
Amazon Music Unlimited

Ad-free music streaming. Eligible new subscribers can start with a free trial.

Try Music Unlimited free

As an Amazon Associate we earn from qualifying purchases.