Screenshots From the README of moryoav/home-assistant-codex.
About
Codex is a Home Assistant integration and companion app that runs Codex CLI against the configuration folder. Tasks can be started from actions, scripts, automations, or Assist and LLM tools, and saved conversations can be continued with their earlier context. It adds a task running binary sensor and sensors for the last task, active tasks, sign-in status, and the 5-hour and weekly limits with their reset times. Further actions reply to a task that is waiting for input and list saved conversations. A chat interface shows reasoning, commands, and file edits live, queues messages while another chat is working, and offers suggested answers as buttons. Codex saves the previous version of each file before changing it, and a repair notice appears when it is not signed in. It works locally and is set up in the UI.
Automatic summary of the README and code of moryoav/home-assistant-codex. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Works locally Talks to your devices on your own network. No vendor cloud in between.
From the Marketplace Installed through the Marketplace, formerly HACS.
Actively maintained Its author released or pushed a change in the last six months.
Provides
- Sensors
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Entities
- Binary sensorsTask running
- SensorsLast task, Active tasks, Auth status, 5-hour limit, 5-hour reset, Weekly limit, Weekly reset
Actions
- Continue taskSend a new message to a saved Codex conversation.Fields: Task ID, Message
- Reply to taskAnswer the question of a Codex task that is waiting for input.Fields: Task ID, Reply, Turn ID
- List tasksGet all tasks or a filtered page of saved conversations.Fields: Limit, Offset, Status, Order, Compact summaries
Troubleshooting
- DiagnosticsDownloads a diagnostics file to attach to a bug report.
- Repair noticesNotices it can show in Settings, Repairs:Codex is not signed in
From the README
- Starts Codex tasks from Home Assistant actions, scripts, automations, or Assist/LLM tools.
- Keeps saved conversations so you can return to an earlier chat and continue with its context.
- Provides a chat UI with a resizable sidebar, mobile navigation, and light/dark themes.
- Shows what Codex is doing while it works: reasoning headlines, commands, file edits, searches, and tool calls appear live under your message, with a timer from the moment you send it.
- Formats Markdown in the chat, in your messages and in Codex's answers: code blocks, inline code, headings, lists, tables, and links.
- Queues messages sent while another chat is working and starts them in order, with the option to edit or remove them first.
- Offers answers to its own questions as buttons, in the chat and on mobile app notifications, so a decision takes one tap.
- Asks Home Assistant to check the configuration after YAML edits and fails the task on errors.
- Has Codex save the previous version of each file before changing it, reports changed files that have no saved copy, and removes the copies after a number of days you choose.
- Mounts the Home Assistant config folder as /config inside the worker app.
- Runs tasks non-interactively and stores task logs/results under /config/codex_tasks.
- Supports Codex device-code sign-in through Home Assistant persistent notifications.
Shows in Vulpo
Chart card, Apple Watch.Information
- Installs
- 81 sharing analytics
- GitHub stars
- 10
- Connection
- Works locally
- Upkeep
- Updated in the last 6 months
- Version
- v0.1.78,
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
codex_cli- Issues
- Report an issue












