Set/Get Notification settings

Input

[ESP610]type=<NONE/PUSHOVER/EMAIL/LINE/IFTTT> T1=<token1> T2=<token2> TS=<Settings> json=<no> pwd=<admin password>

  • json=no the output format can be in JSON or plain text

  • type

  • if type is empty, it will display current type
  • if type is not empty, it will set the type currently only these types are supported:

    • NONE
    • PUSHOVER
    • EMAIL
    • LINE
    • TELEGRAM
    • IFTTT (by webhook)
  • T1

  • if T1 is not empty, it will set the token1 which depend on type of notification

  • T2

  • if T2 is not empty, it will set the token2 which depend on type of notification

  • TS if TS is not empty, it will set the setting token which depend on type of notification

  • pwd= the admin password if authentication is enabled

Output

  • In json format
{
   "cmd":"610",
   "status":"ok",
   "data":"ok"
}
  • cmd Id of requested command, should be 610
  • status status of command, should be ok
  • data content of response, here ok when notification is sent