IQVIA Allergy smart home integration, free and open source

IQVIA pollen, asthma and cold & flu forecasts for your US ZIP codes.
This integration brings the IQVIA health forecasts into Gladys: allergy (pollen), asthma and cold & flu, for one or more locations in the United States. IQVIA publishes them every day on pollen.com, asthmaforecast.com and flustar.com, per ZIP code.
IQVIA sells no connected device: the integration creates one read-only "forecast" device per forecast and location, which you use like any sensor (dashboards, charts, scenes).
What you getâ
For each ZIP code, three devices appear in the Discovery tab:
| Device | Features |
|---|---|
IQVIA pollen ZIP | index today, index tomorrow, allergens today, pollen season, pollen trend |
IQVIA asthma ZIP | index today, index tomorrow, triggers today (ozone, fine particlesâŠ) |
IQVIA cold & flu ZIP | index today, index tomorrow |
Every index goes from 0 to 12, in five levels:
| Index | Level |
|---|---|
| 0 â 2.4 | Low |
| 2.5 â 4.8 | Low-medium |
| 4.9 â 7.2 | Medium |
| 7.3 â 9.6 | Medium-high |
| 9.7 â 12 | High |
Configurationâ
- Open the Configuration tab of the integration.
- Enter one or more 5-digit US ZIP codes, separated by commas (5 at
most), e.g.
10001, 80238. - Optionally change the refresh interval (one hour by default, 15 minutes at least): IQVIA publishes a new forecast once a day.
- Save, then add the devices from the Discovery tab.
The connection status of the Configuration screen says whether IQVIA answered. Each device shows a cloud badge, or unreachable when its last read failed (the previous values are kept).
Removing a ZIP code stops refreshing its devices: delete them from Gladys if you no longer need them.
Actionsâ
- Test the connection â reads today's pollen forecast of every ZIP code live, and shows the location and the level under the button.
- Refresh the forecasts â reads every forecast now.
Scenesâ
The integration adds its own cards to the scene editor (Gladys 5.1 or later):
Triggers
- Allergy level changed â today's level of a forecast moved to another
band. Optionally pick the forecast device and the new levels to react to.
Variables:
level,previous_level,index,forecast,zip_code. - New daily forecast â IQVIA published the forecast of a new day: the
moment to send a morning notification. Variables:
location,index_today,level_today,index_tomorrow,level_tomorrow,triggers,forecast,zip_code.
Neither fires on the first read after the integration starts: there is nothing to compare with yet.
Actions
- Get an allergy forecast â reads a forecast (today or tomorrow) and
hands
index,level,level_label(in the language you pick),triggersandlocationto the following actions, e.g. a message "Pollen today: {{level_label}} ({{index}}/12) â {{triggers}}". - Refresh the allergy forecasts â reads every forecast now; outputs the
number of forecasts
refreshedandfailed.
Dashboardâ
Add the Allergy forecast widget to a dashboard: today's pollen, asthma and cold & flu indexes (live), a chart of the next days, the levels, the main allergens and the pollen season, and a Refresh button. Its Location setting picks the ZIP code (choose any of the location's forecast devices); left empty, it shows the first ZIP code of the configuration.
Troubleshootingâ
- "Enter at least one valid 5-digit US ZIP code" â the ZIP codes field is empty or holds no valid US ZIP code. IQVIA only covers the United States.
- "no forecast for this ZIP code" â IQVIA answered without data for this ZIP code: check it on pollen.com.
- Unreachable badge â IQVIA did not answer; the integration retries at
the next refresh. Check the integration logs (
LOG_LEVEL=debugfor the detail of every request).
The forecasts are those of IQVIA's public websites; this integration is not affiliated with IQVIA.
Configuration settingsâ
These are the settings IQVIA Allergy asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | IQVIA publishes daily allergy (pollen), asthma and cold & flu forecasts for the United States, per ZIP code, on pollen.com. No account, no API key: enter the ZIP codes to follow. |
| ZIP codes | string | Yes | One or more 5-digit US ZIP codes, separated by commas (5 at most). Each one gets a pollen, an asthma and a cold & flu device. |
| Refresh interval (s) | number | No | How often the forecasts are read, in seconds. IQVIA publishes a new forecast once a day. |
How to install IQVIA Allergy in Gladysâ
- In Gladys, open Integrations: IQVIA Allergy appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/gboulvin/gladys-iqvia-allergy:1.0.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration). - Open the Configuration screen of the integration, fill in the settings, and save.
- You can also install it directly from its repository URL: https://github.com/gboulvin/Gladys-IQVIA-Allergy.
IQVIA Allergy requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.
Not running Gladys yet? It is free and open source: follow the installation guide to get started.
About external integrationsâ
IQVIA Allergy is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by gboulvin, not by the Gladys core team.
- Browse all integrations, native and community
- Build and publish your own external integration
- Source code on GitHub â source of this documentation