Screenshots From the README of LucaFSmart/codex-usage.
About
Codex Usage is a read-only integration that tracks ChatGPT Codex usage limits and reset times in Home Assistant. It adds sensors for the plan, five-hour and weekly usage, remaining amounts, reset times, usage budgets, available resets and credit balance, plus binary sensors for reached rate, spend and credit limits. Windows are taken from what OpenAI reports instead of being guessed from the plan name, and unknown values are never shown as zero. A bundled English and German dashboard card is registered automatically for storage-managed dashboards. Several accounts or workspaces can be added, and options cover the update interval, profile statistics and saved-reset details. It connects to the vendor cloud, uses a device-code login set up in the UI, and never purchases credits, redeems resets or sends prompts.
Automatic summary of the README and code of LucaFSmart/codex-usage. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Uses the vendor's cloud Needs an internet connection and an account with the vendor.
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.
Authorize Codex Usage
- I completed authorization
Also asked when signing in again.
Select a ChatGPT workspace
- Workspace
After setup
- Update interval (seconds)
- Fetch profile statistics
- Fetch saved-reset details
Texts from the code of LucaFSmart/codex-usage.
Entities
- Binary sensorsRate limit reached, Credits available, Unlimited credits, Credit overage limit reached, Spend limit reached
- SensorsPlan, 5-hour usage, 5-hour remaining, 5-hour reset, 5-hour usage budget, Weekly usage, Weekly remaining, Weekly reset, Weekly usage budget, Weekly usage pace, Available resets, Credit balance, and 20 more
Troubleshooting
- DiagnosticsDownloads a diagnostics file to attach to a bug report.
- Repair noticesNotices it can show in Settings, Repairs:Codex Usage card resource could not be registered
From the README
Codex Usage is a read-only Home Assistant integration for reported Codex and other eligible agentic allowances included with ChatGPT plans. It monitors reported usage windows, reset times, feature restrictions and optional account data, and includes an English/German dashboard card. ChatGPT Work and Codex share usage; other eligible agentic features can share the allowance when their pricing takes effect. Eligibility depends on the plan and workspace. A change cannot be attributed to a particular app, model, task or conversation.
Shows in Vulpo
Chart card, Apple Watch.Information
- Installs
- 67 sharing analytics
- GitHub stars
- 7
- Connection
- Uses the vendor's cloud
- Upkeep
- Updated in the last 6 months
- Version
- 0.7.6,
- Category
- AI and voice, AI models
- Kind
- Marketplace integration
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
codex_usage- Issues
- Report an issue












