QTS running Home Assistant

The QNAP TS-435XeU NAS can run containers, can we set it up to run Home Assistant?

The QNAP TS-435XeU NAS model I am working with is running the QTS 5.0 OS. The 1U 19″ pizzabox houses four 3.5″ HDDs and two M.2 NVMe SSD slots for cache. It has killer networking with multigig (2.5Gbps) copper interfaces and dual SFP+ slots for 10Gbps. The ARM CPU is no powerhouse but a maximum of 32GB RAM makes it ideal to run some light workload containers like Home Assistant

First we will install Container Station: Go to AppCenter and install Container Station to enable support for LXC and Docker. After installation you can start Container Station.

The system will automatically create a shared folder named Container to store images and containers: /Container, you can select Start Now

Go to Create and type home assistant in the Search apps or images bar and click the search icon.

Click Install for the the homeassistant/home-assistant container found on Docker Hub.

For Image version just go for latest.

On the Create Container screen I did not limit the CPU but I did set the Memory Limit to 8192 MB.

Go to Advanced Settings

under Environment add these new Environment Variables

  • Name: TZ and fill your timezone in Value. I used Europe/Brussels
  • Name: JEMALLOC_DISABLE with Value: true
    This is very important if you are running on QNAP with ARM CPU because otherwise you will see <jemalloc>: Unsupported system page size on the console.

under Network I changed some stuff:

  • Hostname: homeassistant
  • Network Mode from NAT to Bridge
  • Use Interface: Adapter 1 (you can first verify the correct adapter via Control Panel > System Status > Network Status)
  • According to your preference you can Use DHCP or Use static IP

under Shared Folders I added New volume homeassistant-config with Mounting Point /config

Click Create

Wait a bit while the container image is downloaded and created.

After that you should be able to access you Home Assistant at http://homeassisant.local:8123

Leave a Reply

Your email address will not be published. Required fields are marked *