Skip to content

Latest commit

 

History

History
98 lines (69 loc) · 1.58 KB

README.md

File metadata and controls

98 lines (69 loc) · 1.58 KB

PTZOptics Scripts

cgi-bin Commands

Device Information

Network Configuration

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/param.cgi?get_network_conf"

Firmware Version

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/param.cgi?get_device_conf"

Video Settings

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/param.cgi?get_media_video"`

Jump to Preset

Home Preset

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/ptzctrl.cgi?ptzcmd&home"

Preset #1

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&1"

Preset #2

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&2"

Preset #3

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&3"

Preset #4

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&4"

Preset #5

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&5"

Preset #6

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&6"

Preset #7

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&7"

Preset #8

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&8"

Preset #9

CAMERA_IP='192.168.1.2'
curl "http://${CAMERA_IP}/cgi-bin/ptzctrl.cgi?ptzcmd&poscall&9"