knowledge/technology/applications/web/Home Assistant.md
2024-09-03 18:13:27 +02:00

1.4 KiB

obj website android-id
application https://www.home-assistant.io/ io.homeassistant.companion.android.minimal

Home Assistant

Home Assistant is a local smart home hub platform supportig many integrations for automation.

Screenshot

Configuration

While you can configure most of Home Assistant directly from the user interface, some parts need you to edit configuration.yaml.

To improve readability, you can source out certain domains from your main configuration file with the !include-syntax.

light: !include lights.yaml

Example basic configuration:

homeassistant:
  name: Home
  latitude: 32.87336
  longitude: 117.22743
  elevation: 430
  unit_system: metric
  currency: USD
  country: US
  time_zone: "America/Los_Angeles"
  external_url: "https://www.example.com"
  internal_url: "http://homeassistant.local:8123"
  allowlist_external_dirs:
    - "/usr/var/dumping-ground"
    - "/tmp"
  allowlist_external_urls:
    - "http://images.com/image1.png"
  media_dirs:
    media: "/media"
    recordings: "/mnt/recordings"
  legacy_templates: false

Docker Compose

version: '3'
services:
  homeassistant:
    image: homeassistant/home-assistant:stable
    volumes:
      - ./config:/config
    environment:
      - TZ=Europe/Berlin
    restart: always
    network_mode: host