Would really like to get weather data from a local weather station. Its’ website is showing the values in Javascript animations, but I’ve found that if I use “view-source” I get the data in xml format.
Can someone help me with parsing the data to OH items?
statements (numbers depend of alert and level) before “Tomorrow”.
Or, much better, all alerts for Today AND Tomorrow.
Then, for example, if I have alt=“awt:5 level:3”, I would like to collect in a OH item the number 53 (where I will associate a map to describe alert and level).
This is a HTML-code-example you have to check in the rule like my example.
<link>https://www.meteoalarm.eu/ee_EE/0/0/EE002.html</link>
<description><![CDATA[<table border="0" cellspacing="0" cellpadding="3"><tr><th colspan="3" align="left">Today</th></tr><tr><td width="28"><img border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l3-t5.jpg" alt="awt:5 level:3"></td><td><b>From: </b><i>31.07.2018 14:41 CET</i><b> Until: </b><i>01.08.2018 14:41 CET</i></td></tr><tr><td width="28"></td><td>Õhutemperatuuri maksimum sisemaal 30..33°C. Metsades on suur tuleoht!
Maximum air temperature in inland 30..33°C. High risk of forest fire!</td></tr><tr><td width="28"><img border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l2-t8.jpg" alt="awt:8 level:2"></td><td><b>From: </b><i>31.07.2018 14:41 CET</i><b> Until: </b><i>01.08.2018 14:41 CET</i></td></tr><tr><td width="28"></td><td>Õhutemperatuuri maksimum sisemaal 30..33°C. Metsades on suur tuleoht!
Maximum air temperature in inland 30..33°C. High risk of forest fire!</td></tr><tr><th colspan="3" align="left"><br />Tomorrow</th></tr><tr><td width="28"><img border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l3-t5.jpg" alt="awt:5 level:3"></td><td><b>From: </b><i>31.07.2018 14:41 CET</i><b> Until: </b><i>01.08.2018 14:41 CET</i></td></tr><tr><td width="28"></td><td>Õhutemperatuuri maksimum sisemaal 30..33°C. Metsades on suur tuleoht!
Maximum air temperature in inland 30..33°C. High risk of forest fire!</td></tr><tr><td width="28"><img border="1" src="https://www.meteoalarm.eu/documents/rss/wflag-l2-t8.jpg" alt="awt:8 level:2"></td><td><b>From: </b><i>31.07.2018 14:41 CET</i><b> Until: </b><i>01.08.2018 14:41 CET</i></td></tr><tr><td width="28"></td><td>Õhutemperatuuri maksimum sisemaal 30..33°C. Metsades on suur tuleoht!
Maximum air temperature in inland 30..33°C. High risk of forest fire!</td></tr></table>]]></description>
<pubDate>Tue, 31 Jul 2018 12:41:11 +0200</pubDate>
String s "s[%s]" {http="<[https://www.scanmatic.no/vaeret-i-kilsund/:60000:REGEX(.*)]"}
2018-07-31 14:23:58.971 [INFO ] [.internal.RegExTransformationService] - the given regular expression '^.*$' doesn't contain a group. No content will be extracted and returned!