Get Sensor Value / type/Set Sensor type
[ESP210](type=NONE/xxx) (interval=XXX in millisec) json=(no) pwd=(admin password)
-
json=no the output format can be in JSON or plain text
-
pwd=(admin password) the admin password if authentication is enabled
-
type
- if type is empty, it will display current type
- if type is not empty, it will set the type
-
interval
- if interval is empty, it will display current interval
- if interval is not empty, it will set the interval
-
Output
Section titled “Output”- In json format
{ "cmd":"210", "status":"ok", "data":"ok"}cmdId of requested command, should be210statusstatus of command, should beokdatacontent of response, hereok