Use Codex to troubleshoot your Home Assistant config
A Home Assistant add-on and integration let Codex inspect config files, fix automations, and update dashboards from scripts or Assist.
- What they did
- They installed a Home Assistant add-on that runs Codex CLI with read-and-write access to /config, plus a HACS integration that adds actions and entities. From scripts, automations, or Assist, they could launch non-interactive tasks to investigate failing automations, look for broken dashboard cards, and generate scripts. If Codex needed more detail, a reply action could continue the same task, and logs plus outputs were stored in /config/codex_tasks.
- How it went
- The example showed an Assist request where Codex changed a dashboard card and then sent a completion notification. The writeup did not include any success rate or timing figures. It also noted that users wanted image uploads and live progress, but those features were not available.
- Tips
- Because Codex can modify the entire config folder, review its changes before keeping them. Sign-in uses a device-code flow tied to a ChatGPT account, so API keys are not used and there are no per-token costs.
Try it yourself with Codex
Open my Home Assistant config at [config path]. Check why [automation name] is failing, including logs and entity references. Also inspect [dashboard name] for cards that point to missing entities, and draft fixes for both. Show me the proposed changes and wait for my approval before you apply any file edits or submit anything.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
2 more reports of this
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use Codex by voice from your own app shell
They wrapped Codex in custom phone and desktop clients so they could speak requests, hear answers, and keep the same flow on both devices.
Sort Chrome tabs into local topic collections
Have an agent group your current Chrome tabs into a local archive, using a fake-tab test first and your approval before it touches anything real.
Let agents handle email, forms, and app launches
A developer relies on Claude and Codex for communication, paperwork, API setup, and app publication, while keeping a human check on final actions.
Build a dinner-planning app from pantry and weather data
A non-coder used Codex to make a local meal-planning app that draws on kitchen stock, garden harvests, dietary limits, appliances, and the forecast.
Refile saved links into neat bookmark groups
Codex helped a developer sort 108 saved links across Chrome and Brave into 13 folders and clear out duplicates.
Use Codex to organize recipes and send a refill request
A communications professional used Codex to sort family-friendly recipes and message her sonβs doctor about a refill.