Skip to main content

Home Assistant setup

You can change a lot of settings in config/homeassistant/configuration.yaml. For the beginning it should look something like this:

config/homeassistant/configuration.yaml
# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

http:
  server_port: 8123
  ip_ban_enabled: false
  login_attempts_threshold: 3
  use_x_forwarded_for: true
  trusted_proxies:
    - 192.168.0.0/24  # Local Lan
    - 172.42.1.0/24  # Docker network

homeassistant:
  external_url: "https://ha.<SITE>" # note no port number
  internal_url: "http://192.168.0.2:8123" # internal ip address of my HA with port number

Make sure to replace your network settings accordingly.

Addind your devices

You can add devices, that you have setup in Zigbee2MQTT by using the Home Assistant MQTT-Integration.

Adding alexa support

Add the following to config/homeassistant/configuration.yaml:

alexa:
  smart_home:

Then, follow the instructions on the Home Assistant website.