Home Assistant (Docker Compose)

ssh 192.168.0.100 -l root

Windows 11: Åben start-menuen og søg på “Terminal”

Start -> Terminal

Tilslut adgang til raspberry Pi via Secure Shell (SSH)

$ ssh 192.168.0.100
root@192.168.0.100's password: **********
Last login: Fri Dec 26 12:00:00 2025
version: "3.9"

services:
  homeassistant:
    image: ghcr.io/home-assistant/home-assistant:stable
    container_name: homeassistant
    restart: unless-stopped
    privileged: true
    environment:
      - TZ=Europe/Copenhagen
    volumes:
      - /opt/homeassistant:/config
      - /etc/localtime:/etc/localtime:ro
    network_mode: host