With it, I would like the trigger a custom motion sensor tied to a Camera. I have looked to through wiki(Seems lacking in updates) and have done some searches in the forums, not really sure what I am looking for though. I did find an older mention of a zoneminder plugin, just can not locate it anywhere.
I think I just need a virtual switch, switch it to a motion sensor tie it the camera as the child of camera and figure out a url I can hit with wget to trigger the sensor?
I am interested in making virtual motion sensor as well. Not for ZoneMinder, but to create the motion detector function for my Hikvision cameras. The cameras support sending a HTTP call when the alarm is triggered, and from what I can tell that is all the Foscam’s do to trigger their alarms. So in theory we could create a device with device_file: D_MotionSensor1.xml and id_parent of the camera???
@Gibby, you should just be able to do an HTTP Get request via the command line in ZoneMinder (I user iSPY, so not sure). I don’t know the the format in HTTP to flip a virtual switch on/off, but running a scene which can do has actions to flip the switch could be run via:
I’m interested in getting my Hikvision Motion Detection integrated with Vera as well. Hoping to revive this thread.
Has anybody figured out a way to do this? I don’t see the ability for Hikvision to call a URL upon motion detection event.
Two possibilities.
Hikvision Motion Detection Event → Alarm state triggered. Setup something that polls for this alarm state and call the URL for the Vera Virtual Motion Detection Sensor. (Does anybody know how to check for the Hikvision Alarm State?)
Hikvision Motion Detection Event → FTP file saved. Setup something that monitors for new files on the FTP server → call URL for Vera Virtual Motion Detection Sensor
Any thoughts or recommendations? Thanks in advance
HIKVISION does have an extensive API so all of this should be possible. I’m no programmer so I can’t figure it out but I was able to issue basic URL commands to the camera and get a response back.
I’m reaching out again to see if anybody has had a chance to send commands to the HIKVISION. I am new to Vera (just got my Edge today). Got a dimmer and thermostat hooked up and everything looking good. Without being able to arm / disarm the HIKVISION my system won’t be complete. Any points/code snippets greatly appreciated.
Perhaps he was referring to this: 8.11.12 Notification alertStream
/Event/notification/alertStream
Notes:
This function is used to get an event notification alert stream from the media device via
HTTP or HTTPS. This function does not require that a client/VMS system be added as an
HTTP(S) destination on the media device. Instead, the client/VMS system can call this
API to initialize a stream of event information from the device. In other words, a
connection is established with the device when this function is called, and stays open to
constantly receive event notifications.
This API uses HTTP server-push with the MIME type multipart/mixed defined in RFC
2046.
<protocol> is the protocol name, i.e. ?HTTP? or ?HTTPS?.
<channelID> is present for video and analytics events.
<activePostCount> is the sequence number of current notification for this particular event.
It starts at 1. Useful for recurring notifications of an event. Each event maintains a
separate post count
Where do see that Hikvisions can send an HTTP call when the alarm is triggered? Which models do you have and where do you put in the HTTP command?[/quote]
[quote=“CudaNet, post:11, topic:178752”]Perhaps he was referring to this: 8.11.12 Notification alertStream
/Event/notification/alertStream
Notes:
This function is used to get an event notification alert stream from the media device via
HTTP or HTTPS. This function does not require that a client/VMS system be added as an
HTTP(S) destination on the media device. Instead, the client/VMS system can call this
API to initialize a stream of event information from the device. In other words, a
connection is established with the device when this function is called, and stays open to
constantly receive event notifications.
This API uses HTTP server-push with the MIME type multipart/mixed defined in RFC
2046.
<protocol> is the protocol name, i.e. ?HTTP? or ?HTTPS?.
<channelID> is present for video and analytics events.
<activePostCount> is the sequence number of current notification for this particular event.
It starts at 1. Useful for recurring notifications of an event. Each event maintains a
separate post count
Where do see that Hikvisions can send an HTTP call when the alarm is triggered? Which models do you have and where do you put in the HTTP command?[/quote][/quote]
I was looking for a box to enter a Http call and have that sent from the camera when the camera senses motion. This seems like you need a program to login to the camera and watch for a trigger right?
Yes, since this is a direct stream, it appears that a “web hook” isn’t present within the GUI (like Blue Iris). I could have overlooked something as I just quickly glanced at the posted link to the API. This API is probably compliments their SDK.
[quote=“integlikewhoa, post:12, topic:178752”][quote=“CudaNet, post:11, topic:178752”]Perhaps he was referring to this: 8.11.12 Notification alertStream
/Event/notification/alertStream
Where do see that Hikvisions can send an HTTP call when the alarm is triggered? Which models do you have and where do you put in the HTTP command?[/quote][/quote]
I was looking for a box to enter a Http call and have that sent from the camera when the camera senses motion. This seems like you need a program to login to the camera and watch for a trigger right?[/quote]
Yes I believe so. I currently don’t have a server or Blueiris setup at this location but have cameras up for live viewing. Temporary I was going to setup motion using the cameras alone then later swap to BI where I have more customizing.
At the Main house I have this setup already.
He made it seem that, the option was there to send http commands, but I have been un able to locate it. I can rely on email or the app for notifications for now.
I can honestly say that I haven’t tried to locate the event manager within the iVMS software. I’ve always used BI loaded on a dedicated server and just coded to their API. I might look around tonight and see if one is hidden somewhere (iVMS).
Yes I believe so. I currently don’t have a server or Blueiris setup at this location but have cameras up for live viewing. Temporary I was going to setup motion using the cameras alone then later swap to BI where I have more customizing.
At the Main house I have this setup already.
He made it seem that, the option was there to send http commands, but I have been un able to locate it. I can rely on email or the app for notifications for now.[/quote]
Best Home Automation shopping experience. Shop at Ezlo!