ofilis

Publishes OpenAI Codex usage limits to Home Assistant via MQTT, including 5-hour and weekly reset times.

15
0
100% credibility
Found May 06, 2026 at 15 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
JavaScript
AI Summary

This tool reads OpenAI Codex usage limits from your local login and shares them as sensors in Home Assistant for dashboard monitoring.

How It Works

1
🔍 Discover the tool

You find this simple bridge that lets you track your AI coding assistant's usage limits right on your Home Assistant smart home dashboard.

2
📥 Get the files

Download the project files to your computer where you have your AI assistant logged in.

3
📝 Set your preferences

Copy the example settings file and add your smart home system's address and login details.

4
🚀 Launch the monitor

Double-click the starter button to run it – it starts quietly in the background without any fuss.

5
📊 Watch it connect

It grabs your current AI usage info and sends it over to your smart home setup every minute.

See your dashboard glow

Open your Home Assistant dashboard to enjoy live gauges showing used percentages, remaining time, credits, and reset clocks for your AI limits.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 15 to 15 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is codex-ha-bridge?

This JavaScript bridge pulls your OpenAI Codex usage limits and publishes them to Home Assistant via MQTT, tracking 5-hour and weekly quotas with remaining percentages, reset times, credits, plan details, and limit status. It auto-creates HA sensors for dashboards, so you can monitor AI consumption like any smart home metric. No npm dependencies needed—just point it at your Codex auth and MQTT broker.

Why is it gaining traction?

It stands out with dead-simple setup, including Windows batch scripts for silent startup and background logging, plus full MQTT discovery for instant HA integration. Developers dig the polling config (default 60s) and fallback token support, avoiding complex API wrappers. The hook: real-time gauges for Codex limits without leaving your HA dashboard.

Who should use this?

Home Assistant users heavy on OpenAI Codex who want usage alerts or dashboards for 5-hour resets and weekly caps. Windows devs running Codex desktop apps, needing quiet monitoring of credits and limits. Tinkerers bridging AI tools to smart home automations, like pausing scripts on high usage.

Verdict

Grab it if you're in the niche—solid docs, easy config via .env, and reliable for personal dashboards, despite 15 stars and 1.0% credibility signaling early maturity. Test for OpenAI backend changes, as it relies on undocumented endpoints.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.