I have created some html Widgets for my default sitemap, working great in local network using PC browser or OH iOS/iPadOS App.
But as soon as I leave my network, OH App automatically switches to cloud access using https://myopenhab.org the html frames stay either white/black or maybe shows a cached html framework without live data.
I tried everything, relative paths ("/static/xxx.html), openhab.local/static/xxx.html, openhab.FQDN/static/xxx.html. I tried even https://home.myopenhab.org/static/xxx.html … the latter has given “Unauthorized” due missing logon possibility and local PC Browser des immediately ask for myopenhab.org credentials in Sitemap, so nothing anybody wants to have …
I remained now on relative paths “/static/xxx.html”, because that way I can at least see my sitemap as designed called inside OH App using cloud connection => Burger Menu => "Basic UI". But that requires myopenhab.org logon every app start … basically nothing else than a nasty workaround.
I can access my widgets using https://myopenhab.org/static/xxx.html after providing my credentials.
So, OH App does resolve the embedded html widgets (paths) differently to Basic UI, making it unusable for that valid approach. Why? What’s the secret?
Cheers
PS: openHABian (bookworm) on RPi4 running OH5.1.4, iOS App latest version given by automatic updates …
Yeah, well, kind of dilemma, my main iPhone will never see any Beta App …
Nevertheless I tested on my spare iPhone and iPad with relativ paths and Testdrive OH Beta, all Widgets are shown perfectly using relative paths locally & cloud connected, what is IMHO the technical correct way. Perfect
Due to my main device, I reverted back to working with absolut https://openhab.local:8443 until this change ends in a regular app release. That was a perfect retrospective test, Testflight OH app doesn’t show widgets again with the absolut paths
What has been little irritating, Testflight OH App shows different indicators, where it is conencted to actually. Irritating that way its shows always Home and just change Icon on the left …
This now shows the name of the active home - in your case Home - with the icon indicating local or remote connection. You can edit your home name in Manage Homes. This is clearer than the previously shown ambiguous IP addresses, which could actually be identical for multiple homes