• 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

Camiel

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.

Home Assistant Dashboard Update

10/04/2023 · 15 Comments

During the Easter weekend I had some extra time to update my Home Assistant dashboard. Previous iterations of this dashboard can be found here and here.

The main updates / changes that I did:

  • Changed the colours used in the graphs.
  • Added a graph for my solar inverter to measure the Watt produced by the panels that I have east and west facing.
  • Removed several temperature sensors as I was never looking at them.

Finished reading: Sneeuwwit by Samuel Bjørk 📚

07/04/2023 · Leave a Comment

Ik heb het vierde boek in de reeks over Holger Munch and Mia Krüger uit. Deel vier is een fijn en spannend boek dat inmiddels vertrouwd ‘weg leest’. Dit vierde deel is eigenlijk het eerste boek in de reeks van Munch en Krüger, dit verhaal speelt zich af in het tijdvak voor de andere boeken (Deel 1,2,3). Wanneer je net als ik de boeken achter elkaar en chronologisch leest (Deel 1, 2, 3, 4, …) is dat heel even vreemd. Deel 5 in deze reeks komt volgende maand uit wat mij net genoeg tijd geeft om het laatste boek van Joris Luyendijk te lezen.

1Password Maintenance

02/04/2023 · 1 Comment

I did my annual 1password maintenance again today and I recommend that you do the same if you have a password manager. Checking your compromised and/or weak passwords through a function like Watchtower is an important security practice.

I was able to get my Watchtower score up from 1054 to 1155 🤩 🏖️ ✅

Home Assistant notificaties voor energieverbruik en energieproductie

20/03/2023 · Leave a Comment

Ik heb vanavond een half uurtje met Home Assistant zitten spelen om notificaties te versturen over mijn dagelijkse zonnepanelen opbrengst en de kosten van het laden van een auto aan onze laadpaal.

Ik heb nu twee automatiseringen gemaakt die de volgende notificaties versturen:

  1. Dagelijkse notificatie van mijn zonnepanelen opbrengst op het moment dat de zon onder gaat.
  2. Notificatie wanneer een auto aan de laadpaal is opgeladen, inclusief een berekening van de kosten hiervan.

Deze notificaties zijn gebaseerd op de sensoren die ik heb aangemaakt met ‘Utility Meter’. Ik heb sensoren aangemaakt voor het meten van mijn stroomverbruik en stroomopbrengst per uur, dag, week, maand etc. Deze gebruik ik voor bovenstaande pushmeldingen en voor mijn dashboard.

De sensor met de dagopbrengst van mijn zonnepanelen lees ik uit op het moment dat de zon onder gaat en vermenigvuldig deze dan met de kWh prijs die ik betaal. De combinatie van beiden verstuur ik in een bericht aan naar mijn telefoon. In yaml code ziet dat er als volgt uit:

alias: "[Push bericht] Opbrengst Zonnepanelen"
description: "Dagelijks bericht bij zonsondergang met de opbrengst van mijn zonnepanelen."
trigger:
  - platform: sun
    event: sunset
    offset: 0
condition: []
action:
  - service: notify.mobile_app_iphone_13_pro_max_camiel
    data:
      title: Zonnepanelen opbrengst
      message: >-
        Vandaag is er {{ states("sensor.daily_energy_production") }} kWh (€ {{
        (states('sensor.daily_energy_production') | float * 0.21343 ) | round(2)
        }}) energie opgewekt.
mode: single
  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Go to Next Page »

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