1. HassOS installieren

1.1. Odroid mit petitboot starten

  • connect ethernet, keyboard and hdmi

  • Taster auf SPI umschalten (links)

  • Odroid mit Netzgerät einschalten

Niemals das emmc-Modul entfernen oder einstecken, wenn der odroid eingeschalten ist. Es könnte ein Hardware Defekt auftreten.
N2 OS installation using Petitboot figure 1
exit to shell
  • Exit to shell

N2 OS installation using Petitboot figure 2
  • Den Odroid in den USB mass storage mode versetzen

ls /dev/mmc*
ums /dev/mmcblk0
  • USB-Kabel anschließen

N2 OS installation using Petitboot figure 4

1.2. emmc flashen

Etcher
etcher 01
etcher 02
etcher 03
etcher 04
etcher 05
etcher 06
etcher 07
  • USB-Kabel entfernen

  • Stromversorgung am odroid n2+ entfernen

  • Schalter von SPI auf MMC umschalten (von oben gesehen: auf rechts)

2. Erster Start von Home Assistant

ha onboarding screen
ha onboarding screen 2
additional screens
ha onboarding screen 3
ha onboarding screen 4
ha start screen

2.1. Sprache Deutsch einstellen

  • Falls noch nicht deutsch:

    • Settings - System - General - Language → Deutsch

    • UPDATE

    • Ev. im Browser die bevorzugte Sprache einstellen

2.2. Erweiterten Modus einstellen

Profil - Erweiterter Modus: ein

3. Add-Ons

3.1. Add-On Store

ha add ons 1
ha add ons 2
ha add ons 3

3.2. SSH/SFTP

addon ssh web terminal
addon ssh web terminal 2
addon ssh web terminal 3

3.2.1. Password setzen

addon ssh web terminal 4
addon ssh web terminal 5
Figure 1. Für sftp muss der username root sein
  • SPEICHERN

  • Entwicklerwerkzeuge - NEU STARTEN

3.2.2. Fehlermeldungen

addon ssh web terminal 6
addon ssh web terminal 7
Figure 2. Terminal ausprobieren
addon ssh web terminal 8
Figure 3. Fehlerlog ist jetzt auch ok

3.2.3. SFTP testen

addon ssh web terminal 9

3.3. Home Assistant Community Store (HACS)

addon hacs 1
addon hacs 2
  • Entwicklerwerkzeuge - NEU STARTEN

  • Cache leeren

addon hacs 3
  • Einstellungen - Geräte und Dienste - INTEGRATION HINZUFÜGEN

  • "HACS" im Suchfeld eingeben

addon hacs 4
addon hacs 5
addon hacs 6
addon hacs 7
addon hacs 8
addon hacs 9

3.4. Visual Studio Code

  • Nachdem nun der HACS installiert wurde, können wir ihn auch benutzen.

  • HACS - Add-ons - GO NOW - ADD-ON STORE

addon vscode 1
addon vscode 2
  • INSTALLIEREN

addon vscode 3
addon vscode 4
  • alle Optionen aktivieren

  • STARTEN

addon vscode 5
Figure 4. Hier kann man die config-dateien editieren

3.5. Samba share

  • Einstellungen - Add-ons - ADD-ON STORE

addon samba 01
addon samba 02
  • INSTALL

addon samba 03
  • START

addon samba 04
  • Entwicklerwerkzeuge - NEU STARTEN

addon samba 05
addon samba 06
addon samba 07
Details
username: leo
password: passme
workgroup: WORKGROUP
compatibility_mode: false
veto_files:
  - ._*
  - .DS_Store
  - Thumbs.db
  - icon?
  - .Trashes
allow_hosts:
  - 10.0.0.0/8
  - 172.16.0.0/12
  - 192.168.0.0/16
  - fe80::/10
  • SPEICHERN

  • Tab "Informationen"

  • STARTEN

addon samba 08

3.5.1. Samba testen

addon samba 13
Details
addon samba 09
addon samba 10
addon samba 11
addon samba 12

3.6. mosquitto broker

  • Einstellungen - Add-ons - ADD-ON STORE

addon mqtt 1
addon mqtt 2
  • INSTALLIEREN

addon mqtt 3
  • Entwicklerwerkzeuge - NEU STARTEN

  • Einstellungen - Add-ons - Mosquitto broker

addon mqtt 4
  • Tab "Konfiguration" - Hamburger - Als YAML bearbeiten

KEINE User anlegen (logins)
logins: []
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
  active: false
  folder: mosquitto

3.6.1. mqtt testen

addon mqtt 5
addon mqtt 6

3.7. EspHome

  • Einstellungen - Add-ons - ADD-ON STORE

  • ESPHome

addon esphome 1
  • INSTALLIEREN

addon esphome 2
  • ein paar Sekunden warten (ev. Log kontrollieren)

addon esphome 3
addon esphome 4

3.8. NodeRed

  • Einstellungen - Add-ons - ADD-ON STORE

  • Node-Red

addon nodered 1
  • INSTALLIEREN

addon nodered 2
  • STARTEN

addon nodered 3
  • Tab "Konfiguration" - Hamburger - Als YAML bearbeiten

Original
certfile: fullchain.pem
credential_secret: ""
http_node:
  password: ""
  username: ""
http_static:
  password: ""
  username: ""
init_commands: []
keyfile: privkey.pem
npm_packages: []
ssl: true
system_packages: []
theme: default
angepaßt
certfile: fullchain.pem
credential_secret: "passme"
http_node:
  password: ""
  username: ""
http_static:
  password: ""
  username: ""
init_commands: []
keyfile: privkey.pem
npm_packages: []
ssl: false
system_packages: []
theme: default
  • SPEICHERN #

  • NEU STARTEN

addon nodered 4

3.9. Node-Red-Companion

  • ermöglicht den Zugriff auf HA-Entities von NodeRed aus

  • Viele neue Nodes

  • Verwendung von HA-Services

  • Definition eigener Sensors/Actors in Node-Red

  • Alternative Möglichkeit Automatisierungen zu erstellen

Details
addon nodered 05
addon nodered 06
addon nodered 07
addon nodered 08
addon nodered 09
addon nodered 10
addon nodered 11
addon nodered 12
addon nodered 13

3.9.1. Palette öffnen

addon nodered 14

3.9.2. Kontrolle, ob Node installiert ist

  • node-red-contrib-home-assistant-websocket

addon nodered 15
Kontrolliere in Installation-Tab, ob node enthalten ist
addon nodered 16

3.10. Mushroom and Mushroom Theme

3.10.1. Download Mushroom

mushroom 01
mushroom 02
mushroom 03
mushroom 04
mushroom 05

3.10.2. Download Mushroom Theme

mushroom 06
mushroom 07a

3.10.3. Create Dashboard

mushroom 08
mushroom 09
mushroom 10
mushroom 11
mushroom 12
mushroom 13
mushroom 14
mushroom 15

3.10.4. Troubleshooting

  • Falls die Mushroom - Karten nicht aufzufinden sind, einfach die Integration löschen und neu herunterladen. siehe hier

mushroom 16
  • Mein Rezept:

    • Device neu booten

    • Meist ist dann schon ein Fehler sichtbar, dass Mushroom nicht geladen ist

    • "Erneut herunterladen"

mushroom 17

3.11. UI Lovelace Minimalist

Dieses Theme erst installieren, wenn man ein Home Assistant Profi ist!

3.11.1. Download of UI Lovelace Minimalist

Details
addon ui lovelace minimalist 01
addon ui lovelace minimalist 02
addon ui lovelace minimalist 03
addon ui lovelace minimalist 04
addon ui lovelace minimalist 05
addon ui lovelace minimalist 05a
  • Entwicklerwerkzeuge - NEU STARTEN

3.11.2. Install Prerequesits

  • First we have to install these integrations to get the cards for the new UI.

addon ui lovelace minimalist 00 prerequesits
browser-mod
  • browser-mod is a integration (no frontend)

browser mod 01
Installation Details
browser mod 02
browser mod 03
browser mod 04
button-card
  • button-card is a frontend integration

Use the Frontend-tab
button card 01
button card 02
Installation Details
button card 03
button card 04
lovelace-auto-entities
auto entities 01
Installation Details
auto entities 02
auto entities 03
auto entities 04
lovelace-card-mod
lovelace card mod 01
Installation Details
lovelace card mod 02
lovelace card mod 03
lovelace card mod 04
mini-graph-card
mini graph card 01
Installation Details
mini graph card 02
mini graph card 03
mini graph card 04
mini-media-player
mini media player 01
Installation Details
mini media player 02
mini media player 03
mini media player 04
my-cards-slider-card
  • Installiere eine benutzerdefiniertes Repository (Anleitung)

lovelace my cards 01
lovelace my cards 02
lovelace my cards 03
  • Now install the cards

lovelace my cards 04
Installation Details
lovelace my cards 05
lovelace my cards 06
lovelace my cards 07
light-entity-card
light entity card 01
Installation Details
light entity card 02
light entity card 03
light entity card 04
simple-weather-card
simple weather card 01
Installation Details
simple weather card 02
simple weather card 03
simple weather card 04
restart

3.11.3. Installation of UI Lovelace Minimalist

devices and services
addon ui lovelace minimalist 07
addon ui lovelace minimalist 08
addon ui lovelace minimalist 09
addon ui lovelace minimalist 10
addon ui lovelace minimalist 11
addon ui lovelace minimalist 12
addon ui lovelace minimalist 13
addon ui lovelace minimalist 14
addon ui lovelace minimalist 15
addon ui lovelace minimalist 16

3.11.4. Configuration of UI Lovelace Minimalist

  • Check "Erstellung eines Eintrags in der Seitenleiste aktivieren"

addon ui lovelace minimalist 17
Es wird empfohlen, zunächst "minimalist-desktop" zu verwenden und später auf "minimalist-mobile" umzusteigen.
addon ui lovelace minimalist 18
  • Kontrolliere, ob der Pfad zum Themes-Ordner eingetragen ist

addon ui lovelace minimalist 19
restart
auch hier wird empfohlen, zunächst "minimalist-desktop" zu verwenden und später auf "minimalist-mobile" umzusteigen.
addon ui lovelace minimalist 20
addon ui lovelace minimalist 21
Hier sollte das oben angeführte Video konsultiert werden, um ein Dashboard zu erstellen.

3.11.5. Troubleshooting

addon ui lovelace minimalist 22
Es wird empfohlen "Enable adaptive Dashboard with popup splitview" zu deaktivieren und stattdessen "Erstellung eines Eintrags in der Seitenleiste aktivieren" anzuwählen.
addon ui lovelace minimalist 23

4. Restore eines Backups

4.1. Neuen User anlegen

create user

5. Updates installieren

6. Home Assistant restarten (ohne boot)

restart

Entwicklerwerkzeuge - NEU STARTEN

7. System neu booten

  • Einstellungen - System - Hardware

boot 01
boot 02

8. Supervisor Logs