In order to cater for different application scenarios, the Wi-Fi monitor provides open interface for integration to the server of the third party.
How it Works
WTH8266 can work as a tcp client. You can set its Socket parameter to set up the communication with remote tcp server.
Communication Process Please refer to the below demo for communication process.
Data Packet Description
The example of the data package is:
"data": [13.1875], "mac": "b4e62d313338"
data:The first data is the temperature value, and the second one is the humidity value. If only the temperature is measured, just one data is transmitted.
mac:The mac address of the WiFi module which can be used as SN.
WTH3080 can work as a tcp client too. You can set its Socket parameter to set up the communication with remote tcp server.
Communication Process Please refer to the below demo for communication process.
Data Packet Description
The example the data package is:
"method":"uploadsn","mac":"B0F8933BBCBF","version":1.29,"server":"HT","SN":"C2FA94D9","Data":[19.4]
mac: Mac address of the WiFi module version: Firmware version of WTH3080 SN: SN of the device Data:The first data is the temperature value, and the second one is the humidity value. If only the temperature is measured, just one data is transmitted.