Hikvision motion detection

Post Reply
Cybershot803
Posts: 72
Joined: Sunday 04 January 2015 8:14
Target OS: Linux
Domoticz version:
Contact:

Hikvision motion detection

Post by Cybershot803 » Thursday 01 June 2017 17:25

Hi all,

ive got a hikvision camera and a floodlight without pir which is connected to energenie plug.

i want to utlize the hikvisions motion detection to turn on floodlight but im running domoticz on windows and seem to be restricted.

any ideas how i can get domoticz to turn on light of motion detected on cam? as a sloppy workaround i was going to try email route but think this could potentially be quite slow from time motion detected and light coming on.

i did have home easy pir but was unreliable and got sick of changing batteries so dnt want to go down remote wireless pir.

any help would be much appreciated!

Cybershot803
Posts: 72
Joined: Sunday 04 January 2015 8:14
Target OS: Linux
Domoticz version:
Contact:

Re: Hikvision motion detection

Post by Cybershot803 » Friday 02 June 2017 14:10

I've built a linux vm just for this function but can't get it working, tried this:
viewtopic.php?t=10604

but cannot get it setup right i think and also tried the pearl script(s) from here:
http://www.domoticz.com/forum/viewtopic ... on#p121471

but i have the DS-2CD2042WD-I which doesn't have any IO so pearl script doesn't work... i can't find the hikvision cgi/api documentation either, everywhere it's referenced states no longer available on hik website (argh!!!)

@philchillbill
@nayr

please help
:cry:

Cybershot803
Posts: 72
Joined: Sunday 04 January 2015 8:14
Target OS: Linux
Domoticz version:
Contact:

Re: Hikvision motion detection

Post by Cybershot803 » Saturday 03 June 2017 2:12

if anyone's interested i got this working by getting camera to upload snapshot on motion to nas and used incron to monitor folder and toggle virtual switch and blocky to turn on outside light if it's night time and virtual switch set to on (dirty i know)... but i've also realised this may be a bit of a poor solution in reality as i do get a lot of false "alerts" on cam due to spiders etc... going to see how it goes but may just be easier to get security light with in built PIR afterall :lol:

User avatar
philchillbill
Posts: 239
Joined: Monday 12 September 2016 13:47
Target OS: Linux
Domoticz version: beta
Location: Eindhoven. NL
Contact:

Re: Hikvision motion detection

Post by philchillbill » Saturday 10 June 2017 11:34

Cybershot803 wrote:I've built a linux vm just for this function but can't get it working, tried this:
https://www.domoticz.com/forum/viewtopic.php?t=10604

but cannot get it setup right i think and also tried the pearl script(s) from here:
http://www.domoticz.com/forum/viewtopic ... on#p121471

but i have the DS-2CD2042WD-I which doesn't have any IO so pearl script doesn't work... i can't find the hikvision cgi/api documentation either, everywhere it's referenced states no longer available on hik website (argh!!!)

@philchillbill
@nayr

please help
:cry:
A camera without PIR will give a *lot* of false alerts if you are relying on motion detection via frame-to-frame comparison. I had a Y-Cam before I got my Hik and it didn't have a PIR and the falses annoyed me so much I just put the Y-Cam on marktplaats and sold it so as to buy the Hik with PIR instead.
I actually have a copy of the API documentation for the Hik but as it is written in VERY Chinese-engrish it's not actually much help. One thing I'd love to do is send an mp3 file from a text-to-speech converter to the speaker in the Hik but the docs are unreadable on this topic...
NUC/Ubuntu, Evohome Heating + HGI80, Evohome Security, 4x HikVision IP cams, Aeotec, Neo & Fibaro Z-Wave, Logitech Media Server (on Synology DS916+), 10x SqueezeBox, Kodi, Harmony Hub, 5x Amazon Echo, HA-Bridge, Hue.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest