diff --git a/DOCS.md b/DOCS.md index 28ffaee..53bcc05 100644 --- a/DOCS.md +++ b/DOCS.md @@ -1,8 +1,8 @@ -# Moltbot Assistant (Home Assistant Add-on) +# OpenClaw Assistant (Home Assistant Add-on) -This add-on runs a Moltbot Assistant instance on Home Assistant OS (Supervisor add-on). +This add-on runs a OpenClaw Assistant instance on Home Assistant OS (Supervisor add-on). -> Note: The upstream project has gone through renames. This add-on currently installs **OpenClaw** (the successor of Clawdbot) and also provides a `clawdbot` shim for backwards compatibility. +> Note: The upstream project has gone through renames. This add-on installs **OpenClaw**. ## What this add-on provides @@ -22,7 +22,7 @@ we open it directly using a user-provided public/base URL. 1. Home Assistant → Settings → Add-ons → Add-on store 2. Add repository URL: - Add-on store → ⋮ → Repositories → paste the GitHub repo URL -3. Install **Moltbot Assistant** +3. Install **OpenClaw Assistant** ## Configuration overview All configuration is done via the add-on UI (Options). diff --git a/README.md b/README.md index dcec268..162832d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Moltbot Assistant – Home Assistant Add-on (Draft) +# OpenClaw Assistant – Home Assistant Add-on (Draft) -This repository contains a Home Assistant add-on that runs a **Moltbot Assistant** instance on **HAOS**. +This repository contains a Home Assistant add-on that runs an **OpenClaw Assistant** instance on **HAOS**. -Upstream note: the project has gone through renames. This add-on currently installs **OpenClaw** and keeps a `clawdbot` shim for backwards compatibility. +Upstream note: the project has gone through renames. This add-on installs **OpenClaw**. ## What you get - Always-on personal assistant running as a Supervisor-managed container @@ -18,7 +18,7 @@ Upstream note: the project has gone through renames. This add-on currently insta ## Install (high level) 1. Add this repo in Home Assistant: Settings → Add-ons → Add-on Store → ⋮ → Repositories -2. Install **Moltbot Assistant** +2. Install **OpenClaw Assistant** 3. Configure options (at minimum: Telegram bot token) ## Setup / Docs @@ -28,7 +28,7 @@ See **DOCS.md** for the supported setups: ## Configuration All configuration is done via the add-on UI. -See the schema in `moltbot_assistant/config.yaml`. +See the schema in `openclaw_assistant/config.yaml`. ### Optional: Brave Search If you provide `brave_api_key`, the add-on exports `BRAVE_API_KEY` for the assistant’s web search tool. diff --git a/moltbot_assistant/.gitignore b/openclaw_assistant/.gitignore similarity index 100% rename from moltbot_assistant/.gitignore rename to openclaw_assistant/.gitignore diff --git a/moltbot_assistant/Dockerfile b/openclaw_assistant/Dockerfile similarity index 81% rename from moltbot_assistant/Dockerfile rename to openclaw_assistant/Dockerfile index b48600d..b9d9db1 100644 --- a/moltbot_assistant/Dockerfile +++ b/openclaw_assistant/Dockerfile @@ -2,7 +2,7 @@ ARG BUILD_FROM=ghcr.io/hassio-addons/base:14.0.2 FROM ${BUILD_FROM} # Base image is Alpine (HA add-ons base). It may only provide Node 18.x. -# Clawdbot requires Node 20+, so we install a Node 20 musl build directly. +# OpenClaw requires Node 20+, so we install a Node 20 musl build directly. ARG NODE_VERSION=22.12.0 RUN apk add --no-cache \ @@ -42,12 +42,9 @@ RUN set -eu; \ libstdc++ libgcc libatomic; \ /usr/local/bin/node -v; /usr/local/bin/npm -v -# Install OpenClaw globally (successor of Clawdbot) -# We also provide a lightweight `clawdbot` shim for backwards compatibility. +# Install OpenClaw globally RUN npm config set fund false && npm config set audit false \ - && npm install -g openclaw@2026.1.29 \ - && printf '%s\n' '#!/usr/bin/env sh' 'exec openclaw "$@"' > /usr/local/bin/clawdbot \ - && chmod +x /usr/local/bin/clawdbot + && npm install -g openclaw@2026.1.29 COPY run.sh /run.sh COPY nginx.conf.tpl /etc/nginx/nginx.conf.tpl diff --git a/moltbot_assistant/build.yaml b/openclaw_assistant/build.yaml similarity index 100% rename from moltbot_assistant/build.yaml rename to openclaw_assistant/build.yaml diff --git a/moltbot_assistant/config.yaml b/openclaw_assistant/config.yaml similarity index 89% rename from moltbot_assistant/config.yaml rename to openclaw_assistant/config.yaml index fdd161a..8fd3e6d 100644 --- a/moltbot_assistant/config.yaml +++ b/openclaw_assistant/config.yaml @@ -1,8 +1,8 @@ -name: Moltbot Assistant -version: "0.4.8" -slug: moltbot_assistant -description: Run Moltbot Assistant (Clawdbot-compatible) as a Home Assistant add-on. -url: https://github.com/techartdev/MoltBotHomeAssistant +name: OpenClaw Assistant +version: "0.5.0" +slug: openclaw_assistant +description: Run OpenClaw Assistant (OpenClaw-compatible) as a Home Assistant add-on. +url: https://github.com/techartdev/OpenClawHomeAssistant arch: - amd64 startup: services @@ -15,7 +15,7 @@ host_network: true # Home Assistant Ingress (UI inside the add-on page) ingress: true ingress_port: 8099 -panel_title: Moltbot Assistant +panel_title: OpenClaw Assistant panel_icon: mdi:robot map: @@ -43,7 +43,7 @@ options: # Example: "https://example.duckdns.org:12345" or "http://192.168.1.10:18789" gateway_public_url: "" - # Run `clawdbot doctor --fix` on startup (useful after upgrades; slows restarts) + # Run `openclaw doctor --fix` on startup (useful after upgrades; slows restarts) run_doctor_on_start: false homeassistant_token: "" diff --git a/moltbot_assistant/icon.png b/openclaw_assistant/icon.png similarity index 100% rename from moltbot_assistant/icon.png rename to openclaw_assistant/icon.png diff --git a/moltbot_assistant/logo.png b/openclaw_assistant/logo.png similarity index 100% rename from moltbot_assistant/logo.png rename to openclaw_assistant/logo.png diff --git a/moltbot_assistant/nginx.conf.tpl b/openclaw_assistant/nginx.conf.tpl similarity index 97% rename from moltbot_assistant/nginx.conf.tpl rename to openclaw_assistant/nginx.conf.tpl index 551821a..7f68c2e 100644 --- a/moltbot_assistant/nginx.conf.tpl +++ b/openclaw_assistant/nginx.conf.tpl @@ -54,7 +54,7 @@ http { # (Nabu Casa, DuckDNS, LAN, etc.). return 200 '
-