![Iqinvision IQ510 Manual Download Page 33](http://html.mh-extra.com/html/iqinvision/iq510/iq510_manual_2089780033.webp)
Page 33 of 60
8.
Standalone Motion Data
To request motion data without using a standard serverpush stream you must first enable motion detection on
the camera either using the camera web pages or via OIDs. You then request the URL:
http://<camera_IP>/now.motiondata
This will return a stream of data of the format:
HTTP/1.0 200 OK
Cache-Control: no-cache
Content-Type: multipart/x-mixed-replace; boundary=--iqeyemd
--iqeyemd
Content-Type: text/plain
window=1;level=2;threshold=100
window=2;level=0;threshold=100
window=3;level=1;threshold=100
--iqeyemd
Content-Type: text/plain
window=1;level=0;threshold=100
window=2;level=0;threshold=100
window=3;level=0;threshold=100
(repeated as many times as the camera delivers frames in 200 milliseconds. Note that
this could be zero times if the camera is using a very long exposure time in low light
conditions.)
(200 millisecond delay here)
--iqeyemd
Content-Type: text/plain
window=1;level=10;threshold=100
window=2;level=0;threshold=100
window=3;level=0;threshold=100
--iqeyemd
Content-Type: text/plain
window=1;level=0;threshold=100
window=2;level=10;threshold=100
window=3;level=17;threshold=100
(repeated as many times as the camera delivers frames in 200 milliseconds)
(200 millisecond delay here)
--iqeyemd
Information about the motion levels is reported every 200 milliseconds. The actual number of sets of window
motion data in each 200 millisecond block is dependent on the frame rate at which the camera is capturing
images.
Note:
Motion detection must be enabled on the camera to use this type of motion data.