• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Camiel Schoonens

Energetic leader with a strong intrinsic motivation to get the best out of my work, my people and myself every day.

  • Home
  • About
  • Resume

HACS in a Home Assistant Docker on a Synology NAS

16/04/2023 · Leave a Comment

I used this weekend to move my Home Assistant and HACS installation from my Raspberry Pi to a Docker container on my Synology NAS. The main reason for this move is performance and resilience as I’ve read to many stories on SD Cards in a Raspberry Pi failing due to the amount of read/writes happening.

Loading the Docker container on my Synology was really easy. Getting HACS (Home Assistant Community Store) up and running again in Home Assistant was a little bit harder, while the instructions that I found to do this were crystal clear.

The reason for not being able to install HACS through the default install script is that it depends on the availability of the ‘unzip’ command. Synology uses ‘7z’ instead of ‘unzip’. This results in the HACS installation script not working out of the box.

Once you’ve figured this out the solution to this problem is fairly easy:

  1. Load the script at this location in your browser and copy the complete text.
  2. Create a new file on your NAS in the /docker/homeassistant/config/custom_components directory, call it what you want. I named the file hacs.pl
  3. Edit the file in a text editor and past the text you copied in step 1.
  4. Use your text editor to find/replace unzip with 7z (1 instance should be found)
  5. Save the file and execute (./hacs.pl) the script through a terminal (ssh) on your NAS. If you can’t execute the script you need to do a chmod 777 on hacs.pl
  6. That it, you can now continue with step 4 in this tutorial.

Related Posts

  • Home Assistant Dashboard Update

    During the Easter weekend I had some extra time to update my Home Assistant dashboard.…

  • Home Assistant notificaties voor energieverbruik en energieproductie

    Ik heb vanavond een half uurtje met Home Assistant zitten spelen om notificaties te versturen…

  • Christmas Side Project - My Home Assistant Dashboard

    I've been using Home Assistant since early 2020 after having heard about it in a…

Side Projects Home Assistant

About Camiel

I’m Camiel Schoonens, a husband and proud father to three children currently living and working from the Netherlands. I am leading a large global community of Product and Technology enthousiasts in Worldline.

People working with me describe me as an energetic leader, as someone who guides teams into the future and leads the way by setting an example. I see myself as a culture builder and a driver of change. As a leader I’m proud when people look back at my legacy and describe me as a person who delivered on his promises. This is what I stand for and would be the culture I would want to leave behind with any team that I work with.

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar

Recent Posts

  • San Francisco Bay Area • Ludwig Favre
  • Minimal Saltern Study Wallpapers — Basic Apple Guy
  • The Secret to Leading Organizational Change Is Empathy
  • Smart Home Dashboard with Home Assistant and Inkplate – IT-obey!
  • Converting W to kWh in Home Assistant

Recent Comments

  1. Jesse D on Home Assistant Dashboard Update
  2. MichaelTheDane on Home Assistant Dashboard Update
  3. Phil on Home Assistant Dashboard Update
  4. Gavin Campbell on Home Assistant Dashboard Update
  5. noxi@graz.social on Home Assistant Dashboard Update
Motivation is what gets you started. Habit is what keeps you going.
  • Email
  • LinkedIn
  • RSS

Camiel Schoonens

Copyright © 2023 · Monochrome Pro on Genesis Framework · WordPress · Log in