diff --git a/DOCS.md b/DOCS.md index 9390cd0..15ddcf4 100644 --- a/DOCS.md +++ b/DOCS.md @@ -217,6 +217,7 @@ All options are set via **Settings → Apps/Add-ons → OpenClaw Assistant → C | Option | Type | Default | Description | |---|---|---|---| | `homeassistant_token` | string | _(empty)_ | Optional HA long-lived access token (use at own risk, can be very unsecure but very powerful). Saved to `/config/secrets/homeassistant.token` for use by scripts/skills | +| `http_proxy` | string | _(empty)_ | Optional outbound proxy URL for HTTP/HTTPS requests from OpenClaw and Node tools. Example: `http://192.168.2.1:3128` | ### Router SSH @@ -606,6 +607,16 @@ If Telegram is configured but polling fails with network fetch errors: 3. Keep `channels.telegram.network.autoSelectFamily: false` (default on Node 22). 4. If still failing, check host/VM IPv6 routing and DNS configuration. +### Outbound proxy not applied + +**Symptom**: External API/network calls still fail in restricted networks even after setting proxy. + +**Checks**: +1. Set add-on option `http_proxy` with full URL format: `http://host:port` (example: `http://192.168.2.1:3128`). +2. Restart the add-on after changing configuration. +3. Check logs for `INFO: Outbound HTTP/HTTPS proxy enabled from add-on configuration.` +4. If you see `WARN: Invalid http_proxy value`, fix the URL format and restart. + ### Skills disappearing after update Built-in skills are synced to persistent storage on each startup. If skills are missing: diff --git a/README.md b/README.md index e7857c6..1058994 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ This repository contains a Home Assistant add-on that runs **OpenClaw** inside * - **Web Terminal** — browser-based terminal embedded in Home Assistant - **Assist Pipeline** — use OpenClaw as a conversation agent via the OpenAI-compatible API - **Browser Automation** — Chromium included for web scraping and automation skills +- **Proxy Support** — optional outbound `http_proxy` setting for HTTP/HTTPS traffic - **Persistent Storage** — skills, config, and workspace survive add-on updates - **Bundled Tools** — git, vim, nano, bat, fd, ripgrep, curl, jq, python3, pnpm, Homebrew diff --git a/openclaw_assistant/CHANGELOG.md b/openclaw_assistant/CHANGELOG.md index 0f6693c..3ffc263 100644 --- a/openclaw_assistant/CHANGELOG.md +++ b/openclaw_assistant/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to the OpenClaw Assistant Home Assistant Add-on will be documented in this file. +## [0.5.49] - 2026-02-22 + +### Added +- New add-on option `http_proxy` for configuring outbound HTTP/HTTPS proxy from Home Assistant settings. + +### Changed +- Export `HTTP_PROXY`, `HTTPS_PROXY`, `http_proxy`, and `https_proxy` from add-on config at startup. +- Add translations for the new `http_proxy` option. +- Document proxy configuration in README and DOCS. + ## [0.5.48] - 2026-02-22 ### Changed diff --git a/openclaw_assistant/config.yaml b/openclaw_assistant/config.yaml index 3a04bf9..013b2fc 100644 --- a/openclaw_assistant/config.yaml +++ b/openclaw_assistant/config.yaml @@ -1,5 +1,5 @@ name: OpenClaw Assistant -version: "0.5.48" +version: "0.5.49" slug: openclaw_assistant description: Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on. url: https://github.com/techartdev/OpenClawHomeAssistant