-
Notifications
You must be signed in to change notification settings - Fork 48
Web services description
There are web services useful for many functions. The default format is JSON (or JPG for images).
http://IP:8080/cgi-bin/snapshot.sh
http://IP:8080/cgi-bin/get_configs.sh?conf=CONF
CONF | action |
---|---|
system | Get system configuration |
mqtt | Get mqtt configuration |
camera | Get camera settings |
http://IP:8080/cgi-bin/set_configs.sh?conf=CONF
CONF | action |
---|---|
system | Update system configuration |
mqtt | Update mqtt configuration |
camera | Update camera settings |
Need POST mehod with a json file.
http://IP:8080/cgi-bin/status.json
http://IP:8080/cgi-bin/hostname.js
http://IP:8080/cgi-bin/load.sh
Load configuration file (it requires post methid).
http://IP:8080/cgi-bin/save.sh
Save configuration to a file.
http://IP:8080/cgi-bin/fw_upgrade.sh?get=info
Get upgrade info.
http://IP:8080/cgi-bin/fw_upgrade.sh?get=upgrade
Start upgrade procedure.
http://IP:8080/cgi-bin/reboot.sh
http://IP:8080/cgi-bin/service.sh?name=NAME&action=ACTION¶m1=PARAM1¶m2=PARAM2
name | action | param1 | param2 | description |
---|---|---|---|---|
onvif | start/stop | low/high/both | yes/no | Start onvif: use param1 to set resolution and param2 to set snapshot watermark (param2 is available only if action = start |
ftpd | start/stop | busybox/pure-ftpd | N/A | Start ftpd: use param1 to set which daemon use |
mqtt | start/stop | N/A | N/A | Start mqtt to send motion events to a broker |
http://IP:8080/cgi-bin/ptz.sh?dir=DIRECTION
DIRECTION=left, right, up or down (required option).