[SOLVED] Myopenhab does not show video

Hi there,

My BasicUI is working fine until a few days ago. Now, I can not see any image through MyOpenhab. Through Localhost works fine everything.

I have not changed any item and anything on sitemap. It seems something in myopenhab is not working fine.

Sometimes I get the message: “Offline: waiting for connection to become available” bt in the website appears like ONLINE. Other times I get an APACHE error of the address to my camera, but it is false because I type the address in the explorer and works fine…

How can I Troubleshoot?

First Photo is conected from LOCALHOST and also I tried with a DDNS address opening port JUST TO MAKE SOME TEST to CHECK THAT works fine (after that I will close it). But I cannot use myopenhab if I do not have image. 2 days ago, everything worked fine.

From LocalHost and DDNS:

From MyOpenhab:

Cameras: two DCS-932LB.

ITEM:

    Webview url="http://<IP>/video.cgi" height=16

LOGS:

2018-08-11 12:37:35.347 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = <###>, base URL = http://localhost:8080)

2018-08-11 12:43:53.009 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection

2018-08-11 12:43:53.033 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = <###>, base URL = http://localhost:8080)

2018-08-11 12:44:11.308 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = <###>, base URL = http://localhost:8080)

2018-08-11 13:01:27.321 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection

2018-08-11 13:01:27.346 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = <###>, base URL = http://localhost:8080)

2018-08-11 13:01:45.592 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = <###>, base URL = http://localhost:8080)

AFAIK the video and webview elements do not get passed through the cloud. Have no idea how u got it going but pretty sure you will not get it going as it is not meant to work.

So I can send video with local ip (192.168.2.14/video.cgi) and also with DDNS address as well.

It seems that is a refresh issue in the MYOH, right now is working fine.

Thanks.

Yes ddns is one way if your home server does not have a static public ip. Cloud does not buffer and pass on the data stream.

Video should work fine via myopenhab as long as it’s mjpeg

Anyway, is curious because in the mobile app is working fine but through the website not. Video is in mjpg. The screenshot on the first message is from the Lapotop. Should works, but not, at least through myopenhab.com in the laptop.

I currently have http://IP-local:Port#/video.mjpeg generated by IPCamera.

As the original post, it works fine locally. But remotely accessing via myopenhab will give me blank screen.

I have tried Video Card, several custom widgets from this forum.

I have also tried to add Port Forwarding rule on my router.

Dont revive a 3 year old thread as openhab is now V3 instead of V2 so the information is very different now to back then. I’ll reply in your other thread you opened 19 hours ago…

How to view local Video Card on MyOpenHAB? - Add-ons / Bindings - openHAB Community