# Pollen (grass and birch) allergy - outside air quality

**URL:** <https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306>\
**Category:** Apps\
**Tags:** app\
**Created:** [June 27, 2023, 7:12am UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306 "2023-06-27T07:12:08Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henrik87](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik87/32/18371_2.png) [@Henrik87](https://community.homey.app/u/Henrik87)\
**Post date:** [June 27, 2023, 7:12am UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/1 "2023-06-27T07:12:08Z")

</div>

Hello! Ove been trying to find any app that can pull the latest data about outside air quality as i want a notification of how much pollen is outside. In depth; I’ve bought some door and window sensors for my sons room since he recently got diagnosed with pollen allergy. Instead of checking each day how much allergy particles the forecast is predicting I’d like to automate an alarm if the windows are open etc etc. anyone got a got app or idea?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 27, 2023, 7:14am UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/2 "2023-06-27T07:14:37Z")

</div>

Possibly there’s a web service that can provide this info, and you can use the built-in Logic HTTP cards to retrieve this information to use in flows.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 27, 2023, 4:58pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/3 "2023-06-27T16:58:22Z")

</div>

It’s possible with the Openweather app (not sure if it’s pollen specific)

> ![Screenshot from 2023-06-27 18-54-14](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/2/226b78c0f4a0a0ae91d2d4bdbbfa2977a37bd5db.png)

Or, when you have an OpenWeathermap API key and location lat & lon:  
[http://api.openweathermap.org/data/2.5/air\_pollution?lat=52&lon=4&APPID=[yourAPIkey]](http://api.openweathermap.org/data/2.5/air_pollution?lat=52&lon=4&APPID=%5ByourAPIkey%5D)

 ![Screenshot from 2023-06-27 18-52-27](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ec02292030a8b4a7feca7d98b3f1a272d005cdf5.png)

Which you can use like Robert stated.  
Xmpl:

> [@Hulp met automatiseren mechanische ventilatie](https://community.homey.app/t/hulp-met-automatiseren-mechanische-ventilatie/14379/269):
>
> ![image51](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/209b548cdae6f49734db9a5bc432187e331e7d86.png)

---

<div class="post-metadata">

**Author:** ![Henrik87](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik87/32/18371_2.png) [@Henrik87](https://community.homey.app/u/Henrik87)\
**Post date:** [June 27, 2023, 5:22pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/4 "2023-06-27T17:22:08Z")

</div>

Thanks for quik answers. To make things more complicated i have the homey (early 2019) and not pro :-/ should i upgrade is my first question?

Also, I can’t see how any of the apps will help since there’s no listing of pollen, only ppm air quality etc.

So, I think my only option is to pull data from a website. Can any of you point me to a tutorial of how to use the logic http request?

Let’s say I’ve want to pull both these

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/855f8927d63117003358361f70394dfb0c4d225c.jpeg)  
value from [https://www.naaf.no/pollenvarsel](https://www.naaf.no/pollenvarsel)  
(See picture)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 27, 2023, 9:23pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/5 "2023-06-27T21:23:07Z")

</div>

> [@Henrik87](#):
>
> homey (early 2019) and not pro :-/

Well you now have a Pro, while Athom decided to call all white balls Homey Pro since Homey cloud/premium was introduced.  
So there’s 2 ‘types’ now (for apps), Homey (cloud/premium) and Homey Pro.

> [@Henrik87](#):
>
> Also, I can’t see how any of the apps will help since there’s no listing of pollen, only ppm air quality etc.

Yes I was afraid of that alr. but I thought you never know, it could be of help

> [@](#):
>
> So, I think my only option is to pull data from a website. Can any of you point me to a tutorial of how to use the logic http request?

That’s in my screenshot. But, the website should expose a (API) URL with (JSON)data, so you can kindly request @ naaf.no, or you have to ‘scrape’ data from a site.  
But I can’t help you with that.

---

<div class="post-metadata">

**Author:** ![Henrik87](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik87/32/18371_2.png) [@Henrik87](https://community.homey.app/u/Henrik87)\
**Post date:** [June 28, 2023, 4:46pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/6 "2023-06-28T16:46:42Z")

</div>

Wow, thanks for the info again! I’ll try to use your tut, but seems you have homey advance? On that note, should I upgrade? I feel kind of limited considering the pls in normal but not a huge problem. Ex; I’d have to use the app “group” now, while I could have used an “port” for the same I guess if I had advanced?

Worth the buy?

I’ll try gathering and try the method you explained asap. Just so many things to get done in a normal day that every time I sit down I’m to tired. 🥲

Thanks again and good summer!

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 28, 2023, 9:22pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/7 "2023-06-28T21:22:59Z")

</div>

YW, Henrik,

When you use standard flows, you can use the following tut as a starting point. You’ll need Better Logic variables with this one

> [@Weerlive.nl](https://community.homey.app/t/weerlive-nl/16016/5):
>
> @Rocodamelshekima In bovenstaande schermafdruk worden in één flow 3 aanroepen gedaan naar de weerlive API. Zelf heb ik ook een soortgelijke constructie (omdat ik nog niet beter weet), maar als je dat echt elke 10 minuten zou opvragen dan heb je dus 3 x 6 x 24 = meer dan de 300 aanvragen die je op een dag mag doen met de gratis API. Is het met BL ook mogelijk om de hele JSON respons op te slaan in 1 aanroep en deze vervolgens binnen een tweede flow verder uit te splitsen naar de gewenste waarden…

> [@Henrik87](#):
>
> Worth the buy?

I bought the Adv Flow, did not regret it at all, it made my Homey '19 more complete. One downside for me, I can’t edit these flows on the couch using my smartphone, like I can with standard flows.  
Keep in mind the license sticks to your Homey, not to your account.

I found some[non-free pollen info sites with API’s](https://duckduckgo.com/?q=pollen+air+api&t=lm&atb=v344-1&ia=web) maybe it’s affordable

Thanks and good summer as well!

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [June 29, 2023, 9:34am UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/8 "2023-06-29T09:34:38Z")

</div>

> [@Peter\_Kawa](#):
>
> Openweather app

It’s only air quality but pollen specific.  
I only know a fee german service to read pollen data via webservice as JSON, but there’s no data for NL.

---

<div class="post-metadata">

**Author:** ![RudolfT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rudolft/32/72727_2.png) [@RudolfT](https://community.homey.app/u/RudolfT)\
**Post date:** [June 29, 2023, 10:11am UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/9 "2023-06-29T10:11:02Z")

</div>

Maybe [https://www.tomorrow.io/](https://www.tomorrow.io/)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 29, 2023, 12:30pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/10 "2023-06-29T12:30:40Z")

</div>

> [@RonnyW](#):
>
> but there’s no data for NL.

It’s for our Henrik from Norway 😉

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [June 29, 2023, 12:46pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/11 "2023-06-29T12:46:56Z")

</div>

Open Meteo has an air quality api. But’s not implemented yet.

> [@\[APP\]\[Pro\] Weather by Open-Meteo](https://community.homey.app/t/app-pro-weather-by-open-meteo/76977):
>
> Always be weather-ready Weather by Open-Meteo is a fast and reliable weather app that offers accurate weather forecasts for your current location or any other location worldwide. Powered by Open Meteo, a free and open-source weather API, this app delivers real-time weather data without the need for an API token. With a simple and user-friendly interface, Weather by Open-Meteo provides hourly and daily forecasts, as well as detailed information about temperature, humidity, wind speed,…

And this Api supports pollen data.

> **[💨 Air Quality API | Open-Meteo.com](https://open-meteo.com/en/docs/air-quality-api)**
>
> Get accurate forecasts for gases, particulate matter (PM), and pollen with the Air Quality API. Access this powerful API for free for non-commercial use. Stay informed about air quality conditions and make informed decisions based on reliable data....

@spkesDE

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [June 29, 2023, 2:49pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/12 "2023-06-29T14:49:12Z")

</div>

Yes, it was planned, but I did not have the time or motivation to carry it out.  
Perhaps after the summer, when it gets colder inside.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [June 29, 2023, 2:54pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/13 "2023-06-29T14:54:11Z")

</div>

So @Henrik87 can use the OpenMeteo API with the logic cards in AdvancedFlow to get the JSON. Then read the valued with JSON logic card and use the returned tag.

Example URL:  
[https://air-quality-api.open-meteo.com/v1/air-quality?latitude=52.5235&longitude=13.4115&hourly=pm10,pm2\_5](https://air-quality-api.open-meteo.com/v1/air-quality?latitude=52.5235&longitude=13.4115&hourly=pm10,pm2_5)

Example response:

```auto
  "latitude": 52.52,
  "longitude": 13.419,
  "elevation": 44.812,
  "generationtime_ms": 2.2119,
  "utc_offset_seconds": 0,
  "timezone": "Europe/Berlin",
  "timezone_abbreviation": "CEST",
  "hourly": {
    "time": ["2022-07-01T00:00", "2022-07-01T01:00", "2022-07-01T02:00", ...],
    "pm10": [1, 1.7, 1.7, 1.5, 1.5, 1.8, 2.0, 1.9, 1.3, ...]
  },
  "hourly_units": {
    "pm10": "μg/m³"
  },

```

See API docs:

> **[💨 Air Quality API | Open-Meteo.com](https://open-meteo.com/en/docs/air-quality-api)**
>
> Get accurate forecasts for gases, particulate matter (PM), and pollen with the Air Quality API. Access this powerful API for free for non-commercial use. Stay informed about air quality conditions and make informed decisions based on reliable data....

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [July 2, 2023, 1:31pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/14 "2023-07-02T13:31:18Z")

</div>

Hello there, @Henrik87.

I recently added Air Quality to Open-Meteo’s Weather app.

If you are still interested, check it out.

> **[Weather by Open-Meteo](https://homey.app/en-us/app/com.spkes.openMeteo/Weather-by-Open-Meteo/)**
>
> Always be weather-ready.

Best regards ✌

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 29, 2023, 8:08pm UTC](https://community.homey.app/t/pollen-grass-and-birch-allergy-outside-air-quality/83306/15 "2023-07-29T20:08:30Z")

</div>

Yeah, Henrik, impressive stuff I think. Thanks @spkesDE !

> ![Screenshot_20230729-220202_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/3/a3e61b77ad09d23aa0144bcf644c4854e389eabf.jpeg)
