Skip to content

Home Assistant Google Air Quality: How AI Tells Me If the Air Outside Is Safe (Live Build Today!)

Home Assistant Google Air Quality: How AI Tells Me If the Air Outside Is Safe (Live Build Today!) 1

What is Home Assistant Google Air Quality all about? I’ll be totally honest with you — I rarely thought about air quality. Maybe once or twice a year, if there was a wildfire in the news or a smog alert.
Weather? Sure. Every morning. But the actual air I breathe on a random Tuesday? It just wasn’t on my radar.
And then I had a thought that kind of changed everything.

What If My Home Assistant Could Just Tell Me? 🌬️

I was scrolling through the Home Assistant integrations one day and stumbled on something I didn’t know existed — a Google Air Quality integration. And I thought: “Wait… I can get real-time air quality data right in my dashboard?”
So I set it up. And suddenly I had all these sensors with scientific names and numbers staring at me. PM2.5, Ozone, Nitrogen Dioxide… cool, but what does any of that actually mean?
That’s when the idea hit me — what if I just handed all of that data to an AI and asked it: “Hey, is the air okay today? And explain it like I’m a normal person.”

Home Assistant Google Air Quality — Wait, This Exists?

Turns out Google has an Air Quality API that gives you real-time data about the air around your location. And Home Assistant has an official Home Assistant Google Air Quality integration that connects to it.
Once you set it up, you get around 12 sensors:

  • An overall Air Quality Index score (0–100)
  • A category label (Excellent, Good, Moderate, Low, or Poor)
  • The dominant pollutant (the main bad thing in the air right now)
  • Individual readings for PM2.5, PM10, Ozone, Nitrogen Dioxide, Sulphur Dioxide, Carbon Monoxide
    That’s a LOT of data. And if you’re a regular human — not an atmospheric scientist — most of those names and numbers mean absolutely nothing.
    Which is exactly why the AI approach works so well here.

So I Built It — And It Works Beautifully

Here’s how the whole thing flows:

  1. Home Assistant Google Air Quality integration pulls the data every 60 minutes
  2. When the air quality category changes, an automation triggers
  3. All sensor values get bundled together and sent to an AI
  4. The AI writes a short, friendly summary
  5. I get a notification on my dashboard

The result looks something like:

“Air quality is moderate today 🌤️ The biggest concern is fine dust particles (PM2.5). Nothing serious, but maybe keep the windows closed and save the outdoor run for tomorrow.”

🔴 I’m Building It LIVE Today — Come Watch!

Here’s the fun part — today I’m building this whole thing from scratch, live on YouTube.
🎬 Live Stream: Today at 20:00 UTC
👉 https://youtube.com/live/ctqSqFejW-0
Click the link and hit the “Notify me” button so you get a reminder when we go live.
Here’s what we’ll go through together:

  • Setting up the Home Assistant Google Air Quality integration
  • Connecting it to AI through the Ollama-HA app
  • Writing the automation step by step
  • Testing it live (yes, there’s always a chance something breaks on camera — that’s the fun of live streams 😄)
  • Answering YOUR questions in real time

Whether you want to follow along and build it with me, or just hang out in the chat and watch — I’d love to see you there.
👉 Set your reminder now — see you at 20:00 UTC!

What You Need to Make This Work

Without going into all the details (that’s what the live stream is for!), here’s the basic structure:

Piece 1 — The Data Source
The Home Assistant Google Air Quality integration. You need a Google API key and a billing account (Google gives you 10,000 free calls per month — more than enough). The integration does the rest.

Piece 2 — The AI Brain
The Ollama-HA app running in Home Assistant with a cloud or local AI model. This is what reads your sensor data and turns it into a human-friendly summary.

Piece 3 — The Automation
A YAML automation that connects the dots. It watches for changes, bundles the sensor data, sends it to the AI, and delivers the result as a persistent notification.

Each piece is pretty straightforward on its own. The trick is getting them all connected and talking to each other correctly — which is exactly what we’ll do in the live stream.

Why This Automation Actually Matters 🫁

Here’s the thing I didn’t appreciate until I started using this setup:
Air quality isn’t something that’s bad once a year during wildfire season. It changes constantly. Your area might have perfectly fine air in the morning and elevated PM2.5 by afternoon — because of traffic, construction, or just a shift in wind direction.
And for people with asthma, allergies, or small kids — knowing about these changes can genuinely make a difference. Even a simple “keep the windows closed today” can save someone from a rough afternoon.
With the Home Assistant Google Air Quality integration and a bit of AI magic, your smart home watches the air for you. No effort. Fully automatic.
That’s the kind of automation that isn’t just cool to demo — it’s useful every single day.


📥 Want the Full Written Instructions? Grab the Free PDF

If you’re the type who likes to have everything written down in front of you — step by step, with screenshots and the complete code — I made a free PDF guide that covers the entire setup.
It includes:

  • ✅ Google Cloud project and API key setup
  • ✅ Billing account creation (with free tier details)
  • ✅ Adding the Home Assistant Google Air Quality integration
  • ✅ AI Task configuration with Ollama-HA
  • ✅ Full automation YAML code with comments
  • ✅ How to adapt everything to your sensors
  • ✅ Troubleshooting tips
  • ✅ A quiz to test what you learned 🧠

👉 Get it here: automatelike.pro/google-air

Here’s how it works: just type your name and email on the page. You’ll get a quick confirmation email from me — just click the link to verify you’re a real person (and not a robot pretending to care about air quality 🤖). Once confirmed, the PDF goes straight to your inbox.
You’ll also be subscribed to my free newsletter where I share new Home Assistant content, tutorials, updates, and offers. And right now there’s something special going on — an AI & Home Assistant Challenge with live lessons, exclusive for newsletter subscribers only. All the details will be shared once you sign up — you won’t find them anywhere else.
The newsletter is completely free. And if it’s not your thing — no worries at all. You can unsubscribe anytime with one single click. No hoops, no guilt trips, no “are you sure?” popups. Just a clean, simple unsubscribe. 😊


The Part Where It All Comes Full Circle

Looking back, it’s kind of funny. I went from barely ever thinking about air quality to having my smart home actively watch it for me every single day & every single hour. And every time I get one of those friendly little notifications, I think: “Yeah, this is why I love Home Assistant.”

If you’re into smart home stuff and you want to try something that’s genuinely practical — this is a great project. It’s not hard, it doesn’t cost anything to run, and you’ll actually use it every day.

🔴 Join the live stream today at 20:00 UTC and let’s build it together:
👉 https://youtube.com/live/ctqSqFejW-0

Home Assistant Google Air Quality: How AI Tells Me If the Air Outside Is Safe (Live Build Today!)
Home Assistant Google Air Quality: How AI Tells Me If the Air Outside Is Safe (Live Build Today!)

Or grab the free PDF if you want to go at your own pace: 👉 automatelike.pro/google-air

Either way — happy automating, and breathe easy! 🌬️

Kiril

Leave a Reply

Your email address will not be published. Required fields are marked *