Bedroom CO2 Kept Under 1,000 ppm All Night: Grok Bot Built the Home Assistant Automation From Just the Goal
- Level Intermediate
- Setup1–3 hrs (estimated)
- Evidence Anecdotal
- CostNot stated in source
- No-codeYes
What they did
Can I get better air while I sleep without writing code? He described only the outcome he wanted, and a Grok Bot built a Home Assistant automation that kept his bedroom CO2 under 1,000 ppm all night. He never wrote a step himself. His other bots handle his insurance and phone bills.
How it went
An automation that keeps your bedroom air fresh overnight, with a morning summary.
Worth knowing
- Short post. You need a CO2 sensor and something the automation can switch on, like a smart plug fan or ventilation. Check the automation before turning it on.
Prompt
Cleaned version rewritten from the source — not a direct quote.
In my Home Assistant at [address], I have a CO2 sensor [name] in the bedroom and a [fan / air exchanger / smart window opener] [name]. Build an automation that keeps bedroom CO2 under 1,000 ppm overnight from [time] to [time]: turn on ventilation above [900] ppm and off below [700], quiet mode at night. Show me the automation before you save it, and send me a morning summary of the night's readings.
Recommended
Try it in Grok Bot
- Copy the prompt (button below).
- Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
- Connect the listed tools (as needed) as connectors when Grok Bot asks.
- If the task repeats, ask: "Make this a daily routine."
Alternatives: the same prompt works in Claude, ChatGPT Agent, OpenClaw.
Set it up
Stack: Grok Bot + Home Assistant + CO2 sensor + fan or ventilation
- Read the original source for full context.
- Connect the tools your agent needs.
- Paste the prompt and replace [bracketed] placeholders.
- Run once manually and check the output before scheduling it.
Generic suggested steps, not from the source.
Evidence
Short first-hand X reply: Home Assistant automation kept bedroom CO2 under 1,000 ppm all night, built from an outcome description
Source: X · 2026-10-20 · Verified by us: not yet · Report broken or outdated