Switch to desktop version  
Display multiple cameras with ViewON - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Custom Web Pages/viewON/Talk2M Visualization (https://techforum.ewon.biz/forum-55.html)
+--- Thread: Display multiple cameras with ViewON (/thread-1197.html)



Display multiple cameras with ViewON - Baplu Sam - 03-03-2020

Hi everyone,

I'm trying to cycle images from different cameras and make it so if an alarm comes up the view changes to the camera where the alarm is present.
For this project I'm using an eWON Flexy 205 that is connected to the cameras. (For now I don't have a connection because the cameras still have to arrive)
I'm also using the "Pluto Live Report" software and was wondering if I could use this for the cameras.

As a second solution I was thinking of using the "viewON" software. I did some research and found a possible solution.
I would place a image on my view that would be replaced by the live image of the cameras every second.
Now I'm not sure if the code I used will work. (see image below)

Kind reguards,

Sam


RE: Display multiple cameras with ViewON - simon - 04-03-2020

Hi Sam,

Yes, your viewON code can work. But it also depends on the model/brand of camera you use.

Regarding Pluto, I have no idea, you should better ask the Pluto support.

Simon


RE: Display multiple cameras with ViewON - Baplu Sam - 04-03-2020

Hi Simon,

thanks for the quick respons and check on my code.

I was told it was possible in Pluto but then I had to make it so that I only took snapshots off the camera that would refresh every "time period" (so not a continuous live stream). 
Now I'm searching for a program or easy way to accomplish this. Do you have any idea?
Also which camera do you propose. It is just for a test environment.

Kind regards,

Sam


RE: Display multiple cameras with ViewON - simon - 05-03-2020

Hi Sam,

If Pluto has to connect to the camera through the Ewon and Talk2M, it is normal that Pluto cannot see camera live stream.
Most likely, Pluto is using our Rest API (M2Web API) to download the snapshot of your camera and getting the stream is not possible.
Also, be aware that using Talk2M to display permanent live streaming is not a good idea as you have some traffic limit in your account (1GB/month for Free+, 6 GB (and more)/month for Pro)

Regarding the cameras, Axis is a good one (not super cheap but good quality). You can get the Motion Jpeg live stream very easily (not need to use snapshot).

Simon


RE: Display multiple cameras with ViewON - Baplu Sam - 06-03-2020

Hi Simon,

Thanks for the tip, the cameras where indeed al little to expensive for a simple testing setup. 

Since the quality off the camera isn't a priority, I would like to know if the camera needs any specific properties?
Accept from the usage of plugin like ActiveX, Flash, JAVA applet...

I also wanted to ask if the coding would still work if the camera's where connected to different eWON's that where placed in different locations. (Like in the picture)

kind regards,

Sam


RE: Display multiple cameras with ViewON - simon - 09-03-2020

Hi Sam,

If you intend to use an M2Web connection (https://m2web.talk2m.com) to view these dahsboards, the cameras MUST only support MotionJpg (ActiveX, Flash, Java... does not work over M2Web. With a eCatcher connection there is no problem - but you can connect to one Ewon at a time in this case).

Regarding the different location, this may work but only through M2Web for the reasons I explained above.

So in your dashboard, you can call
https://m2web.talk2m.com/AccountName/EwonName1/proxy/192.168.2.5/mjpg/video.mjpeg
https://m2web.talk2m.com/AccountName/EwonName2/proxy/192.168.2.5/mjpg/video.mjpeg
...

Simon


RE: Display multiple cameras with ViewON - Baplu Sam - 10-03-2020

Hi Simon,

thanks this will help for sure. I just noticed that you can monitor a bitmap image from an external URL in Pluto.
Do you think it is possible to create a website that would run my code from above (or something that would accomplish the same)?
Or could I use the URL from the API directly?

The solution I was thinking of is to display each camera separately and let the Pluto reports cycle. (could I use the API or do I have to use a snapshot)
But than I would not be able to stop the cycle when an alarm activates.

Kind regards,

Sam


RE: Display multiple cameras with ViewON - Baplu Sam - 27-03-2020

Hi Simon,

The camera finally arrived and I connected with my eWON Flexy.
I can acces the camera via its IP adress and can generate a snapshot by searching the following link.
http://192.168.0.150/image/jpeg.cgi (this only works in internet explorer because of the camera)

But when I try and take a snapshot via the M2Web It won't connect to the camera. 
I only get the message:"Unauthorized access to LAN device" (as seen in the picture)
Link: https://m2web.talk2m.com/Sam%20Baplu/Ewon_Tank1/proxy/192.168.0.150/mjpg/video.mjpeg


Kind reguards 

Sam


RE: Display multiple cameras with ViewON - simon - 30-03-2020

Hi,

Why the M2Web link you provide "https://m2web.talk2m.com/Sam%20Baplu/Ewon_Tank1/proxy/192.168.0.150/mjpg/video.mjpeg" is not
"https://m2web.talk2m.com/Sam%20Baplu/Ewon_Tank1/proxy/192.168.0.150/image/jpeg.cgi" ?

To me, it should theoretically work.

Simon


RE: Display multiple cameras with ViewON - Baplu Sam - 30-03-2020

(30-03-2020, 01:29 PM)simon Wrote: Hi,

Why the M2Web link you provide "https://m2web.talk2m.com/Sam%20Baplu/Ewon_Tank1/proxy/192.168.0.150/mjpg/video.mjpeg" is not
"https://m2web.talk2m.com/Sam%20Baplu/Ewon_Tank1/proxy/192.168.0.150/image/jpeg.cgi" ?

To me, it should theoretically work.

Simon

Hi Simon,

The link should indeed be: "https://m2web.talk2m.com/Sam%20Baplu/Ewon_Tank1/proxy/192.168.0.150/image/jpeg.cgi".

But I still have authorization problems. (Just like in the picture "camera snapshot_M2web.png")
Is there any way to add the log in of my camera to the URL? (username and password)

Kind reguards,

Sam