Das System Menü :: Update


param.cgi?cmd=getupdateavailable

Check if a new Update is Available

  • available: [0,1]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getupdateavailable

cmd="getupdateavailable";
available="0";
response="200";

param.cgi?cmd=doupdate

Update from Local File

  • type: tar - update via tar from device, remote - update via remote server`
  • path: path to tar file on device

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=doupdate&type=remote

cmd="doupdate";
response="200";

param.cgi?cmd=getremoteupdateattr

Online Update Parameter

  • host: String e.g. updateserver.v2.instar.de
  • port: Integer e.g. 443
  • name: nt528_stable, nt528_stable_rc, nt528_beta or nt528_nightly

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getremoteupdateattr

cmd="getremoteupdateattr";
host="updateserver.v2.instar.de";
port="443";
name="nt528_stable";
usr="device";
pass="123456";
response="200";
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=setremoteupdateattr&name=nt528_nightly

cmd="setremoteupdateattr";
response="200";

param.cgi?cmd=getlatestversioninfo

Update from Local File

  • available: Update availabe [1,0]
  • current_version: Current build revision
  • latest_version: Latest build revision

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getlatestversioninfo

cmd="getlatestversioninfo";
available="1";
current_version="292";
latest_version="297";
response="200";

param.cgi?cmd=getupdateinfo

Check Update Progress

  • state: Update service state [not_started,preparing,prepare_error,installing,install_error,success]
  • progress: Update progress in percent [0,100]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getupdateinfo

cmd="getupdateinfo";
state="not_started";
progress="0";
response="200";

upgrade.cgi[?-filename=]

Update your Cameras Software

Example

Has to be implemented with POST Method