Hello,
I’m looking to integrate the official public air quality measurements from this website (Wallonia - Belgium):
A widget is available and generated by their site here:
And here’s how it looks:
\u003ciframe src=" https://www.wallonair.be/index.php?option=com_issep\u0026view=widgets_indices\u0026tmpl=widgets\u0026commune=192\u0026auto=false\u0026speed=4000 " scrolling="no" border="0" style="border: none;width:400px;height:350px"\u003e\u003c/iframe\u003e
But I don’t know how to integrate this into my dashboard. Any ideas?
Thanks for your input!
Hi @GBoulvin , you should check whether they have an open API you could call, either from Gladys or from Node-RED, so you can then pull the data into an MQTT virtual device!
1 Like
I haven’t tried it but by taking inspiration from the tutorial script below there’s surely a way to do something directly in gladys.
The script retrieves your widget as an image every X minutes and you insert the link of the generated image into the camera integration which you can then place on your dashboard.
Bonjour,
Je vais vous présenter ici comment afficher dans Gladys les cartes d’alertes de vigilances météo france
Les cartes proviennent de : https://public-api.meteofrance.fr
L’intérêt est discutable mais cela peut-être sympas pour avoir une vue global
Le résultat final :
[image]
Il faut tout d’abord créer un compte et récupérer une clé API sur le site :
https://portail-api.meteofrance.fr/web/fr/
Dans un second temps il faut créer les dossier dans Gladys pour la réception des ima…
That also works, but it’s a shame, you lose the whole « fully integrated » side of Gladys, where the information that Gladys « knows » is available in the AI, in the scenes, etc…
Yes, I’m not saying otherwise; if there’s a possibility with an API it’s even better.
1 Like
prohand
November 25, 2025, 2:22pm
6
On my side I already do it with Node-RED:
The API used is the following:
https://api.waqi.info/feed/${city}/?token=${apiKey})
3 Likes
I should point out that this can also be done in a Gladys scene, you don’t necessarily need Node-RED
1 Like
Thanks for your replies!
After researching, there are indeed APIs available (here ) but I haven’t yet had the time to look at them.
I’ll keep you posted
3 Likes
prohand
November 26, 2025, 3:04pm
9
I managed to do it directly in Gladys
It couldn’t be simpler
However, I’d like the date/time to be in day/month/year format while the retrieved value is:
Is there a way to do this?
Thanks
mutmut
November 26, 2025, 6:47pm
10
In my opinion, we should retrieve each aa mm dd and send them to an MQTT device in the order that suits you.
prohand
November 26, 2025, 7:07pm
11
Any idea how to do it with Gladys?
In my opinion, it’s complicated to do that fully in Gladys right now, but we could add a small date-handling function or a date type on the dashboard!
prohand
November 27, 2025, 9:40am
13
Thanks, I created a feature request:
Bonjour,
Suite à la discussion ci dessous je propose de rajouter une fonction pour traiter les dates par exemple passer du format « jour-mois-année heure » au format « année-mois-jour heure » :
Merci