xlcnd / meteoalarmeu

A 'custom component' for Home-Assistant for Weather Warnings from meteoalarm.eu
GNU General Public License v3.0
20 stars 3 forks source link

Meteoalarm.eu has moved to https://meteoalarm.org #23

Open TheLordVader opened 3 years ago

TheLordVader commented 3 years ago

Meteoalarm has moved to https://meteoalarm.org –The old system (meteoalarm.eu) will retire on 31 May 2021.

Warnings from Sweden dosen't work with old site anymore, I guess more users will encount the same problem.

See banner at startpage on Meteoalarm.eu

Best regards Anders

xlcnd commented 3 years ago

Hi,

Bad news! They changed the rss api too, in a way that, at first sight, is not usable anymore... anyway an extensive rewritten of the underlying library and component is needed and I don't have the time for now!

Thanks

TheLordVader commented 3 years ago

Yes, it's really bad news. Hope you will fix it in the future though. Thanks!

sgofferj commented 3 years ago

Feeds are now at https://feeds.meteoalarm.org/

xlcnd commented 3 years ago

Yes I know, but the structure and calls are different so that an extensive rewrite of meteoalarm-rssapiis needed...

sgofferj commented 3 years ago

There appears to be a Python library for parsing the CAP protocol... https://github.com/kelvinn/capparselib

xlcnd commented 3 years ago

The rss feeds don't use CAPS, only the ATOM ones. Thanks anyway.

sgofferj commented 3 years ago

I think, the rss feeds might go away at some point. I'm a bit of a weather nut and CAP seems to be the thing everybody uses worldwide. The protocol was designed to be universal, not only for weather. Unfortunately, I don't speak any Python, otherwise I would look into your extension.

xlcnd commented 3 years ago

What lead me to write a custom component that uses rss feeds was that many countries stopped to produce ATOM feeds!

By the way, there is an official integration that uses ATOM feeds.

sgofferj commented 3 years ago

Interesting! Yeah, I know the official integration. Yours is way better because it provides all currently active warnings at the same time including their various languages (Finland e.g. delivers warnings in English, Finnish and Swedish), separated also by today and tomorrow. The official integration seems to only provide the last warning received.

xlcnd commented 3 years ago

Despite being only available for a few countries, I didn't like the way the official integration was working too. However they promise a lot of improvements for the next HA release. Let's see!

For now I don't have the time to make the component work again, but who knows in the future...

DubhAd commented 3 years ago

If it doesn't work, and won't work in the near future, could you request removal from HACS then please. That avoids people being surprised when it doesn't work.

xlcnd commented 3 years ago

People will be surprised only if don't read the warning message! Anyway, it was removed!