Log says various things depending on what I try ex.
ONVIF Couldn't create subscription! 28, fault:Connection timed out, detail:connect failed in tcp_connect()
Code: Select all
ONVIF Couldn't create subscription! 405, fault:HTTP Error, detail:<!DOCTYPE html><html><head><title>Document Error: Method Not Allowed</title></head><body><h2>Access Error: 405 -- Method Not Allowed</h2><p>Requested method POST not supported for URL: /event_service</p></body></html>
ONVIF_URL: http://192.168.46.151:80/onvif/device_service
ONVIF_EVENTS_PATH: /onvif/event_service (tried /Events & /device_service & blank ....)
Username: *****
Password: *****
ONVIF_Options:
ONVIF_Alarm_Text:
SOAP WSA COMPLIANCE: on
ONVIF_Event_Listener: enabled
use_Amcrest_API: enabled
The camera is HikVision DS-2CD2086G2H-I, I have logged into the camera and turned on onvif, set a user with admin rights and turn all the security settings down or off to troubleshoot. Can somebody suggest the proper ONVIF_EVENTS_PATH:
edit:
Well since nobody replied yet, I am thinking this camera does not do onvif events, even though the web interface has a section for onvif, Here is some of the paths detected using some other alternatives to zoneminder:,
http://192.168.46.151/onvif/Media2
http://192.168.46.151:80/onvif/Events
rtsp://192.168.46.151/Streaming/Channels/101?transportmode=unicast&profile=Profile_1
rtsp://192.168.46.151/Streaming/Channels/102?transportmode=unicast&profile=Profile_2
http://192.168.46.151:80/onvif/device_service
http://192.168.46.151:80/onvif-http/snapshot?Profile_1
http://192.168.46.151:80/onvif-http/snapshot?Profile_2
sigh, I was hoping to shed the detection load to the camera itself, I may reinstall tomorrow and start clean again and just go with zoneminder doing the detecting on the low res stream.
Edit#3 Here is a link with all the onvif paths
https://www.onvif.org/member-tools/wp-c ... 16m35s.xml
https://www.onvif.org/conformant-products/
I am guess something is not right with my zoneminder setup?
last edit: Looks like I bought a dud of a camera, Events is covered under onvif profile M, My camera does not have that profile. pfft.
https://www.datavideo.com/article/578/a ... deo-camera
This sucks as I payed a bit for this.
https://www.onvif.org/member-tools/wp-c ... 16m35s.pdf