Only hoping for input…
I have a website (below) that provides WM(T)S parameters which I would like to use in a list/helper
As this content changes over time, I would not want to just manually copy that…
Has anyone exprience in this? Is it ‘just’ scraping and templating ?
I assume you’re looking for the data from the GET links on the page? If you use GET the response will be in xml. From there it needs to be parsed. I use node red and I don’t know how to do this in HA. It’s fairly simple in NR.
Ex. this link appears to be the same wtms data shown at the bottom of the page.
So now I only need to list them and put then in a helper…the latter I found some code for.
Node red has been put aside 1+ y ago when HA automation became more powerful (for my needs) but I will find a way …again, thanks!
Yeah… and since I need to get all elements out that start with <ows: … I think I will have to use a python script… or xquery but that is not installed in HA
It’s not exactly the same list as on the website: “Besoin chaleur industriel” doesn’t appear on the site. It should give you enough to get started though.