Author Topic: Advanced_IP_Camera => eventmethod "httpserver"?  (Read 2785 times)

rebelkiller

  • Veteran
  • ***
  • Posts: 77
    • View Profile
Advanced_IP_Camera => eventmethod "httpserver"?
« on: November 11, 2015, 09:21:52 pm »
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

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: Advanced_IP_Camera => eventmethod "httpserver"?
« Reply #1 on: November 12, 2015, 09:27:26 pm »
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