[SOLVED] OpenHAB Log Viewer (Port 9001) not working in Cloud

Tags: #<Tag:0x00007f5c925338d8>

Why isn’t the log viewer functionality which is running on port 9001 not usuable with myopenhab.org?
Is there a way to get it into the Cloud?
Absolute no problem with all other functions on port 8080.

You can use a Webview in your sitemap pointing to a custom html page in your html folder
This webpage then redirects to fronttail:

Sitemap:

Webview url="/static/frontail.html"

frontail.html

<!DOCTYPE html>
<html>
<body>
<iframe src="http://openhabIP:9001"></iframe> 
<body>

Thanks vincent, will try it at home! :slight_smile:

How can I change the size of this webview?

See the sitemap docs

Youre right, thanks

Please mark the thread as solved.
Thanks

Hey vincent,
sitemap doc shows how to change the height of the item, but I think I need to configure something in the html.
Do you know how I can get my static Logviewer Webviws formatted properly?
.sitemap:

Webview url="/static/frontail.html" height=20

image

I get only frame like this http://prntscr.com/psg4zx
I set the local (192.168.x.x) IP of openhabian http://openhabIP:9001 is it right?

I did it like that, but it’s not accessible from cloud or missed I something?

Br Peter

Hi All . i am also trying to ad the log view to my site map. but seems not to work.

html file :

<!DOCTYPE html>
<html>
<body>
<iframe src="http://192.168.1.5:9001"></iframe> 
<body>

Sitemap :

Frame label="Logview"{ 
      Webview url="/etc/openhab2/html/frontail.html" height=20

it is a openhabian install on a laptop with ubuntu.
openhab ver 2.5.5

Screen shot

not sure what is going on