The Alarm Menu :: Push Service


param.cgi?cmd=getpushaction

Push Service Configuration

  • enable: Enable / Disables push notification to the INSTAR companion app InstarVision [1, 0]
  • interval: Cooldown interval [5 - 60]

Example

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

cmd="getpushaction";
enable="0";
interval="60";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getpushaction&ename=md&user=admin&pwd=instar

cmd="getpushaction";
enable="0";
interval="60";
response="200";
GET: http://admin:instar@192.168.2.168/param.cgi?cmd=setpushaction&enable=0&interval=60

cmd="setpushaction";
response="200";

param.cgi?cmd=genpushid

Generate Push Service ID

  • pushid: Push ID

Example

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

cmd="genpushid";
response="200";

param.cgi?cmd=pushid

Push Service ID

  • pushid: Push ID

Example

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

cmd="getpushid";
pushid="t2jx4353dasg7148dd7c292eui57a0bbg53sdf8f";
response="200";

param.cgi?cmd=testpushid

Test Push Service ID

  • result:
    • 0: Success
    • -1: Can’t connect to Server
    • -2: Invalid credentials
    • -3: Permission error / Bad path
    • -4: Timeout
    • -5: Server cannot be verified
    • -6: Busy
    • -7: Internal error
    • -8: Unknown error

Example

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

cmd="testpushid";
result="0";
response="200";