The current widget with openweather is very good but lacks a bit of color for me.
As I was already using the meteo france api to display a vigilance map (thanks to @prohand’s tutorial Tuto - Afficher les cartes vigilances Météo France) I decided to integrate this directly into Gladys.
As images are more expressive, here are the widgets (it’s the same widget each time but customizable)
Light theme:
For this integration, you need a free api key only to display the vigilance map. The rest is done without an api key.
I’m waiting for a change in the vigilance level to test the rendering and then I will add a trigger in the scenes for orange/red vigilance, to create scenes to be notified and receive the vigilance text for example.
Hi, I saw that you bought the Gladys kit so you didn’t do the installation.
If you’re a beginner and you didn’t do the first Gladys installation yourself with the Docker commands, I wouldn’t recommend doing it.
But don’t worry, because if it’s well received and I haven’t written too many mistakes in the PR, it could be quickly integrated.
The only comment I have is that this is a development very specific to France, whereas the project has an international scope.
I know we already have a few widgets specific to France, but so far the weather widget was international. With this approach, we end up with two widgets that serve the same purpose.
Wouldn’t it be possible to evolve the existing weather widget by allowing the selection of a source (OpenWeather or Météo-France)? Depending on the selected source, it could simply display an appropriate interface. This would avoid duplicating widgets while maintaining support for Météo-France.
I hadn’t thought of this case but yes I can work to merge these 2 parts and put the source choice as a parameter. And there will be only one weather widget.
In this case, everyone will be able to have the new design with a single weather box, which is quite relevant!
I’m working in this direction to integrate what I’ve done in the OpenWeather part.
So, the OpenWeather integration + my Météo France integration will become the Weather integration. I’ll look for a new image.
For the settings page, I’ll put the explanations for the 2 data sources. But should I put the choice of the 2 sources in a list and, depending on the one selected, then display the related settings or everything on the same page?
@pierre-gilles, for the integration I’m not sure what to choose.
Do you prefer having a single weather integration and in the parameter we choose the data source + a weather widget.
Or 2 separate integrations Openweather and Meteo France. A single weather widget with the source choice as a widget parameter?