jack-blackson / ioBroker.meteoalarm

Meteoalarm.eu Adapter for ioBroker
MIT License
6 stars 3 forks source link

Seems alarm for Switzerland no longer working since a while #180

Closed memberxx closed 6 months ago

memberxx commented 10 months ago

Log info:

2.1: Atom URL https://feeds.meteoalarm.org/feeds/meteoalarm-legacy-atom-switzerland not available - error Error: socket hang up

jack-blackson commented 10 months ago

Hello!

Do you get this error message constantly? Have you tried to restart iobroker? What location in switzerland are you using?

Please also add the adapter version!

memberxx commented 10 months ago

Hello!

Do you get this error message constantly? Have you tried to restart iobroker? What location in switzerland are you using?

Please also add the adapter version!

I restarted the Meteoalarm instance, used several ones, last where it should have a warning right now region Goldau

jack-blackson commented 10 months ago

I will keep an eye on that, but I could not see a warning this point of time on https://meteoalarm.org/ - this is where I get the data from. So it would be good to please check next time when you think there should be a warning if you could see it on meteoalarm.orghttp://meteoalarm.org/, and let me then know.

Thanks!

memberxx commented 10 months ago

I was in contact to Meteoalarm that day, they fixed an issue not sending out Swiss alerts, but I still do not get any alarm.

e.g. Region below is having an alarm right now

Snow or Ice Einsiedeln-Wägital

But nothing showing up in the instance/object for this region, seems same for all other Swiss regions I tried, it works fine with all other countries e.g. Germany, Italy

jack-blackson commented 10 months ago

Hey! I just checked that, and I think I know where the problem is. Normally, all countries report the alarms via the geocode - these are regions. But there is also the possibility to report it by something like coordinates - and at the moment I am not able to handle that, as I can't map from Geocode to these coordinates. I will have a look at that.

memberxx commented 10 months ago

But it worked until around the day I reported it here. Or was that change to region?

memberxx commented 10 months ago

Hey! I just checked that, and I think I know where the problem is. Normally, all countries report the alarms via the geocode - these are regions. But there is also the possibility to report it by something like coordinates - and at the moment I am not able to handle that, as I can't map from Geocode to these coordinates. I will have a look at that.

Did you have time to figure something out already maybe? thx in advance

locito09 commented 10 months ago

I have the same problem in the Steckborn region, The last report was in August

locito09 commented 8 months ago

Something new?

jack-blackson commented 8 months ago

Unfortunatly not. I contacted the meteoalarm team to see what we can do here. At the moment, I have no clue how to gain the polygon information and parse it with the warnings.

memberxx commented 8 months ago

Unfortunatly not. I contacted the meteoalarm team to see what we can do here. At the moment, I have no clue how to gain the polygon information and parse it with the warnings.

Wondering what changed. Swiss was always using those regions, it was working for some time and just stopped.

jack-blackson commented 8 months ago

Quick update, I got the information that countries are switching more and more to polygon data instead of the regions. I think I have a way to handle that, and am already starting to implement it. I hope to have the first test version in the next 2-3 weeks.

memberxx commented 8 months ago

Wow sounds great. Thx a lot for your effort

jack-blackson commented 8 months ago

The new version is so far done, but "unfortunatly" I have to wait for bad weather in Switzerland to do a final test. As soon as I can see a warning there, I will check if it works, and then publish the new version.

locito09 commented 8 months ago

Danke für deine arbeit, wenn du möchtest kann ich auch testen

memberxx commented 8 months ago

great news, will keep an eye on it once warnings appear. big thank you already

memberxx commented 8 months ago

There´s one more thing I quite often recognize. When I change the region it very very often does not update the region and stays same in objects. Not even stop and restart the instance changes anything.

memberxx commented 8 months ago

Btw there are some alerts in CH now, but seems it doesn't send any warning e.g. for Muotathal region

https://meteoalarm.org/en/live/warning/977bd6ad-a886-46c5-a1c3-16283b23d579/ffa5383b-84a7-4a9a-9eb3-ce41cd122bb6#list

jack-blackson commented 8 months ago

Unfortunately I can not test it today. If you want to give it a try, please install version 3.0.0 via this link (with the GitHub symbol in iobroker“: https://github.com/jack-blackson/ioBroker.meteoalarm/tarball/v3.0.0. As a warning, this is an early version, so there could occur problems. Would be happy to hear your feedback

Am 09.02.2024 um 07:12 schrieb memberxx @.***>:

Btw there are some alerts in CH now, but seems it doesn't send any warning e.g. for Muotathal region

https://meteoalarm.org/en/live/warning/977bd6ad-a886-46c5-a1c3-16283b23d579/ffa5383b-84a7-4a9a-9eb3-ce41cd122bb6#list

— Reply to this email directly, view it on GitHubhttps://github.com/jack-blackson/ioBroker.meteoalarm/issues/180#issuecomment-1935387926, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADKUAUQZZKOY6YR2I6SNIPTYSW44LAVCNFSM6AAAAAA7NZW5EKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZVGM4DOOJSGY. You are receiving this because you commented.Message ID: @.***>

memberxx commented 7 months ago

I loaded the version and added the location via coordinates, but seems it still shows no alert, although meteoalarm shows a yellow alert for the region

Gale force wind

jack-blackson commented 7 months ago

Thank you. I think I found the issue - but have to wait again for bad weather, unfortunatly I can just test with live data.

memberxx commented 7 months ago

Now there are some

https://meteoalarm.org/en/live/warning/9984a5ad-271a-4834-a0ef-a8a12a4eb089/1308447f-6db4-4803-866e-2d01f453628e#list

jack-blackson commented 7 months ago

Hey! Thanks for letting me know. I did some fixes, now it works for me. Can you please give it a try? Just update the version again with the link above.

memberxx commented 7 months ago

Do I need to update/reload anything? For me it shows no warning although there is one for the region I put in?

memberxx commented 7 months ago

install from URL right?

$ iobroker url https://github.com/jack-blackson/ioBroker.meteoalarm/tarball/v3.0.0. --host ioBrokerCUSTOM-copy --debug install jack-blackson/ioBroker.meteoalarm#v3.0.0. Installing jack-blackson/ioBroker.meteoalarm#v3.0.0.... (System call) npm ERR! command git --no-replace-objects checkout v3.0.0.npm ERR! error: pathspec 'v3.0.0.' did not match any file(s) known to git npm ERR! A complete log of this run can be found in: /opt/iobroker/.npm/_logs/2024-02-19T19_21_18_626Z-debug-0.log host.ioBrokerCUSTOM-copy Cannot install jack-blackson/ioBroker.meteoalarm#v3.0.0.: 1 ERROR: Process exited with code 25

jack-blackson commented 7 months ago

I use "Benutzerdefiniert" - and then with the URL above. image

memberxx commented 7 months ago

sorry, copied a . at the end

seems working now, will keep an eye on it for the next time. much appreciated, thx for your work already.

jack-blackson commented 6 months ago

Released new version to stable - issue should be solved.