OK there is one problem, in the UI7 web GUI I cannot click on the button to Arm/Disarm the sensor. It doesnât work when pressing the button.
However if I go in to the devices Advanced â Variables
And manually edit the âArmedâ variable from 0 to 1 then it does work and the sensor then becomes armed OK.
Looking in the cameras motion sensor device, under Advanced â Params
The âimpl_fileâ field was blank and had nothing in it. So I entered in I_MotionSensor1.xml and reloaded the LUUP engine.
However its still not working, I cannot arm/disarm the motion sensor device by clicking on the buttons in the GUI.
I then looked at some real Z-Wave motion sensor devices in Vera and they didnât have anything in the âimpl_fileâ field either so maybe thatâs normal.
So not sure how to fix this currently.
UPDATE:
I think this is a bug with the Hikvision plug-in ? Not being able to change the motion sensor Armed/Disarmed state using the buttons in the GUI.
Messing around and testing lots of different things, on the motion sensor device if I remove its altid value (camera_445_motion_sensor) and remove its id_parent value (445) and ensure in the impl_file field I have I_MotionSensor1.xml
And then reload the engine, then the button starts working to turn on Armed/Disarmed OK, but obviously the link to the camera is lost.
So if I then add back in the altid and id_parent values the button stops working again.
Specifically it seems to be when I add back in the id_parent number that the button stops working again.
Iâve managed to get the button working and motion sensor tripping, with no id_parent value defined at all (field either empty or with 0), but with the altid field value defined, that seems to be enough to link it up to the camera again.
So now the motion sensor tripped / un-tripped is working and now I can also arm/disarm the sensor using the button in the GUI.
I_MotionSensor1.zip (352 Bytes)
UPDATE - More than one Hikvision Camera
Had a hell of job getting two Hikvision cameras working on my Vera Plus.
In the end Iâve had to use the stripped down I_HikvisionIPCamera.xml file by @bwillette however his line for just filtering the eventType only rather than the whole alertstream was not working, nothing was being populated in the txt file in the Vera tmp folder. I had to comment his line out on line 184 and put the original line back in on line 183.
Also he was looking for eventType âline crossingâ on line 228
if newEvent:find("<eventType>linedetection</eventType>") then
Iâve changed that line back to VMD for motion detection.
if newEvent:find("<eventType>VMD</eventType>") then
These xml files were on the old forum and they have not be carried over to this new forum. So I am uploading bwilletteâs file with my changes mentioned above. Stripped-I_HikvisionIPCamera.zip (5.5 KB)