- openHABian 3.3.0 on rPi4 with 4GB
I managed (with help fomr the forum; thank you all) to migrate my OH2 set-up to OH3.
It ran in parallel for a couple fo weeks, and is now, since yesterday evening in production.
So far so good…
I used to have DarkSky weather on OH2, and have ow subscribed to the free 5 day forecase. The ting and relevant items are working.
However, since I used this weather stuff only one, I am a bit puzzled (if not lost) on how to get a similar webview I had in OH2.
Firstly, what I had in OH2:
Webview url="/weather?locationId=argyle&layout=ds_argyle&iconset=colorful" height=13
… in this physical location:
Looking like this in the sitemap
What is not clear:
a) why or how did this work? How does the webview link identify the physical location.
b) trying to replicate this OH leads to failure.
I copied the weather directory to the OH3 machine, and created a
owm.html; at least expecting a html file to show.
I have in the sitemap:
Webview url="/weather?layout=owm&iconset=colorful" height=13
which results in:
chaging the sitemap entry to:
Webview url="/weather/layouts/owm.html" height=13
Webview url=“/weather/layouts/owm.html” height=13
Any hints appreciated.
OK, should get the link right…
Webview url="/static/weather/layouts/owm.html" height=13
This is more like it:
Now, what do I need to replace the placeholders with to make OpenWeather data show?