directly from the source:
view-source:undefined
this is an example with 2 alerts. As you know, Wunderground is not publishing alerts data anymore, so I need to find another way.
Idea is to parse directly the html, find the right words (Alert/Level), and in case of multiple alerts put the output in array and put in OH items.
I should use also the RSS … maybe easier. We have also today and tomorrow in the same page:
In this case I should try to find:
- “Today”
- “awt:1 level:2” → that means alert 1 level 2
… - “Tomorrow”
…
any suggestion?
Andrea