Created
December 4, 2014 07:21
-
-
Save hdo/b022b3e5c97060e5d5ca to your computer and use it in GitHub Desktop.
Event notification on Dahua Security Cams
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wichtig ist die Authentifizierung, sonst wird die Session sofort wieder abgebrochen! | |
TELNET: | |
GET /cgi-bin/eventManager.cgi?action=attach&codes=[VideoMotion,AlarmLocal] HTTP/1.0 | |
User-Agent: Synology Surveillance Station | |
Authorization: Basic YWRtaW46YWRtaW4= | |
HTTP/1.0 200 OK | |
Cache-Control: no-cache | |
Pragma: no-cache | |
Expires: Thu, 01 Dec 2099 16:00:00 GMT | |
Connection: close | |
Content-Type: multipart/x-mixed-replace; boundary=myboundary | |
-- myboundary | |
Content-Type: text/plain | |
Content-Length:37 | |
Code=VideoMotion;action=Start;index=0 | |
-- myboundary | |
Content-Type: text/plain | |
Content-Length:36 | |
Code=VideoMotion;action=Stop;index=0 | |
-- myboundary | |
Content-Type: text/plain | |
Content-Length:37 | |
Code=VideoMotion;action=Start;index=0 | |
-- myboundary | |
Content-Type: text/plain | |
Content-Length:36 | |
Code=VideoMotion;action=Stop;index=0 | |
-- myboundary | |
Content-Type: text/plain | |
Content-Length:37 | |
Code=VideoMotion;action=Start;index=0 | |
-- myboundary | |
Content-Type: text/plain | |
Content-Length:36 | |
Code=VideoMotion;action=Stop;index=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment