c16b938674
- Set default `force_ipv4_dns` to true to prevent web_fetch timeouts in HAOS VMs. - Introduced `nginx_log_level` option to control access log verbosity. - Updated translations for new configuration options.
132 lines
4.3 KiB
YAML
132 lines
4.3 KiB
YAML
name: OpenClaw Assistant
|
|
version: "0.5.51"
|
|
slug: openclaw_assistant
|
|
description: Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on.
|
|
url: https://github.com/techartdev/OpenClawHomeAssistant
|
|
arch:
|
|
- amd64
|
|
- aarch64
|
|
- armv7
|
|
startup: services
|
|
boot: auto
|
|
init: false
|
|
hassio_api: false
|
|
homeassistant_api: false
|
|
host_network: true
|
|
|
|
# Home Assistant Ingress (UI inside the add-on page)
|
|
ingress: true
|
|
ingress_port: 48099
|
|
panel_title: OpenClaw Assistant
|
|
panel_icon: mdi:robot
|
|
|
|
map:
|
|
- addon_config:rw
|
|
- share:rw
|
|
- media:rw
|
|
options:
|
|
timezone: "Europe/Sofia"
|
|
|
|
# Enable web terminal inside Home Assistant (Ingress) via ttyd
|
|
enable_terminal: true
|
|
|
|
# Terminal port (change if 7681 conflicts with another service)
|
|
terminal_port: 7681
|
|
|
|
# Public base URL for opening the Gateway Web UI in a new tab (not embedded).
|
|
# Recommended: NO trailing slash.
|
|
# Example: "https://example.duckdns.org:12345" or "http://192.168.1.10:18789"
|
|
gateway_public_url: ""
|
|
|
|
# Optional: Home Assistant long-lived token (for local HA API scripts/tools)
|
|
homeassistant_token: ""
|
|
|
|
# Optional: outbound HTTP/HTTPS proxy for OpenClaw network access.
|
|
# Example: "http://192.168.2.1:3128"
|
|
http_proxy: ""
|
|
|
|
# Optional: Router SSH defaults (leave empty if you don't need router automation)
|
|
# This is a generic SSH configuration intended for a router/firewall or any network device
|
|
# reachable from inside the HA host LAN.
|
|
router_ssh_host: ""
|
|
router_ssh_user: ""
|
|
router_ssh_key_path: "/data/keys/router_ssh"
|
|
|
|
# Cleanup stale session lock files left after crashes/restarts
|
|
clean_session_locks_on_start: true
|
|
clean_session_locks_on_exit: true
|
|
|
|
# Gateway mode:
|
|
# - local: Run gateway locally (recommended for most users)
|
|
# - remote: Connect to a remote gateway
|
|
# Default is local.
|
|
gateway_mode: local
|
|
|
|
# Gateway network bind mode:
|
|
# - loopback: bind to 127.0.0.1 only (local access only, most secure)
|
|
# - lan: bind to all interfaces (accessible from local network)
|
|
# - tailnet: bind to Tailscale IP only (accessible only via Tailscale — recommended for remote access)
|
|
# Default is loopback for security.
|
|
gateway_bind_mode: loopback
|
|
|
|
# Gateway port to listen on
|
|
gateway_port: 18789
|
|
|
|
# Access mode preset — simplifies secure access configuration.
|
|
# custom: use individual gateway_bind_mode / auth_mode settings (backward compatible)
|
|
# local_only: loopback + token auth (Ingress / terminal only, most secure)
|
|
# lan_https: Built-in HTTPS reverse proxy for LAN access (recommended for phones/tablets)
|
|
# lan_reverse_proxy: LAN bind + trusted-proxy for an external reverse proxy (NPM, Caddy, …)
|
|
# tailnet_https: Tailscale interface bind + token auth
|
|
access_mode: custom
|
|
|
|
# Gateway authentication mode:
|
|
# - token: standard token auth (default)
|
|
# - trusted-proxy: trust auth headers from configured reverse proxies
|
|
gateway_auth_mode: token
|
|
|
|
# Comma-separated trusted proxy IP/CIDR list for trusted-proxy mode.
|
|
# Example: "127.0.0.1,192.168.88.0/24"
|
|
gateway_trusted_proxies: ""
|
|
|
|
# Enable OpenAI-compatible Chat Completions API endpoint
|
|
# When enabled, OpenClaw can be used as a conversation agent in HA Assist pipeline
|
|
# via Extended OpenAI Conversation (HACS) or any OpenAI-compatible client
|
|
enable_openai_api: false
|
|
|
|
# Force IPv4-first DNS result ordering for Node fetch/network calls.
|
|
# Most HAOS VMs lack IPv6 egress, causing web_fetch / Telegram timeouts.
|
|
# Default: true (recommended). Set to false only if you need IPv6.
|
|
force_ipv4_dns: true
|
|
|
|
# Nginx access log verbosity:
|
|
# full: log all requests (useful for debugging)
|
|
# minimal: suppress repetitive HA health-check and polling requests (default)
|
|
nginx_log_level: minimal
|
|
|
|
|
|
schema:
|
|
timezone: str
|
|
enable_terminal: bool?
|
|
terminal_port: int(1024,65535)?
|
|
gateway_public_url: str?
|
|
homeassistant_token: str?
|
|
http_proxy: str?
|
|
|
|
router_ssh_host: str
|
|
router_ssh_user: str
|
|
router_ssh_key_path: str
|
|
|
|
clean_session_locks_on_start: bool?
|
|
clean_session_locks_on_exit: bool?
|
|
gateway_mode: list(local|remote)?
|
|
gateway_bind_mode: list(loopback|lan|tailnet)?
|
|
gateway_port: int(1,65535)?
|
|
access_mode: list(custom|local_only|lan_https|lan_reverse_proxy|tailnet_https)?
|
|
gateway_auth_mode: list(token|trusted-proxy)?
|
|
gateway_trusted_proxies: str?
|
|
enable_openai_api: bool?
|
|
force_ipv4_dns: bool?
|
|
nginx_log_level: list(full|minimal)?
|
|
|