Ga naar inhoud

🏠 Home Assistant

Home Assistant is het centrale smart home platform voor alle domotica in het Hamming netwerk.

Algemene Info

Item Waarde
Type VM op Proxmox (Mini PC 2)
OS Home Assistant OS
IP Adres 192.168.20.10
VLAN 20 (IoT)
Poort 8123
URL http://192.168.20.10:8123

Functies

  • Centrale hub - Alle smart home apparaten op één plek
  • Automations - Automatische acties op triggers
  • Dashboards - Overzichtelijke interfaces
  • Integraties - 2000+ ondersteunde apparaten
  • Scripts - Herbruikbare acties
  • Scenes - Preset configuraties

Geïnstalleerde Integraties

Actief

Integratie Functie Status
Frigate NVR, AI detectie
MQTT Message broker
Reolink Deurbel
SolarEdge Zonnepanelen
Victron Batterij/Omvormer

Gepland

Integratie Functie Status
Zigbee2MQTT Zigbee apparaten 🔧
Z-Wave JS Z-Wave apparaten 🔧

Configuratie

MQTT Broker

# configuration.yaml
mqtt:
  broker: 192.168.20.11
  port: 1883
  username: mqtt_user
  password: !secret mqtt_password

Frigate Integratie

Via HACS: 1. Installeer HACS addon 2. HACS → Integrations → Frigate 3. Configureer:

# configuration.yaml
frigate:
  host: 192.168.1.15
  port: 5000

Via standaard integratie: 1. Settings → Devices & Services → Add Integration 2. Zoek "Reolink" 3. Voer IP en credentials in

Automations

Deurbel Notificatie

automation:
  - alias: "Deurbel - Notificatie bij aanbellen"
    trigger:
      - platform: state
        entity_id: binary_sensor.reolink_doorbell_visitor
        to: "on"
    action:
      - service: notify.mobile_app_telefoon
        data:
          title: "🔔 Deurbel"
          message: "Er staat iemand bij de voordeur"
          data:
            image: /api/frigate/notifications/thumbnail.jpg
            actions:
              - action: URI
                title: "Beantwoorden"
                uri: "reolink://doorbell"

Persoon Gedetecteerd (Frigate)

automation:
  - alias: "Camera - Persoon gedetecteerd voordeur"
    trigger:
      - platform: mqtt
        topic: frigate/events
    condition:
      - condition: template
        value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
      - condition: template
        value_template: "{{ trigger.payload_json['after']['camera'] == 'voordeur' }}"
    action:
      - service: notify.mobile_app_telefoon
        data:
          title: "👤 Persoon gedetecteerd"
          message: "Beweging bij de voordeur"
          data:
            image: "/api/frigate/notifications/{{ trigger.payload_json['after']['id'] }}/thumbnail.jpg"

Add-ons

Aanbevolen Add-ons

Add-on Functie
File Editor Config bestanden bewerken
Terminal & SSH Command line toegang
Samba Share Toegang tot config via Windows
Google Drive Backup Automatische backups

Add-on Installeren

  1. Settings → Add-ons → Add-on Store
  2. Zoek add-on
  3. Klik Install
  4. Start add-on

Backup

Automatisch (via Duplicati/Proxmox)

Home Assistant VM wordt meegenomen in: - Nachtelijke Proxmox backups naar NAS - PBS backups (indien geconfigureerd)

Handmatig

  1. Settings → System → Backups
  2. Create Backup
  3. Download of kopieer naar NAS

Troubleshooting

HA start niet op

Symptomen

  • Proxmox toont VM als running
  • Web interface niet bereikbaar

Oplossing:

  1. Open Proxmox console voor VM 100
  2. Bekijk boot output
  3. Check netwerk configuratie:
  4. Settings → System → Network
  5. IP moet 192.168.20.10 zijn

Integratie kan apparaat niet vinden

Checklist:

  1. Is apparaat in VLAN 20?
  2. Kan HA bij het apparaat?
    # In HA Terminal
    ping 192.168.20.x
    
  3. Firewall regels correct?
  4. Is MQTT broker actief?

Automations werken niet

  1. Developer Tools → States
  2. Check entity state
  3. Developer Tools → Services
  4. Test service handmatig
  5. Check automation logs:
  6. Settings → System → Logs

MQTT verbinding mislukt

  1. Check Mosquitto draait:
    # Op Proxmox
    pct exec 102 -- systemctl status mosquitto
    
  2. Test verbinding:
    mosquitto_pub -h 192.168.20.11 -u mqtt_user -P password -t test -m "hello"
    
  3. Check firewall: HA moet bij 192.168.20.11:1883 kunnen

Gerelateerd