Home Assistant on a Synology NAS with Docker

How to install Home Assistant on a Synology NAS with Docker to get net discovery working.

Hardware Mentioned in this Video
Synology DS1512 NAS:

See the smart home products I use:

Blog post with commands:
Home Assistant: http//home-assistant.io

Phil Hawthorne on Twitter:

19 Replies to “Home Assistant on a Synology NAS with Docker”

  1. Paulo Azevedo

    Phil Hawthorne it's possible to install an old Home Assistant docker image (I'm looking for 0.93) ? Unfortunately I lost my docker service on my synology and I'm rebuilding everything. What would be the command on docket to pull HA 0.932? Thank you advance!

  2. Krzysztof Wojewski

    sudo docker run -d –name=HomeAssistant –restart=always –net=host -v /volume1/docker/hass:/config homeassistant/home-assistant


    sudo docker stop HomeAssistant

    sudo docker pull homeassistant/home-assistant

    sudo docker rename HomeAssistant HomeAssistant_old

    sudo docker run -d –name=HomeAssistant –restart=always –net=host -v /volume1/docker/hass:/config homeassistant/home-assistant

    sudo docker rm HomeAssistant_old

  3. Lars Peter Abildskov

    Hi – I get "Error response from daemon: Bind mount failed: '/volume1/Shared/docker/homeassistant/config' does not exists."
    There was no Shared folder on my NAS so I created it, but I still get the same error. I run installation as root. What to do?

  4. Arno

    After installation I get this error message on Putty:
    docker: Error response from daemon: Bind mount failed: '/volume1/Shared/docker/homeassistant/config' does not exists.

    Also get this error message in the Docker logfile when trying to start HA.
    What should I do ?

  5. Herbert Müller

    Hi Phil, I would like to add a RFXTRX 433E transceiver to my Synology station and struggle how to find and activate it in the docker where I am running HA. I have tried with your suggested command:
    ls /dev/tty*/
    to find the USB port where I have connected the transceiver. However under that command nothing shows up.
    When trying lsusb I get the following listing:
    |__usb1 1d6b:0002:0310 09 2.00 480MBit/s 0mA 1IF (ehci_hcd 0000:00:1a.7) hub
    |__usb2 1d6b:0002:0310 09 2.00 480MBit/s 0mA 1IF (ehci_hcd 0000:00:1d.7) hub
    |__2-1 f400:f400:0100 00 2.00 480MBit/s 300mA 1IF ( USB DISK MODULE 19C30D00AC3B03EA)
    |__usb3 1d6b:0001:0310 09 1.10 12MBit/s 0mA 1IF (uhci_hcd 0000:00:1a.0) hub
    |__usb4 1d6b:0001:0310 09 1.10 12MBit/s 0mA 1IF (uhci_hcd 0000:00:1d.0) hub
    |__4-2 0403:6001:0600 00 2.00 12MBit/s 90mA 1IF (RFXCOM RFXtrx433 A11HEOE9)
    |__usb5 1d6b:0001:0310 09 1.10 12MBit/s 0mA 1IF (uhci_hcd 0000:00:1d.1) hub
    |__usb6 1d6b:0001:0310 09 1.10 12MBit/s 0mA 1IF (uhci_hcd 0000:00:1d.2) hub

    I can see that the RFXtrx433 is connected. Now, the question is how do I proceed to connect the device to the docker?
    Do you have any suggestion?
    Thxs and br, Herbert

  6. Herbert Müller

    Hi Phil, thxs for the great video. I installed HA on my Synology with DSM 6 as shown in your video. However, I can't execute the hass command's as I can't find the proper path. Any suggestions from your side?.

  7. Ali Raza

    Thanks for the video..I am trying to run eclipse mqtt and it intalls and works fine but I dont know where the folder for the conf file is located. I installed on docker/mosquitto/conf the folder is blank with nothing in it

  8. MShadowZero1

    fist thank you for the video
    i want ask what the different install the Home assistant whit SSH and without it i use docker and install it in my synology and work i use this page
    but after i restart the Home assistant can't access it don't know why ?
    and can you tell me what this mean in same page ?
    (Within “Volume” click on “Add Folder” and choose either an existing folder or add a new folder. The “mount point” has to be “/config”, so that Home Assistant will use it for the configs and logs).
    Thank you

Leave a Reply

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