Fix gateway startup: set gateway.mode=local and allow unconfigured; bump to 0.5.3

This commit is contained in:
root
2026-01-30 23:45:15 +02:00
parent fde04e13f8
commit 1e6f602ecb
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: OpenClaw Assistant
version: "0.5.2"
version: "0.5.3"
slug: openclaw_assistant
description: Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on.
url: https://github.com/techartdev/OpenClawHomeAssistant
+6 -1
View File
@@ -155,6 +155,10 @@ def env(name):
v = os.environ.get(name, '')
return v if v != '' else None
# Ensure gateway.mode is set so `openclaw gateway run` can start.
# Safe default for the add-on.
set_path(cfg, ['gateway', 'mode'], 'local')
# gateway bind/port/token
bind_ = env('GW_BIND')
if bind_:
@@ -265,7 +269,8 @@ if ! command -v openclaw >/dev/null 2>&1; then
fi
echo "Starting OpenClaw Assistant gateway (openclaw)..."
openclaw gateway run &
# Allow starting even if user hasn't completed onboarding / config wizard yet.
openclaw gateway run --allow-unconfigured &
GW_PID=$!
# Start web terminal (optional)