I wanted to ask if someone as coming across a good weather widget for BasicUI. The reason I’m asking for a widget and not want to implement it via a binding and route its information to a local formatted html file is, that I want to acess this widget via openhabcloud. And therefore the easiest way is to use a weather widget from an external website.
I looked at the https://darksky.net/widgets which are nicely configurable, but I unfortunately don’t get a static URL out of it. Other websites offer widget, bu they embedded it with scripting (java), which is not useable as I want to use the webview element on the sitemap directing to an external website.
So does anyone know of a good weather widget, which might be configurable and has a direct static link as output?
Hey that’s a cool idea
You can use darksky widgets if you want you just need to create your own static webpage.
In the HTML folder in openhab create a file
You can use your own script you configure on dark sky
Then in your sitemap
I use openhabian on pi but you can put your ip in.
I use OpenWeatherMap binding for my weather info.
thanks for the tip. Unfortunately this doesn’t work remotley via myopenhab, as html are not getting proxied. I need a direct URL unfortunately so that I can put it directly in the webview url.
Are you using an nginx reverse proxy? If so, you can configure it it serve the page.
no, unfortunately not - I’m using the myopenhab service. I’m currently having my own html widget via the binding running and make an image out of it on a regular basis for display. But as you can imagine, this is not the best way to go