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
- 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
Id of requested command, should be610
status
status of command, should beok
data
content of response, hereok
when notification is sent