Integrating Home Assistant into your QNAP X86 System NAS

6

Integrating Home Assistant into your QNAP X86 System NAS

Home Assistant is an open-source home automation platform running on Python 3 and Raspberry Pi. It is very easy and beneficial to combine QNAP X86 System NAS and Home Assistant.

Notes : This tutorial only support on X86 system NAS, If you want to use it on ARM system, You should build docker image yourself, or search Home Assistant for ARM version on docker hub.

Home Assistant can be easily installed on QNAP X86 System NAS by using Container Station app. For more information regarding Container Station, please check https://www.qnap.com/solution/container_station/en/index.php

 

Follow these steps to install Home Assistant:

  1. If you have not already installed Container Station on your NAS, you can find it in the NAS App Center.
  2. Open Container Station and go to “Create Container”.  Search for ” homeassistant/home-assistant” with docker hub, and click ” Install “.
    1
  3. In Version, choose  ” latest”  and click ” Next”.
    2
  4. Enter a name for the container (for example: homeassistant)
    3
  5. Click “Advanced Settings”. Go to Environment and click add twice :
  6. Go to “Network” :
    • In Network Mode  “, choose  ” Host “
  7. Go to “Shared Folders” :
    • In Volume from host “, click  ” Add ” and choose an existing folder or add a new folder (for example: HomeA)
    • In  mount point , enter  “/config “.  Home Assistant will use this folder for   configurations information and logs
      3-2
  8.  Click ” Create ” and wait for the NAS to finish creating the container
  9. After container has been created, open a new web browser window and go to http://<NAS IP>: 8123 ” (for example: ” http://192.xx.xx.xx : 8123″. Your Home Assistant will be displayed.
    5

Remark: to update your Home Assistant on your Docker within Qnap NAS, you just remove container and image and do steps again(Don’t remove “config” folder)

If you want to use a USB Bluetooth adapter or Z-Wave USB Stick with Home Assistant on Qnap Docker, Fallow this step:

Z-wave:

  1. Connect to your NAS over SSH
  2. Load cdc-acm kernel module(when nas restart need to run this command)
  3. Find USB devices attached. Type command:

    The above command should show you any USB devices plugged into your NAS. If you have more than one, you may get multiple items returned. Like : ttyACM0
  4. Run Docker command:

    -v is your config path
    -e is set timezone
  5. Edit configuration.yaml

That will tell Home Assistant where to look for our Z-wave radio.

Bluetooth:

  1. Connect to your NAS over SSH
  2. Run Docker command:

    First -v is your config path
    -e is set timezone
  3. Edit configuration.yaml

Related posts

2 thoughts on “Integrating Home Assistant into your QNAP X86 System NAS

  1. tim

    This tutorial only support on X86 system NAS, If you want to use it on ARM system, You should build docker image yourself, or search Home Assistant for ARM version on docker hub.

  2. Matthew Emerson

    Thank you very much for this! Maybe QNAP can come up with a better method of USB support then having to manually set it each time?

Leave a Reply