I use sitemaps a lot and was looking for a way of adding widgets to the sitemap.
I’m pretty sure this can be done by using the sitemap element: Webview. So the plan would be to make a widget and add in to a page in OH3 GUI then add something like the following line to my sitemap definition so it can be accessed locally and remotely.
You can use an openHAB Cloud (opens new window) instance to which openHAB creates a tunnel connection and which forwards all requests through this tunnel. openHAB will see these incoming requests as originating from the local loopback interface.
I have created a mainui page with only one widget and integrated it into the sitemap via webview.
In the webview I didn’t have to enter my login data. The page opens just like that without credentials.
But I use it only in my local network or with vpn. I don’t use openhab cloud.
Greets