Commit Graph

187 Commits

Author SHA1 Message Date
macm1 47631c1968 fix: store env vars in cfg[env][vars] not cfg[gateway][env] 2026-02-23 05:55:59 +03:00
macm1 30d95b8798 refactor: use YAML map for gateway environment variables instead of string parsing
Benefits:
- More idiomatic configuration format for Home Assistant add-ons
- config.yaml: Change default from empty string to empty YAML map
- config.yaml: Update schema type from str? to map(str)?
- config.yaml: Improve documentation to explain YAML map usage
- run.sh: Parse JSON object from jq using to_entries instead of semicolon splitting
- oc_config_helper.py: Accept JSON string and parse as dict instead of semicolon-separated values
- Better error handling for invalid JSON
- Cleaner and more maintainable parsing logic

This allows users to configure environment variables more naturally:
  gateway_env_vars:
    OPENAI_API_KEY: sk-abc123
    SERVICE_URL: https://api.example.com
2026-02-23 05:40:32 +03:00
macm1 9b402d3130 refactor: improve gateway env vars security and limits
- Add max limits (50 vars, 255 char names, 10000 char values)
- Validate variable names with regex
- Warn about duplicate variables
- Show var names in logs (not just count)
- Improve bash parsing with process substitution
- Better config documentation with examples
2026-02-23 05:36:07 +03:00
macm1 5086b88a00 feat: Add gateway environment variables support
- Add 'gateway_env_vars' configuration option to addon config
- Parse semicolon-separated KEY=VALUE pairs from add-on options
- Export environment variables to gateway process at startup
- Store parsed env vars in openclaw.json (gateway.env)

Allows users to pass custom environment variables to the gateway via
Home Assistant add-on configuration, e.g.:
  gateway_env_vars: 'SERVICE_API_KEY=123;SERVICE2_API=1231'

These variables are exported to the gateway process and can be used
for API authentication, feature flags, or other configuration needs.
2026-02-23 05:28:32 +03:00
TechArtDev 9d0332a36a Merge pull request #67 from megamen32/main
Add configurable outbound proxy support via add-on http_proxy option
2026-02-22 23:19:28 +02:00
macm1 d118102c11 Add NO_PROXY defaults for http_proxy and document behavior 2026-02-22 21:21:11 +03:00
macm1 cb71b0faca changed docs 2026-02-22 20:00:43 +03:00
macm1 ab33e6702f added proxy configuration to haos addon config ui 2026-02-22 19:54:51 +03:00
macm1 c3ba720d0b added proxy support 2026-02-22 19:51:17 +03:00
TechArtDev e33bcf030a Merge pull request #66 from techartdev/fix_config_0.5.48
Fix config 0.5.48
2026-02-22 18:19:43 +02:00
TechArtDev 249f98161a Merge branch 'main' into fix_config_0.5.48 2026-02-22 18:19:31 +02:00
techartdev b552684b49 version skip 2026-02-22 18:17:55 +02:00
techartdev 335a99b88b fix config ver 2026-02-22 18:16:44 +02:00
techartdev 05aff8c766 bump config 2026-02-22 18:14:34 +02:00
techartdev a5363b9cfc feat: Update OpenClaw to version 2026.2.21-2; add share and media mounts; update documentation and translations 2026-02-22 17:59:08 +02:00
techartdev 8d577356b3 Merge branch 'main' of https://github.com/techartdev/OpenClawHomeAssistant 2026-02-21 18:27:17 +02:00
techartdev 04a71cbf23 feat: Expand gateway_bind_mode options to include 'auto' and 'tailnet'; update documentation and translations 2026-02-21 18:25:33 +02:00
TechArtDev 6b9699d4cc Merge pull request #62 from nathang21/feat/tailnet-bind-mode
feat: add tailnet and auto bind mode support
2026-02-21 18:16:10 +02:00
TechArtDev 7625d370c4 Update README with OpenClaw integration details
Added a note about OpenClaw Home Assistant integration.
2026-02-21 01:39:37 +02:00
Nathan Guenther adbfcfee72 feat: add tailnet and auto bind mode support
OpenClaw natively supports 'tailnet' and 'auto' bind modes but the
addon rejected them in oc_config_helper.py validation and the config.yaml
schema didn't list them as valid options.

- oc_config_helper.py: expand bind_mode validation to accept 'tailnet'
  and 'auto' in addition to 'loopback' and 'lan'
- config.yaml: add 'tailnet' and 'auto' to schema and document them
  in the options comments

Users running Tailscale as a separate HA addon (non-userspace mode)
can now set gateway_bind_mode: tailnet to restrict gateway access
exclusively to their Tailscale network — no iptables rules needed.

Closes #59
2026-02-20 11:44:43 -05:00
TechArtDev 13417f4439 Merge pull request #57 from techartdev/force_ipv4_oc_bump
chore: Add force_ipv4_dns option and update translations; bump OpenCl…
2026-02-18 18:07:41 +02:00
techartdev 2f01fa2007 Merge branch 'force_ipv4_oc_bump' of https://github.com/techartdev/OpenClawHomeAssistant into force_ipv4_oc_bump 2026-02-18 18:07:20 +02:00
techartdev ff4a5c62eb docs update 2026-02-18 18:07:17 +02:00
TechArtDev 0c4187c119 Update openclaw_assistant/run.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-18 18:06:00 +02:00
techartdev d5fae52ad6 chore: Add force_ipv4_dns option and update translations; bump OpenClaw to 2026.2.17 2026-02-18 15:38:06 +02:00
TechArtDev 7cdf7a2694 Update copyright holder name in LICENSE file 2026-02-16 23:38:22 +02:00
techartdev 7118e77913 chore: Bump OpenClaw to 2026.2.15 and update version to 0.5.45 in changelog and config 2026-02-16 12:16:33 +02:00
techartdev 248e0be97f update docs 2026-02-14 16:19:33 +02:00
techartdev 437884654e chore: Bump OpenClaw to 2026.2.13 and update version to 0.5.44; add star history to README 2026-02-14 16:14:44 +02:00
techartdev 0d7b4ff760 chore: Update version to 0.5.43 and bump OpenClaw to 2026.2.12; add Brazilian Portuguese translation 2026-02-13 22:32:35 +02:00
TechArtDev 0596d5b70c Merge pull request #44 from medeirosiago/feature/brazilian-portuguese-translation
feat: Add Portuguese (Brazil) translations for configuration options.
2026-02-13 20:18:11 +02:00
Iago Medeiros 286afa7f26 feat: Add Portuguese (Brazil) translations for configuration options. 2026-02-13 00:12:33 -03:00
techartdev 53772be2bd Update CHANGELOG.md for version 0.5.42 with recent changes and improvements 2026-02-12 12:06:53 +02:00
techartdev 893911d6b6 Merge branch 'main' of https://github.com/techartdev/OpenClawHomeAssistant 2026-02-12 12:02:26 +02:00
techartdev c8e67cb0ba Update ports and persist Homebrew installation across updates 2026-02-12 12:02:23 +02:00
TechArtDev 2c619ffc7a Merge pull request #42 from lukcz/add-changelog
Add CHANGELOG.md for Home Assistant update dialog
2026-02-11 19:05:18 +02:00
Zgredek 8f172630bc Add CHANGELOG.md for Home Assistant update dialog 2026-02-11 17:42:52 +01:00
techartdev 2f6ac10f94 Merge branch 'main' of https://github.com/techartdev/OpenClawHomeAssistant 2026-02-11 15:45:58 +02:00
techartdev f23079c4fa Update oca_addon.png image for improved quality 2026-02-11 15:45:54 +02:00
TechArtDev cbc9f89263 Update title in README for clarity 2026-02-11 15:42:20 +02:00
techartdev a1f9afc08a Update Dockerfile, config.yaml, and run.sh for enhancements
- Added rsync to Dockerfile for improved file synchronization.
- Bumped version to 0.5.41 in config.yaml.
- Implemented skill synchronization and persistent storage management in run.sh.
2026-02-11 15:28:35 +02:00
techartdev 61e122c101 Update icon and logo images for OpenClaw Assistant 2026-02-11 15:26:55 +02:00
TechArtDev 81bbb22325 Add Discord server link to README 2026-02-11 15:19:44 +02:00
techartdev 0865958385 Enhance documentation for OpenClaw Assistant add-on
- Updated DOCS.md with a comprehensive architecture overview, installation steps, first-time setup guide, and configuration reference.
- Added detailed use case guides, including integration with Home Assistant's Assist pipeline and browser automation capabilities.
- Introduced SECURITY.md to outline security risks, best practices, and disclaimers associated with the add-on.
- Revised README.md to highlight key features and provide links to full documentation and security information.
2026-02-11 14:59:57 +02:00
TechArtDev fef38a2c56 Merge pull request #41 from techartdev/nginx_fixes_colors_fixes
Update version to 0.5.40, enhance Dockerfile with additional tools, a…
2026-02-11 10:08:12 +02:00
techartdev 1fc2c97509 Update version to 0.5.40, enhance Dockerfile with additional tools, and improve run.sh for nginx process management 2026-02-11 10:06:28 +02:00
TechArtDev aa95d6289f Bump version to 0.5.39 in config.yaml 2026-02-10 10:42:12 +02:00
TechArtDev b6f3ce0b86 Fix OpenClaw installation command in Dockerfile 2026-02-10 10:41:51 +02:00
TechArtDev 6ca2242cf0 Merge pull request #38 from techartdev/bot/openclaw-bump-2026.2.9
Bump OpenClaw to 2026.2.9
2026-02-10 09:42:51 +02:00
root 63af3fd93f Bump OpenClaw to 2026.2.9 (add-on 0.5.38) 2026-02-10 09:37:31 +02:00