Hello,
when i add an webview item on the following way to my sitemap:
Webview url=“http://192.168.1.24/index.html ” height=16
Webview url=“http://www.buienradar.nl ” height=16
Webview url=“http://static/index.html ” height=16
Webview url=“https://my.openhab.org/static/index.html ” height=16
then from within my openhab (https://my.openhab.org/openhab.app?sitemap=demo )
or from within android, i do not see my webview item, and get the message unauthorized.
in my openhab it is fully blank and in android is says page is not available
Apples IOS is working fine by the way.
I think it has to do something with proxy.
is there any workaround ? Pleaseee tell me i’m totally stuck right now…
smar
(-)
September 16, 2015, 8:54am
2
Did you find a solution to this?
no… still having this issue…
smar
(-)
October 4, 2015, 8:27pm
5
That’s unfortunate! I was hoping there would be a simple solution to this.
Maybe in the next version i hope…
because i like to have a rain radar attached
ashubhatt
(Ashutosh)
November 10, 2015, 6:47am
7
Try enabling the authentication.
It will work in Browser.
Did anyone find a solution for this?
I also face the same issue and it doesn’t work either with authentication or without
Not if you use my openhab
Well this also exist with OH2 also?
Do you suggest that then port forwrding makes more sense then instead of My.openhab?
But the weired thing is even locally it doesn’t work!
I have my sitemap configured as below:
Webview url="…/static/trackmap.html"
where this is a local page showing google map with my phone’s location.
When i add the full url (http://x.x.x.x:8080/static/trackmap.html ) the page is also not loaded locally at all on HABdroid (white page), but through the browser works fine, and remotely works without loading the icons, images inside the page!
I got lost about what is correct and how to configure it
jcid1
(Jay)
February 9, 2017, 6:49pm
11
needs to be full URL… ie: http://…
sujitrp
(sujit)
June 11, 2018, 2:11pm
12
I am trying https:// user and those are not working with webview. any trick to make it work ?
jcid1
(Jay)
June 11, 2018, 2:19pm
13
Has to be a http:// address. WebSocket dont easily support https:// SSL.
sujitrp
(sujit)
June 12, 2018, 1:15pm
14
Now I am using following tutorial for web view . Local page in II frame + etc/confg/html folder approach.
I’ve been experimenting with iFrames for the Grafana persisted data and thought i’d have a look at options for a nice weather gui as well. The benefit of an iframe is that there can be a level of interactivity within the frame; dynamically loading/modifying content/icons etc.
As luck would have it, there are a number of providers out there who have some nice looking widgets available and they are easily able to be implemented into a webview item via an html file.
MeteoBlue - https://www.meteob…
It is working only on browser & Android app in LAN … I am using windows 10 PC with chrome browser .
Using mobile Android app & browser on WAN it is not working .
with Android mobile app i am getting following error while using webview element -in Openhab Log :
[io.openhabcloud.internal.CloudClient] - Jetty request 3026583 failed: null
It looks some issue on myopenhab.org to load the web page from static