Ewon TechForum
Providing technical solutions to technical requests


Display multiple cameras with ViewON
Baplu Sam Offline
Junior Member
#1
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


Attached Files
.png   Javascript cycleing camera_No Alarms.PNG (Size: 37,48 KB / Downloads: 21)
.png   Javascript cycling camera_Alarm selection.PNG (Size: 39,03 KB / Downloads: 16)
Reply

simon Offline
eWON Support
#2
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
Reply

Baplu Sam Offline
Junior Member
#3
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
Reply

simon Offline
eWON Support
#4
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
Reply

Baplu Sam Offline
Junior Member
#5
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


Attached Files
.png   Setup eWON's.png (Size: 46,1 KB / Downloads: 8)
Reply

simon Offline
eWON Support
#6
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/Ewo...ideo.mjpeg
https://m2web.talk2m.com/AccountName/Ewo...ideo.mjpeg
...

Simon
Reply

Baplu Sam Offline
Junior Member
#7
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
Reply

Baplu Sam Offline
Junior Member
#8
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/Ewo...ideo.mjpeg


Kind reguards 

Sam


Attached Files
.png   camera snapshot_M2web.png (Size: 103,29 KB / Downloads: 6)
.png   camera snapshot_DLink URL.png (Size: 144,86 KB / Downloads: 4)
Reply

simon Offline
eWON Support
#9
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
Reply

Baplu Sam Offline
Junior Member
#10
(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
Reply



Possibly Related Threads…
  Viewon Started by insyncs
12 Replies - 2.193 Views
26-06-2020, 01:20 PM
Last Post: insyncs
15-06-2020, 07:34 PM
Last Post: Manish Choudhari
04-06-2020, 02:29 PM
Last Post: simon
29-05-2020, 04:48 PM
Last Post: simon
22-04-2020, 08:19 AM
Last Post: Jean-Yves
10-04-2020, 01:11 PM
Last Post: Jean-Yves
Photo Viewon Page Forbidden Started by Jon
0 Replies - 212 Views
03-04-2020, 09:48 PM
Last Post: Jon
01-04-2020, 08:32 PM
Last Post: mikeniemann
19-03-2020, 10:09 AM
Last Post: simon
  Viewon authentication Started by oliviersav
1 Replies - 462 Views
30-01-2020, 01:48 PM
Last Post: simon



Users browsing this thread:
2 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy