News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Advanced_IP_Camera => eventmethod "httpserver"?

Started by rebelkiller, November 11, 2015, 09:21:52 PM

Previous topic - Next topic

rebelkiller

Hello there,

I'm using an IP Camera with Advanced_IP_Camera DT. I want to use the camera as motion detector so I need events.
As described in the wiki there are three eventmethods that can be used for motion detecting.

urlpoll method is working but polling interval ist too slow. For example: When someone goes by and polling interval is set to 10 seconds results in an empty picture.  :)

I am trying to optimize that. My camera is capable of sending http events. So my camera can send notifications directly to the core (as a http message). But I am not quite sure how to get it to work.


Here are my questions:

1. webadmin settings:
In camera DT I have to set "eventMethod1=httpserver". What about "eventURL1"? What about "eventInterval"?

In child motion detector I have to chose "method=1" and "triggerMethod=pattern". the "patternOn" and "patternOff" will get the message patterns I specified in the camera.


2. camera settings:
To which server address do i have to send event notifications? -> just "192.168.80.1"?


Thanks for your help.

Bernd

sambuca

Hi

1. eventInterval1 is the time between polling
eventURL1 should be the local port that the camera connects to. You will have to select an available port. Example: localhost:8773 or just 8773

2. Yes, add the port specified aboe and you should be good.


Best Regards,
sambuca