Page 1 of 1
EU weather alerts
Posted: Monday 14 November 2016 16:19
by korniza
There is an app on samsung mobiles that is called Geo news. it gets alerts for extreme weather or earthquakes on mobile device and can send SMS to configured contacts.
I tried to get it fixed for domoticz. I found the following site that provides for EU weather warnings. The only problem is that I am not a coder.
SO if someone try to build it please take a look on
http://www.meteoalarm.eu/ .
I suppose most people here are from EU countries.
Re: EU weather alerts
Posted: Monday 14 November 2016 16:22
by korniza
If someone also have found a way to get earthquake status according to location, can also share it ?
I like the idea to get "Geo News" and a button that can send notifications "I am OK" or "Please call help"
Re: EU weather alerts
Posted: Monday 14 November 2016 16:34
by Westcott
Interesting site.
At a quick glance I can't see any form of output.
I have added my local area's RSS feed to my reader.
Re: EU weather alerts
Posted: Monday 14 November 2016 16:36
by korniza
OK! the previous was a light search! Now the real thing!!!!!
http://www.gdacs.org/monitor.aspx
How we can use rss feeds and search them using lua?!??!
On the following feed there are geopoints that are GLOBAL so we can build a nice addon for domoticz.
Code: Select all
<geo:Point>
<geo:lat>-42.2956</geo:lat>
<geo:long>173.7102</geo:long>
http://www.gdacs.org/xml/rss.xml
Re: EU weather alerts
Posted: Monday 14 November 2016 16:57
by Westcott
Someone could try a Lua XML reader to see if these feeds can be read.
Perhaps a Python or similar script already exists for RSS and could push data to Domoticz
Re: EU weather alerts
Posted: Monday 14 November 2016 17:04
by korniza
I thought so. But I like something more combined with domoticz. I like to get the gps coordinates from domoticz and compare them with the feed.
suppose
https://github.com/slact/lua-feedparser is a good start