1
Users / Re: Security mode not working properly !
« on: March 27, 2008, 09:42:44 am »
In order to send security events directly to the motion camera, and to get a picture from it, you'll have to relate the motion camera to itself in the Device_Device_Related table.
By ex:
Le's say that your MotionCameraID is 77, you'll have to add this as FK_Device and FK_Device_Related in the Device_Device_Related table.
>mysql -u root
>use pluto_main
>INSERT INTO Device_Device_Related (FK_Device, FK_Device_Related) VALUES ($MotionCameraID, $MotionCameraID);
In your case you'll have to substitute the $MotionCameraID variable with you MotionCameraID = Device ID - from Web Admin
By ex:
Le's say that your MotionCameraID is 77, you'll have to add this as FK_Device and FK_Device_Related in the Device_Device_Related table.
>mysql -u root
>use pluto_main
>INSERT INTO Device_Device_Related (FK_Device, FK_Device_Related) VALUES ($MotionCameraID, $MotionCameraID);
In your case you'll have to substitute the $MotionCameraID variable with you MotionCameraID = Device ID - from Web Admin