How to add camera URL?

Hi, I would like to say how add camera, see below:

Mz8ycZFZbebnZLpgakd0Xp2.png)

How add MJPEG URL in widget thinger.io?

Hi,

Just… add the link?

Note that the thinger.io server should be able to reach that destiny, as example, if you have your camera into your local area network, those devices are not reachables by default from internet, you need to setup your router to redirect that request to the specific device, this assuming that your router gets public certified IP address, some ISP does not give that to end customers without request and additional charge in some cases.

Hope this help.

Yes, only add link, but I use the webcam of my notebook for use in this case, I add URL created with https://192.168.0.1:80 but not appears the camera. How I use webcam in thinger.IO?

Or I need have an DVR for use the local network and camera?

I can transmit a URL from some site that has remote monitoring?

And I use the ESP32 for my aplication.

Hi,

As you did not provide any further detail about your particular case, nor what you want to do, nor what have you done, nor what is your current state, nor what you can and cannot do, you just asked how to add a camera, I answered adding the link, adding the link is the way.

Even I trying to help you with that lack of details, I suggested what you need to check if you was trying to reach some device into your local network (and looking the link you wrote, I was right), did you check my suggestions regarding this?

I recommend you to take your time documenting as much as possible about your particular case, particularly I haven’t find an appropriate crystal ball to guess accurately what are you seeing/doing/thinking/know to help you achieve your goals, because rigth now I dont understand pretty much, you say that you are using your notebook camera and using an ESP32??? Help us to help you.

Here I left you an example of how the widget works:
https://console.thinger.io/#!/dashboards/MJPEG_Test?authorization=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJEYXNoYm9hcmRfTUpQRUdfVGVzdCIsInVzciI6ImVnYSJ9._TDXeUphTn0HankgfXcTACjb9cz5UyeRDCSdFBAAYII

Here is the link used in the widget:
http://81.8.143.33/mjpg/video.mjpg

Hope this helps.

Hi, if you are using a link like http://192.168.0.1:80 to see your MJPEG stream, this server is probably serving an index.html file with an embedded <img src=..., so, just inspect the web page source code, and copy the src field from the webpage to the widget.

So can you explain about img src?

I use http://81.8.143.33/mjpg/video.mjpg in widget but the video streaming not work.
I need have an DVR?
The camera need use port any port of ESP32 and configure, for example:

thing[“ESP32CAM”] >> [](pson& out){
out = “https://81.8.143.33/mjpg/video.mjpg”;
};

I’m trying to fix the problem about this function.

Thancks a lot.

I think the problem is mixing secure content with insecure content i.e., accessing the console over https:// and the camera with http://… try with https://81.8.143.33/mjpg/video.mjpg on the URL.

It is working here: https://console.thinger.io/#!/dashboards/asdfas?authorization=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJEYXNoYm9hcmRfYXNkZmFzIiwidXNyIjoiYWx2YXJvbGIifQ.ujR7yWNxyDSKMWC8eG1pjfjJuCddsb11purYpxyRxrk

(If it does not work, you may need to open the first link separately and tell the browser that you trust the URL, as it does not have a valid SSL certificate on it).

Hi

The link works, check it the dashboard I shared, you need to add it into the video widget, not as a device’s resource, I shared the video link to show you an example of the link you need to put into the widget.

I recommend you to explain specifically what you want to do, because you say that you are using the video from your notebook, and then you put the example link as a device resource???

If you want to stream the video served by the webcam of your laptop, this is not so intuitive to be done, the remote server has no natural way to reach your laptop with an 192.168.x.x address.

Explain what you want to do, because at least I have no clue what is it, help us to help you.

Hi,

Note that at first sight he is trying to stream the notebook webcam (or that is what I understood), in his LAN (192.168.x.x address), there is no way that it can be done if there are no route from the internet server to reach this streaming server.

I gave up on using a webcam for this application. I’m trying again with the DVR and share the video in widget thinger.io.

I would like to share video streaming and localization in real time, it’s possible make this aplication?

Hi,

It is the same situation, you need to ensure that the cloud server can reach the DVR, the example given works because that link provides access from the Internet to the video source, you can use the webcam, DVR, TV camera or whatever If you do not guarantee that the source can be accessed from the Internet, it will not work.

Yes, you may share a location and a video in the same dashboard, check this, is the video exposed previously and a random fixed location, this location can be updated from a native protocol device, by MQTT or by the HTTP API.

https://console.thinger.io/#!/dashboards/MJPEG_Test?authorization=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJEYXNoYm9hcmRfTUpQRUdfVGVzdCIsInVzciI6ImVnYSJ9._TDXeUphTn0HankgfXcTACjb9cz5UyeRDCSdFBAAYII

So, look at the situation, open the link here and see what appears?

Do I have any other settings to make to show the camera?