Run Codex tasks on your Home Assistant config
An integration starts Codex CLI tasks against a Home Assistant config to diagnose failing automations, check dashboards for broken cards and create scripts.
Done withCodex
- What they did
- A Home Assistant add-on runs Codex CLI with read/write access to /config, and a custom integration (installable through HACS) exposes actions and entities. Tasks start from scripts, automations, or Assist and run non-interactively. Logs and results are saved under /config/codex_tasks. If Codex needs input, a reply action continues the task. Sign-in uses device-code auth through a persistent notification.
- How it went
- The author shows an Assist request that had Codex update a dashboard card, followed by a completion notification. The post gives no success rates or measurements. Users have asked for image upload and live progress, which are not yet available.
- Worth knowing
- Codex gets write access to your whole config folder, so review its changes. It signs in with a ChatGPT account (Plus or higher recommended) rather than API keys, so there are no per-token charges.
Try it yourself with Codex
Open my Home Assistant config at [config path] and diagnose why [automation name] keeps failing, checking logs and entity names. Also scan [dashboard name] for broken cards that reference missing entities. Finish with a list of causes and proposed fixes, and show me the diffs before changing any file.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
2 more accounts of this
Source: community.home-assistant.io · Undated
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Build and publish a BaZi chart reading agent
Built solo with coding agents, an agent computes BaZi charts, interprets them, detects language and takes on-chain payments for readings.
Schedule Codex automations for docs, tracking, and API tests
The poster uses Codex automations to update agents.md files, refresh a daily master tracking file for a large project, and test ICS source code and an API.
Get a second opinion on an MRI
One person's account of using Claude Code to analyze their own MRI.
Hand everyday errands to a local agent
A commenter lists tasks given to a trusted local agent: planning flights and hotels, converting music, finding DRM-free ebooks, designing 3D-printed holders, and tracking email appointments.
Custom agent
Run a personal health agent over FHIR records
A personal OpenClaw agent reads health data via a guardrail proxy to prep appointments, draft follow-ups, fill forms, write insurance appeals and track trends.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.