Good Weather widget with external URL for BasicUI webview?

Hey that’s a cool idea

You can use darksky widgets if you want you just need to create your own static webpage.

ok
In the HTML folder in openhab create a file

weather.html

<html>
<script type='text/javascript' src='https://darksky.net/widget/default/42.360082,-71.05888/us12/en.js?height=500&title=Full Forecast&textColor=333333&bgColor=FFFFFF&skyColor=333&fontFamily=Default&units=us&htColor=333333&ltColor=C7C7C7&displaySum=yes&displayHeader=yes'></script>
</html>

You can use your own script you configure on dark sky

Then in your sitemap

Webview url="http://openhabianpi:8080/static/weather.html"

I use openhabian on pi but you can put your ip in.

I use OpenWeatherMap binding for my weather info.

1 Like