bonjour
j’ai l’impression que les alertes meteo ne fonctionnent. J’utilise l’integration meteo-france, je suis en ile de France qui est jaune sur le site de meteo france, mais moi dans mon sensor j’ai vert.
Avez vous le meme resultat chez vous ?
Bonjour,
Oui, idem chez moi.
Intégration Météo-France
*Bonjour à tous,
Depuis quelque temps, j’ai l’intégration météo qui ne remonte plus correctement les vigilances météo.
Malgré mes recherches, je n’ai pas trouvé d’où venait le problème.
Si vous avez des idées, je suis preneur.
[erreur-1_meteo_homeassistant]
[erreur-2_meteo_homeassistant]
Ma configuration
[center]## System Information
version
core-2023.5.2
installation_type
Home Assistant OS
dev
false
hassio
true
docker
true
user
root
virt…
opened 04:51PM - 28 Apr 23 UTC
integration: meteo_france
### The problem
Hello,
I noticed that the integrations keeps reporting "Jaun… e" for "Orages" in the 13, while no clouds in the horizon.
I dug a little bit and that's what the API (https://webservice.meteofrance.com/warning/currentphenomenons?token=...&domain=13&depth=0) returns:
```json
{
"update_time": 1680595200,
"end_validity_time": 1680667200,
"domain_id": "13",
"phenomenons_max_colors": [
{
"phenomenon_id": 1,
"phenomenon_max_color_id": 1
},
{
"phenomenon_id": 4,
"phenomenon_max_color_id": 1
},
{
"phenomenon_id": 3,
"phenomenon_max_color_id": 2
},
{
"phenomenon_id": 2,
"phenomenon_max_color_id": 1
},
{
"phenomenon_id": 5,
"phenomenon_max_color_id": 1
}
]
}
```
So I guess that's make sense if 3 is Orages and 2 is yellow. Problem is: today is April 28, and `end_validity_time` is April 5. And no clouds since then (of course, the sun is the only option in the south 😁).
I'm not an expert of this API, so just guessing: I think that if `end_validity_time` is in the past (maybe with a little margin?) we should take it as "all green".
What do you think? I could go for a PR in that sense if it makes sense to you.
### What version of Home Assistant Core has the issue?
core-2023.4.6
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
Météo-France
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/meteo_france/
### Diagnostics information
_No response_
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_
Bonjour, même problème pour moi dans le 13, alerte « jaune » orage depuis des mois. Même problème dans le 83.
Avez-vous trouvé une solution ?
Bonjour,
appart le signaler sur l’issue ci dessus , rien a faire. A moins que tu soit dev et sorte un fix
Ok, c’est ce que j’ai fait.
plus qu’a attendre un fix
Herbs
Mai 25, 2023, 1:05
7
Salut messieurs,
Y’a peut-être moyen de « choper » @Quentame et oncleben31 sur discord en parallèle (pour les discordistes) ?
1 « J'aime »
Bonjour,
pour contourner le soucis avec l’intégration météo-france ( le temps que ca soit patcher), j’utilise MeteoAlarm - Home Assistant et la carte GitHub - MrBartusek/MeteoalarmCard: Meteoalarm, Météo-France and DWD severe weather warnings card for Home Assistant Lovelace UI ⛈️ qui gère le service de meteoalarm.
dans le configuration.yaml:
binary_sensor:
- platform: meteoalarm
country: "france"
province: "Aude"
language: "fr-FR"
changer votre région ( province ) en mettant le nom exacte qui ce trouve dans ce fichier Meteoalarm - severe weather warnings for Europe a la ligne <cap:areaDesc>Aude</cap:areaDesc>
3 « J'aime »