Skip to main content

An open-source add-on registers Home Assistant as a Grok Bot computer

GitHubGitHubpit3k2026-11-22

Getting startedLimitsSource read in fullRead first
GitHubGitHubpit3k2026-11-22

Open original

Overview

Users who want Grok Bot agents to manage Home Assistant can install an add-on running grokbot-tunnel persistently. Home Assistant appears as a manageable computer in Grok Bot.

Workflow

  1. What it is: An open-source add-on that makes Home Assistant a Grok Bot computer. In this Home Assistant app repository, grokbot_client runs third-party grokbot-tunnel persistently. Once signed in, Home Assistant appears in Grok Bot and agents can edit config, install and stop apps, and use backups and ha commands. This is first release 0.1.0. The author says grokbot-tunnel is independent, with no affiliation with or endorsement by xAI.
  2. Grok Bot parts used: Computer connection, three execution settings, approval cards, and Auto-review. grokbot-tunnel registers one computer named homeassistant by default with a customizable name of up to 100 characters. Always allow / Ask every time / Never allow are the three settings. Ask shows an approval card for each action in agent chat and executes only on approval. Never denies all. Always first checks each action with Auto-review (Settings → General → Auto-review and its rules page). A blocked action never reaches Home Assistant. The agent gets the reason and may ask for approval. Change this later under Settings → Computer. Not part of Grok Bot: The independent open-source grokbot-tunnel client, Home Assistant, and the container's web dashboard.
  3. You need: Home Assistant OS 2026.7 or newer and a browser that can sign into Grok Bot. amd64 and aarch64 are supported. Approve the connection in a browser, including mobile. No Docker socket, host networking, or extra server is required. API key and paid tier requirements are not stated in the source.
  4. Install: Follow three initial repo steps, then scan to sign in at the dashboard.
    • Step 1: Add https://github.com/pit3k/ha-addon-grokbot-client via Settings → Apps → App store → ⋮ → Repositories, or click the README badge.
    • Step 2: Install and start Grok Bot client. Autostart is on by default.
    • Step 3: On the app Info page, click Open Web UI. The dashboard is absent from the sidebar and available only to admins.
    • Step 4: Before sign-in, choose the execution policy in the dashboard (default Always allow), click Click to sign in, copy the link or scan the QR code, and approve in the browser. The link expires in about 15 minutes. The app stops if sign-in times out. Restart for a new link.
    • Connected as and the computer name appear in the dashboard, and that machine appears in Grok Bot.
  5. After install: The agent manages Home Assistant remotely under the execution policy.
    • Read and write /homeassistant (automations, scripts, dashboards, YAML), /config, /share, /media, and /local_apps. Read only /app_configs and /backup. Commands run as root in the container.
    • Through ha and Supervisor with the manager role, install, start, stop, and update apps, restart Home Assistant Core, and enable the Home Assistant API.
    • All approvals are in Grok Bot and Home Assistant shows no further prompts.
    • The panel shows status, account, and sign-out. Signing out clears saved login and generates a new link.
    • Options include computer name, auto-update (on by default, retaining last working client after a download failure), and log level (debug prints each raw request).
  6. Did the author run it: The repository has no run records from the author. CI verifies project operation through ShellCheck, script tests, a smoke test that builds the image and checks Waiting for sign-in while signed out, and amd64/aarch64 builds. There are no logs, events, or result tables of an agent operating Home Assistant.

Key points and results

  • Maturity: At fetch time on 2026-11-23, created one day prior (2026-11-22), six commits, zero stars, forks, or open issues/PRs, and MIT license. CHANGELOG has only 0.1.0.
  • Permissions and boundaries: The container runs as root. File tools can access anything under /, and shell can read everything readable by the container, including sign-in files in /data/.grok/bot-tunnel. Supervisor manager can install and stop apps and restart HA Core but lacks the host control of admin. The app is unprivileged, with no Docker socket or host networking. Grok Bot's policy controls approval without further confirmation on Home Assistant.
  • Known limits: Home Assistant OS 2026.7+ is required. Plaintext login credentials are stored in /data/.grok/bot-tunnel (0700 permissions) and included in app backups, which must be kept secret. This is deliberate so restores remain signed in. Login links expire in about 15 minutes, and only one client can run at a time.
  • Worth borrowing: Choose policy before sign-in and pass --permission only on the first connect. Hand later policy management to Grok Bot's Settings → Computer to avoid a clash (DOCS.md).
  • Worth borrowing: The panel listens only on ingress and 127.0.0.1, stays out of the sidebar, and opens only for admins. The login link is logged once (DOCS.md).
  • Worth borrowing: Smoke-test the minimal signed-out path to Waiting for sign-in, along with CI for both architectures (README, tests/smoke.sh).

Source

Platform
GitHub
Author
pit3k
Published
Categories
Getting started, Limits

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.