[api] Add outgoing connections so the device can dial Home Assistant

This commit is contained in:
J. Nick Koston
2026-08-31 14:06:05 -05:00
parent 813c000684
commit 676eac7686
17 changed files with 756 additions and 12 deletions
@@ -0,0 +1,17 @@
packages:
common: !include common-base.yaml
wifi:
ssid: MySSID
password: password1
# Outgoing connection: the device dials Home Assistant when no client with a
# state subscription is connected. Requires encryption so the peer is
# verified by key.
api:
encryption:
key: bOFFzzvfpg5DB94DuBGLXD/hMnhpDKgP9UQyBulwWVU=
outgoing_connection:
host: 192.168.1.2
port: 6054
delay: 60s
@@ -0,0 +1,11 @@
packages:
common: !include common-base.yaml
network:
# No host set: the device dials the last remembered Home Assistant address
api:
encryption:
key: bOFFzzvfpg5DB94DuBGLXD/hMnhpDKgP9UQyBulwWVU=
outgoing_connection:
delay: 30s