|
You know that moment in Home Assistant when you are staring at an entity called sensor.living_room_2?
|
|
"Living room 2? What happened to living room 1?"
|
|
|
The entity knows. But it is not talking.
|
|
So I tried something that felt a little strange at first: I connected Codex to Home Assistant through ha-mcp and let it look at the real setup.
|
|
Not "please take over my house and make confident decisions near the garage door" access.
|
|
"Look at what is there, explain it, and do not touch anything yet."
|
|
|
That last part is important.
|
|
Do not touch anything yet.
|
|
In the new video, I test Codex with ha-mcp on the kind of Home Assistant jobs that usually turn into a small archaeological dig:
|
- finding the right entities
- making a dashboard card
- planning an automation before building it
- debugging old logic without guessing
|
|
And this is where it gets interesting.
|
|
The useful part is not that Codex can write YAML.
|
|
Plenty of tools can write YAML.
|
|
The useful part is that Codex can ask Home Assistant what is actually there.
|
- Real entities.
- Real automations.
- Real dashboard context.
- Real traces.
|
|
"Give me a generic automation example."
|
|
|
"Look at my actual automation, explain why it may not be triggering, and give me a safe plan before changing anything."
|
|
|
That is a much better starting point.
|
|
It feels less like asking a chatbot for theory and more like having someone next to you who can read the labels on the wires.
|
|
By the way, as you might already know, several days ago I also launched my first paper book: Home Assistant AI Recipes.
|
|
The book itself is free right now. You only cover shipping and handling.
|
|
It is about the same bigger idea as this video: using AI with real Home Assistant data everything there is formatted as do it yourself recipes.
|
|
I also explain why I wanted to test Codex after the previous Claude + ha-mcp video.
|
|
Claude worked nicely, but I hit the free tier limits fast. Since I already pay for OpenAI Plus, I wanted to see if Codex could fit into my normal Home Assistant workflow.
|
|
But only with a human brake pedal.
|
- Ask it to inspect first.
- Ask it to explain first.
- Ask it to plan first.
- Start with safe devices.
- Make backups.
- Do not approve changes you do not understand.
|
|
Otherwise you are not doing smart home automation anymore.
|
|
You are just gambling with light bulbs.
|
|
P.S. If your Home Assistant has one entity called sensor.living_room_2 and nobody knows what it does, this video may feel personally targeted. Mine sends its regards with this fun meme:
|
|
|
|