-
-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Météo-France: alerts are all "unknown" #92197
Comments
Hey there @hacf-fr, @oncleben31, @Quentame, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) meteo_france documentation |
i have the same issue |
@franck31195 @jimsaye |
Hello, same problem in the department of 13 and 83. Have you found a solution ? |
Not working correctly for department 75. We're actually on yellow level for thunderstorms today, but the integration is still stuck on green as it has been for quite some time now. |
I wondering if it is because of meteofrance.fr has put in place a new interface/api. They don't mentioned the previous url. Sorry for the non french-speaker
|
I played around with this new interface and it returns the right value `python % python3 test3.py Domain ID: 13 Domain ID: 13 Domain ID: 13 with the old webservice I currently have a 502 error |
Hi, |
My log is spammed by error from Météo-France, maybe this is related to this issue: 2023-06-17 16:52:10.003 DEBUG (MainThread) [homeassistant.components.meteo_france] Finished fetching Météo-France forecast for city Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR data in 0.188 seconds (success: True)
2023-06-17 16:52:10.003 DEBUG (MainThread) [homeassistant.components.meteo_france] Department corresponding to Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR is 61
2023-06-17 16:52:10.063 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=...&domain=61&depth=0
2023-06-17 16:52:10.064 DEBUG (MainThread) [homeassistant.components.meteo_france] Finished fetching Météo-France alert for department 61 data in 0.060 seconds (success: False)
2023-06-17 16:52:22.138 DEBUG (MainThread) [homeassistant.components.meteo_france] Finished fetching Météo-France forecast for city Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR data in 0.206 seconds (success: True)
2023-06-17 16:52:22.139 DEBUG (MainThread) [homeassistant.components.meteo_france] Department corresponding to Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR is 61
2023-06-17 16:52:22.187 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=...domain=61&depth=0
2023-06-17 16:52:22.189 DEBUG (MainThread) [homeassistant.components.meteo_france] Finished fetching Météo-France alert for department 61 data in 0.049 seconds (success: False)
2023-06-17 16:52:22.189 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR' for meteo_france integration not ready yet: None; Retrying in background
2023-06-17 16:52:27.532 DEBUG (MainThread) [homeassistant.components.meteo_france] Finished fetching Météo-France forecast for city Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR data in 0.156 seconds (success: True)
2023-06-17 16:52:27.532 DEBUG (MainThread) [homeassistant.components.meteo_france] Department corresponding to Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR is 61
2023-06-17 16:52:27.575 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=...domain=61&depth=0
2023-06-17 16:52:27.577 DEBUG (MainThread) [homeassistant.components.meteo_france] Finished fetching Météo-France alert for department 61 data in 0.044 seconds (success: False)
2023-06-17 16:52:38.153 DEBUG (MainThread) [homeassistant.components.meteo_france] Finished fetching Météo-France forecast for city Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR data in 0.162 seconds (success: True)
2023-06-17 16:52:38.153 DEBUG (MainThread) [homeassistant.components.meteo_france] Department corresponding to Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR is 61
2023-06-17 16:52:38.202 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=...&domain=61&depth=0
2023-06-17 16:52:38.204 DEBUG (MainThread) [homeassistant.components.meteo_france] Finished fetching Météo-France alert for department 61 data in 0.051 seconds (success: False)
2023-06-17 16:52:58.629 DEBUG (MainThread) [homeassistant.components.meteo_france] Finished fetching Météo-France forecast for city Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR data in 0.153 seconds (success: True)
2023-06-17 16:52:58.629 DEBUG (MainThread) [homeassistant.components.meteo_france] Department corresponding to Le Mêle-sur-Sarthe - Basse-Normandie (61) - FR is 61
2023-06-17 16:52:58.677 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=...&domain=61&depth=0
2023-06-17 16:52:58.679 DEBUG (MainThread) [homeassistant.components.meteo_france] Finished fetching Météo-France alert for department 61 data in 0.050 seconds (success: False) I enabled debug logs for this comment but debug information do not look so helpful IMHO. |
So how can I corrige the issue? |
Could you tell me more? I'm not an expert or a coder. Have I just to put the command "pip install meteofrance-api" in the consol? Or other? |
Hi everyone ! I'm back from vacation, will check API changes ASAP. |
Logger: homeassistant.components.meteo_france Error requesting Météo-France alert for department 23 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=__Wj7dVSTjV9YGu1guveLyDq0g7S7TfTjaHBTPTpO0kj8__&domain=23&depth=0 |
New's ? Still unkown state .. |
yes |
hello, there is also rain within 1 hour that no longer works saint_xxxl_next_rain |
It's not just it's showing outdated alerts, it's also not show actual alerts Today, we are in
On the log, we can see the same bad gateway error :
Can someone update the title of the issue ? |
Updated! BTW @Quentame feel free to drop a line if you think I can be helpful in any way (I speak both Python and French) |
hello @serl, we are all when the same case is made, we would like to find the france weather alerts. my don't know anything about coding, we're struggling |
For some days I have errors about every half an our/hour, log get spammed when before it was not so frequently: 2023-09-16 05:32:14.567 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=__Wj7dVSTjV9YGu1guveLyDq0g7S7TfTjaHBTPTpO0kj8__&domain=61&depth=0
2023-09-16 06:32:15.462 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=__Wj7dVSTjV9YGu1guveLyDq0g7S7TfTjaHBTPTpO0kj8__&domain=61&depth=0
2023-09-16 07:02:15.087 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=__Wj7dVSTjV9YGu1guveLyDq0g7S7TfTjaHBTPTpO0kj8__&domain=61&depth=0
2023-09-16 07:32:15.133 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=__Wj7dVSTjV9YGu1guveLyDq0g7S7TfTjaHBTPTpO0kj8__&domain=61&depth=0
2023-09-16 08:32:15.136 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=__Wj7dVSTjV9YGu1guveLyDq0g7S7TfTjaHBTPTpO0kj8__&domain=61&depth=0
2023-09-16 09:17:15.402 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=__Wj7dVSTjV9YGu1guveLyDq0g7S7TfTjaHBTPTpO0kj8__&domain=61&depth=0
2023-09-16 10:02:15.102 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=__Wj7dVSTjV9YGu1guveLyDq0g7S7TfTjaHBTPTpO0kj8__&domain=61&depth=0
2023-09-16 10:32:15.059 ERROR (MainThread) [homeassistant.components.meteo_france] Error requesting Météo-France alert for department 61 data: 502 Server Error: Bad Gateway for url: https://webservice.meteofrance.com/warning/currentphenomenons?token=__Wj7dVSTjV9YGu1guveLyDq0g7S7TfTjaHBTPTpO0kj8__&domain=61&depth=0 Is it the same for other people? |
Hi guys ! Sorry to not help on this for now, I am preparing my wedding (which is very soon), after that I could check weather alerts. Thanks for your understanding. |
@Nardol & other than logs are getting you angry: You can just disable the weather alert sensors and logs should stop immediately ! |
Congrats @Quentame 👍 I'll do what you suggest and what I should have also thought... |
Bonjour, Do you have any news regarding the alert? It seems to be down since April and it's getting badly needed. Tks. |
En attendant des des corrections j'utilise ça https://github.com/MrBartusek/MeteoalarmCard |
Hi, |
Tks for your help: I'm now using Meteoalarm (@jimsaye: merci) and it works fine. |
Fixed by hacf-fr/meteofrance-api#680 will release the API soon and merge to HA |
The problem
Hello,
I noticed that the integrations keeps reporting "Jaune" 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:
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
The text was updated successfully, but these errors were encountered: