Set/Get Notification settings
[ESP610]type=(NONE/PUSHOVER/EMAIL/LINE/IFTTT/HOMEASSISTANT) 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)
- HOMEASSISTANT (by webhook)
-
T1
- if T1 is not empty, it will set the token1 which depends on type of notification
-
T2
- if T2 is not empty, it will set the token2 which depends on type of notification
-
TS if TS is not empty, it will set the setting token which depends on type of notification
-
pwd=(admin password) the admin password if authentication is enabled
Output
Section titled “Output”- In json format
{ "cmd":"610", "status":"ok", "data":"ok"}cmdId of requested command, should be610statusstatus of command, should beokdatacontent of response, hereokwhen notification is sent