Get Sensor Value / type/Set Sensor type
Input
[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=
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
- In json format
cmd
Id of requested command, should be210
status
status of command, should beok
data
content of response, hereok