1440p Serie CG List

Menüs der Weboberfläche

After sending a command to the camera you always get two pieces of information back - a return code and the name of the command to which the update was sent, e.g.:

http://192.168.2.64/param.cgi?cmd=setaudioalarmattr&enable=0

cmd="setaudioalarmattr";
response="200";

A return of 200 means everything worked. Below is a breakdown of all the possible codes.

Response Codes

response="200";
  • SUCCESS = 200
  • UNKNOWN_PARAM = 201
  • INVALID_VALUE = 202
  • NOT_IMPLEMENTED = 203
  • UNKNOWN_COMMAND = 204
  • READ_CONFIG_ERROR = 205
  • WRITE_CONFIG_ERROR = 206
  • UNKNOWN = 207
  • MISSING_PARAM = 208
  • OS_ERROR = 209
  • LOGIC_ERROR = 210
  • NO_PERMISSION = 211
  • INVALID_ACTION = 212
  • BUSY = 213
  • INTERNAL_ERROR = 214
  • DISABLED = 215
  • NOT_AVAIL = 216
  • NOT_HARDWARE_SUPPORTED = 217
  • IP_BLOCKED = 218
  • UNCHANGED = 219
  • SYNTAX_ERROR = 301
  • UPLOAD_FAILED = 302
  • UD_SOCKET_ERROR = 303

Smarthome Integration (e.g. Node-RED)

Camera Control

Example Flows for Node-RED v3:

Example GET Flow for Node-RED v3

GET Commands

Example GET Flow for Node-RED v3

SET Commands

Livestream

JPEG Stream /snap.cgi

Snapshots for video channels 11, 12 and 13

http://192.168.178.21/snap.cgi?chn=11&user=admin&pwd=instar
http://192.168.178.21/snap.cgi?chn=12&user=admin&pwd=instar
http://192.168.178.21/snap.cgi?chn=13&user=admin&pwd=instar

Example Flows for Node-RED v3:

Example GET Flow for Node-RED v3

JPEG Video Stream

* requires node-red-node-base64

MJPEG Stream /livestream?action=play&media=mjpeg

Videostreams for video channels 11, 12 and 13

http://192.168.178.21/livestream/11?action=play&media=mjpeg&user=admin&pwd=instar
http://192.168.178.21/livestream/12?action=play&media=mjpeg&user=admin&pwd=instar
http://192.168.178.21/livestream/13?action=play&media=mjpeg&user=admin&pwd=instar

Example Flows for Node-RED v3:

Example GET Flow for Node-RED v3

MJPEG Video Stream

* requires node-red-contrib-multipart-stream-decoder

RTSP Stream /livestream

Videostreams for video channels 11, 12 and 13

rtsp://user:password@192.168.178.21/livestream/11
rtsp://user:password@192.168.178.21/livestream/12
rtsp://user:password@192.168.178.21/livestream/13

Video streaming