Text item=Temperature_SmokeDetector_Floor_GroundFloor
Text item=Temperature_SmokeDetector_Entrance_Attic
Text item=Temperature_SmokeDetector_Bedroom_Attic
Text item=Temperature_SmokeDetector_Kids_Attic
Text item=Temperature_SmokeDetector_LivingRoom_GroundFloor
Text item=Temperature_SmokeDetector_LivingRoom_FirstFloor
Text item=Temperature_SmokeDetector_Entrance_FirstFloor
Text item=Temperature_SmokeDetector_BedRoom_FirstFloor
Text item=Temperature_GroundFloor_Dining
Webview url="http://openhabianpi:3000/d/ioB0_uWgk/raumtemperatur?edit&orgId=1&kiosk&theme=light&from=now-30d&to=now" height=11
When I look for the properties of this icon, it shows me:
Any ideas?
This wasn’t the case with OH 2.3…so something might have been changed or I am using the webview item the wrong way?
Label and icon were added to the webview widget. They were considered as missing.
So adding icon=none for example in your sitemap should probably solve the not found error.
Do you mean add icon=none at “Configure Basic UI”? as I only have iconType, I change the value to none at advance mode and add icon=none as well, but issue still remain? any idea? when first load to page will have broken img icon, reload will invisible.
at browser console still able found 404 warn
I also found that chart come with a line it only will dispear when chart have 3 or more in one page then last chart won’t have a line
I am not sure if this issue is really solved. The fact that now an icon is being shown does not make sense to me. A webview is typically different from a simple data item, it typically includes a larger web element. It should be possible to completely disable the rendering of an icon. For example, when one only links to a URL and not to an item, then no icon should be shown. Is there a way to accomplish this?
Well, I tried a transparent icon with 64x1 size, yet while this makes the visual icon disappear, the empty line for the icon still persists. Is there any way to also get rid of this empty line?
The height of the webview item refers to the whole thing, not to the one line that I am trying to get rid of. If I would set it to height=1 then I would only see the empty line, and nothing of the embedded web elements.
Just found this https://github.com/eclipse/smarthome/issues/6640 while looking around for this behaviour. To me it’s actually a bug that should be fixed since it made the behaviour worse compared to before.
I’m migrating from 2.1 to 2.4 and after the time consuming migration from KNX1 to KNX2, i’am also struggeling with this empty line in webviews.
Any ideas how to solve this?
Would it maybe even work to to produce an additional html document with just these scripts and to include this in addition to any webview one already has? Then the change would only be an additional (yet invisible) webview per hierarchy level in the sitemap that has a webview in it, one would not have to mess with the existing html pages (some of which may not even be under our control). I have not tried this yet since I do not have the time, but this may be an idea … (I’ll try it later)