Primo Avvio di Home Assistant

NextRedOS include Home Assistant come container Docker preconfigurato per domotica e automazione.

Verificare il Container

docker ps -a | grep homeassistant

docker logs homeassistant

Avviare Home Assistant

docker start homeassistant

# Oppure con docker-compose:

cd /opt/homeassistant && docker compose up -d

File docker-compose.yml per Home Assistant

version: ‘3’

services:

homeassistant:

container_name: homeassistant

image: ghcr.io/home-assistant/home-assistant:stable

volumes:

– /opt/homeassistant/config:/config

– /etc/localtime:/etc/localtime:ro

restart: unless-stopped

privileged: true

network_mode: host