blinker 点灯科技 ESP8266 取消加密传输后 历史数据存储失效-Arduino中文社区 - Powered by Discuz! Archiver

jianfengbeyond 发表于 2020-9-24 09:05

blinker 点灯科技 ESP8266 取消加密传输后 历史数据存储失效

blinker 点灯科技 ESP8266 取消加密传输后 历史数据存储失效,添加 #define BLINKER_WITHOUT_SSL   后历史数据云存储功能失效BUG。
头部代码如下:



#define BLINKER_WIFI
//blinker默认使用加密方式进行远程通信,但通信加密会消耗大量的RAM,如果您对通信安全性无要求,可以添加宏BLINKER_WITHOUT_SSL用以获得更多可用RAM:
#define BLINKER_WITHOUT_SSL   
#include <Blinker.h>




奈何col 发表于 2020-9-24 14:42

请提供下设备端调试信息

jianfengbeyond 发表于 2020-9-24 16:04

奈何col 发表于 2020-9-24 14:42
请提供下设备端调试信息

WiFi Connected.
IP Address:
192.168.31.100
begin: https://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=f2bb2a026eed&version=0.1.0&protocol=mqtts
GET... code: 200
reply was:
==============================
{"detail": {"broker": "aliyun", "deviceName": "48EEA77CT4VEWZZN6NKK1F0P", "host": "mqtts://public.iot-as-mqtt.cn-shanghai.aliyuncs.com", "iotId": "Pb673nsJFPx5XbQ6q5CS000000", "iotToken": "^1^1600934393786^4e365cb31832f40", "port": "1883", "productKey": "JgCGbHlndgz", "uuid": "d6e7641cc95d6ca724befe90ee8e8e82"}, "message": 1000}
==============================
_num: 5
====================
DEVICE_NAME_MQTT: 48EEA77CT4VEWZZN6NKK1F0P
MQTT_PRODUCTINFO_MQTT: JgCGbHlndgz
MQTT_ID_MQTT: 48EEA77CT4VEWZZN6NKK1F0P
MQTT_NAME_MQTT: Pb673nsJFPx5XbQ6q5CS000000
MQTT_KEY_MQTT: ^1^1600934393786^4e365cb31832f40
MQTT_BROKER: aliyun
HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
PORT: 1883
HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
PORT: 1883
UUID_MQTT: d6e7641cc95d6ca724befe90ee8e8e82
====================
BLINKER_PUB_TOPIC_MQTT: /JgCGbHlndgz/48EEA77CT4VEWZZN6NKK1F0P/s
BLINKER_SUB_TOPIC_MQTT: /JgCGbHlndgz/48EEA77CT4VEWZZN6NKK1F0P/r
Freeheap: 4048
mDNS responder started
webSocket_MQTT server started
ws://48EEA77CT4VEWZZN6NKK1F0P.local:81
27.9375
28.0000
Current time: Thu Sep 24 07:59:54 2020

NTP time: 1600905594
==== needInit ====
message: /share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
blinker server begin
Freeheap: 26144
HTTPS begin: https://iot.diandeng.tech/api/v1/user/device/share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
HTTPS payload: /share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
status... code: 200
{"detail": {"users": []}, "message": 1000}
payload: {"users":[]}
sharers data: {"users":[]}
load timing
load timing taskCount: 0
freshTiming wDay: 4, nowMins: 960, nowSeconds: 57601
nextTask: 10apartSeconds: 28799 wDay: 4
cbackData: 10
change apartSeconds: 3600
millis: 26355, connect_time: 19431
MQTT conn init success
=======================================================
=========== Blinker Auto Control mode init! ===========
Warning!EEPROM address 0-1279 is used for Auto Control!
=========== DON'T USE THESE EEPROM ADDRESS! ===========
=======================================================
_______autoStart_______
_aCount: 1
new BlinkerAUTO() _num: 0
_haveAuto: 0
_autoState: 0
_logicType: 0
_compareType: 0
Connecting to MQTT...
reconnect_time: 0
Connection failed
Retrying MQTT connection in 5 seconds...
28.0000
27.9375
28.0000
28.0000
28.0000
28.0000
28.0000
Connecting to MQTT...
reconnect_time: 1
Connection failed
Retrying MQTT connection in 5 seconds...
_disFreshTime: 52392
_disconnectCount: 2
28.0000
28.0000
28.0000
28.0000
28.0000
28.0000
28.0000
Connecting to MQTT...
reconnect_time: 2
MQTT Connected!
Freeheap: 5160
28.0000
28.0000
28.0000
28.0625
checkNum count: 0
time: 1600934439,second: 39
now_time: 1600934400
dataStorage num: -1 ,1600934400
dataStorage count: 0
saveData: 27.30
saveData dataCount: 1
temp save: 27.30 time: 1600934400
data_dataCount: 1
checkNum count: 1
time: 1600934439,second: 39
now_time: 1600934400
dataStorage num: -1 ,1600934400
dataStorage count: 1
saveData: 49.00
saveData dataCount: 1
humi save: 49.00 time: 1600934400
data_dataCount: 2
28.0625
28.0000
28.0625
28.0625
28.0000
28.0625
28.0000
28.0625
28.0625
28.0625
28.0625
28.0000
28.0625
28.0000
28.0625
28.0000
28.0625
28.0000
28.0625
28.0000
28.0000
28.0000
28.0000
28.0000
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.40}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.74}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":28.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.40},"hic":{"val":27.74},"tset":{"val":45.00},"PID_TEMP":{"val":28.00}}
Proto print...
Freeheap: 2912
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.40},"hic":{"val":27.74},"tset":{"val":45.00},"PID_TEMP":{"val":28.00}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 2912
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.40},"hic":{"val":27.74},"tset":{"val":45.00},"PID_TEMP":{"val":28.00}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 2928
Freeheap: 3960
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
28.0625
28.0000
28.0625
28.0000
28.0000
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.30}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.64}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":28.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":28.00}}
Proto print...
Freeheap: 2928
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":28.00}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 2928
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":28.00}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 2928
Freeheap: 3960
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
28.0000
28.0625
28.0625
28.0000
28.0000
num: 0, Connected from: 192.168.31.39, url: /
28.0000
28.0000
28.0000
28.0000
28.0000
28.0000
28.0000
28.0000
28.0000
28.0625
28.0625
28.0625
28.0000
28.0625
28.0000
28.0000
28.0625
28.0000
28.0000
28.0000
28.0000
28.0625
28.0000
28.0625
num: 0, get Text: {"btn-123":"tap"}, length: 17
isAvail_MQTT: 1
available: 1
checkAvail: 1
parse data: {"btn-123":"tap"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
Blinker readString: {"btn-123":"tap"}
autoFormatData key: vibrate, json: "vibrate":200
new.
autoFormatData key: Time(S), json: "Time(S)":114
add.
autoFormatData key: NTP Time, json: "NTP Time":"16 1"
add.
autoFormatData key: 鐩稿婀垮害: , json: "鐩稿婀垮害: ":"49.00%"
add.
autoFormatData key: 姘旀俯: , json: "姘旀俯: ":"27.30鈩?
add.
autoFormatData key: 浣撴劅娓╁害: , json: "浣撴劅娓╁害: ":"27.64鈩"
add.
autoFormatData key: PID娓╁害: , json: "PID娓╁害: ":"28.06鈩?
add.
autoFormatData key: Free memory: , json: "Free memory: ":"3.45 KB"
add.
autoFormatData key: Last reset: , json: "Last reset: ":"External System"
add.
print: {"vibrate":200,"Time(S)":114,"NTP Time":"16 1","鐩稿婀垮害: ":"49.00%","姘旀俯: ":"27.30鈩?,"浣撴劅娓╁害: ":"27.64鈩?,"PID娓╁害: ":"28.06鈩?,"Free memory: ":"3.45 KB","Last reset: ":"External System"}
Proto print...
Freeheap: 3568
WS response:
{"vibrate":200,"Time(S)":114,"NTP Time":"16 1","鐩稿婀垮害: ":"49.00%","姘旀俯: ":"27.30鈩?,"浣撴劅娓╁害: ":"27.64鈩?,"PID娓╁害: ":"28.06鈩?,"Free memory: ":"3.45 KB","Last reset: ":"External System"}
Success...
Freeheap: 3256
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
MQTT Ping!
Freeheap: 4616
dataUpdate: 0
Freeheap: 4528
getData _data_: []
num: 0 name: temp
Freeheap: 4496
getData _data_: []
num: 1 name: humi
Freeheap: 4480
dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[],"humi":[]}}
Freeheap: 4480
message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[],"humi":[]}}
blinker server begin
Freeheap: 24808
HTTPS begin: https://iot.diandeng.tech/api/v1/user/device/cloudStorage/
HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[],"humi":[]}}
status... code: 200
{"detail": "max device data key size limit", "message": 1513}
ERROR: max device data key size limit
payload: {"detail": "max device data key size limit", "message": 1513}
28.0625
Disconnected! 0
28.0000
28.0000
28.0625
checkNum count: 2
time: 1600934499,second: 39
now_time: 1600934460
dataStorage num: 0 ,1600934460
dataStorage count: 2
saveData: 27.30
saveData dataCount: 1
temp save: 27.30 time: 1600934460
data_dataCount: 2
checkNum count: 2
time: 1600934499,second: 39
now_time: 1600934460
dataStorage num: 1 ,1600934460
dataStorage count: 2
saveData: 49.00
saveData dataCount: 1
humi save: 49.00 time: 1600934460
data_dataCount: 2
28.0625
Connecting to MQTT...
reconnect_time: 0
MQTT Connected!
Freeheap: 4496
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0000
28.0625
28.0625
28.0000
28.0625
28.0000
28.0000
28.0000
Got: {"deviceType":"DiyArduino","data":{"btn-123":"tap"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"btn-123":"tap"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"btn-123":"tap"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
Blinker readString: {"btn-123":"tap"}
autoFormatData key: vibrate, json: "vibrate":200
new.
autoFormatData key: Time(S), json: "Time(S)":146
add.
autoFormatData key: NTP Time, json: "NTP Time":"16 2"
add.
autoFormatData key: 鐩稿婀垮害: , json: "鐩稿婀垮害: ":"49.00%"
add.
autoFormatData key: 姘旀俯: , json: "姘旀俯: ":"27.30鈩?
add.
autoFormatData key: 浣撴劅娓╁害: , json: "浣撴劅娓╁害: ":"27.64鈩"
add.
autoFormatData key: PID娓╁害: , json: "PID娓╁害: ":"28.00鈩?
add.
autoFormatData key: Free memory: , json: "Free memory: ":"3.42 KB"
add.
autoFormatData key: Last reset: , json: "Last reset: ":"External System"
add.
print: {"vibrate":200,"Time(S)":146,"NTP Time":"16 2","鐩稿婀垮害: ":"49.00%","姘旀俯: ":"27.30鈩?,"浣撴劅娓╁害: ":"27.64鈩?,"PID娓╁害: ":"28.00鈩?,"Free memory: ":"3.42 KB","Last reset: ":"External System"}
Proto print...
Freeheap: 3544
isJson: {"data":{"vibrate":200,"Time(S)":146,"NTP Time":"16 2","鐩稿婀垮害: ":"49.00%","姘旀俯: ":"27.30鈩?,"浣撴劅娓╁害: ":"27.64鈩?,"PID娓╁害: ":"28.00鈩?,"Free memory: ":"3.42 KB","Last reset: ":"External System"},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 3544
_print_times: 1
{"data":{"vibrate":200,"Time(S)":146,"NTP Time":"16 2","鐩稿婀垮害: ":"49.00%","姘娓? ":"27.30鈩?,"浣撴劅娓╁? ":"27.64鈩?,"PID娓╁害: ":"28.00鈩?,"Free memory: ":"3.42 KB","Last reset: ":"External System"},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 3656
Freeheap: 4688
28.0000
28.0625
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.30}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.64}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":28.06}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":28.06}}
Proto print...
Freeheap: 2624
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":28.06}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 2624
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":28.06}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 2624
Freeheap: 3656
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
28.0000
28.0000
28.0625
28.0625
28.0625
28.0000
28.0000
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0000
28.0000
Got: {"deviceType":"DiyArduino","data":{"btn-ts":"tap"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"btn-ts":"tap"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"btn-ts":"tap"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
checkNum count: 5
checkNum count: 5
strWidgetsParse isParsed
strWidgetsParse: btn-ts
autoFormatData key: vibrate, json: "vibrate":200
new.
autoFormatData key: btn-ts, json: "btn-ts":{"ico":"fas fa-bath","clr":"#339933","tex":"鏅鸿兘鎭掓俯宸插紑鍚?}
add.
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
print: {"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#339933","tex":"鏅鸿兘鎭掓俯宸插紑鍚?}}
Proto print...
Freeheap: 3848
isJson: {"data":{"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#339933","tex":"鏅鑳芥亽娓╁凡寮€鍚?}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 3848
_print_times: 2
{"data":{"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#339933","tex":"鏅鸿兘鎭掓╁凡寮€鍚?}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 3864
Freeheap: 4896
28.0625
28.062500,100.000000
28.062500,0.000000
28.062500,100.000000
28.062500,100.000000
28.062500,100.000000
28.062500,100.000000
28.062500,100.000000
28.062500,100.000000
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.40}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.74}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":28.06}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.40},"hic":{"val":27.74},"tset":{"val":45.00},"PID_TEMP":{"val":28.06}}
Proto print...
Freeheap: 2816
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.40},"hic":{"val":27.74},"tset":{"val":45.00},"PID_TEMP":{"val":28.06}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 2816
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.40},"hic":{"val":27.74},"tset":{"val":45.00},"PID_TEMP":{"val":28.06}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 2168
Freeheap: 3200
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
28.062500,100.000000
28.062500,100.000000
28.125000,100.000000
28.125000,100.000000
28.187500,100.000000
28.250000,100.000000
28.312500,100.000000
28.312500,100.000000
28.375000,100.000000
28.437500,100.000000
28.500000,100.000000
28.625000,100.000000
Got: {"deviceType":"DiyArduino","data":{"btn-ts":"tap"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"btn-ts":"tap"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"btn-ts":"tap"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
checkNum count: 5
checkNum count: 5
strWidgetsParse isParsed
strWidgetsParse: btn-ts
autoFormatData key: vibrate, json: "vibrate":200
new.
autoFormatData key: btn-ts, json: "btn-ts":{"ico":"fas fa-bath","clr":"#CCCCCC","tex":"鏅鸿兘鎭掓俯宸插叧闂?}
add.
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
print: {"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#CCCCCC","tex":"鏅鸿兘鎭掓俯宸插叧闂?}}
Proto print...
Freeheap: 3864
isJson: {"data":{"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#CCCCCC","tex":"鏅鑳芥亽娓╁凡鍏抽棴"}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 3864
_print_times: 3
{"data":{"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#CCCCCC","tex":"鏅鸿兘鎭掓╁凡鍏抽棴"}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 3864
Freeheap: 4896
28.687500,100.000000
28.8125
28.8750
29.0000
29.0625
num: 0, Connected from: 192.168.31.39, url: /
checkNum count: 2
time: 1600934559,second: 39
now_time: 1600934520
dataStorage num: 0 ,1600934520
dataStorage count: 2
saveData: 27.40
saveData dataCount: 2
temp save: 27.40 time: 1600934520
data_dataCount: 2
checkNum count: 2
time: 1600934559,second: 39
now_time: 1600934520
dataStorage num: 1 ,1600934520
dataStorage count: 2
saveData: 49.00
saveData dataCount: 2
humi save: 49.00 time: 1600934520
data_dataCount: 2
29.1875
29.3125
29.3750
29.4375
Disconnected! 0
29.5625
29.6875
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.40}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.74}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":29.69}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.40},"hic":{"val":27.74},"tset":{"val":45.00},"PID_TEMP":{"val":29.69}}
Proto print...
Freeheap: 2640
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.40},"hic":{"val":27.74},"tset":{"val":45.00},"PID_TEMP":{"val":29.69}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 2640
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.40},"hic":{"val":27.74},"tset":{"val":45.00},"PID_TEMP":{"val":29.69}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 2640
Freeheap: 3672
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
29.7500
29.8750
29.9375
30.0000
30.1250
30.1875
30.2500
30.3125
30.3750
30.4375
30.5000

jianfengbeyond 发表于 2020-9-24 16:28

jianfengbeyond 发表于 2020-9-24 16:04
WiFi Connected.
IP Address:
192.168.31.100


搞错了 这个是开启了加密通信的记录

jianfengbeyond 发表于 2020-9-24 16:38

奈何col 发表于 2020-9-24 14:42
请提供下设备端调试信息

这个才是关闭了加密传输的 串口调试信息:


WIFI杩炴帴鎴愬姛
IP:192.168.31.100


__       __                __
/\ \   /\ \    __      /\ \            v0.3.5
\ \ \___ \ \ \/\_\    ___\ \ \/'\      __   _ __   
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
\ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\__/\ \ \./
   \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\
    \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/
    To better use blinker with your IoT project!
    Download latest blinker library here!
    => https://github.com/blinker-iot/blinker-library

_aliType:
_duerType:
_miType:
_authKey: f2bb2a026eed
Connecting to 24G
ESP8266_MQTT initialized...

===========================================================
================== Blinker Timer loaded! ==================
Warning!EEPROM address 1536-2431 is used for Blinker Timer!
============= DON'T USE THESE EEPROM ADDRESS! =============
===========================================================

countdown state: false
_cdRunState: 0
_totalTime: 0
_runTime: 0
_action:
loop state: false
_lpRunState: 0
_times: 0
_tri_times: 0
_time1: 0
_action1:
_time2: 0
_action2:
_lpData: 0
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
34.1875
WiFi Connected.
IP Address:
192.168.31.100
begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=f2bb2a026eed&version=0.1.0&protocol=mqtt
GET... failed, error: read Timeout

reply was:
==============================

==============================
ERROR: Maybe you have put in the wrong AuthKey!
ERROR: Or maybe your request is too frequently!
ERROR: Or maybe your network is disconnected!
begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=f2bb2a026eed&version=0.1.0&protocol=mqtt
GET... failed, error: read Timeout

reply was:
==============================

==============================
ERROR: Maybe you have put in the wrong AuthKey!
ERROR: Or maybe your request is too frequently!
ERROR: Or maybe your network is disconnected!
begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=f2bb2a026eed&version=0.1.0&protocol=mqtt
GET... code: 200
reply was:
==============================
{"detail": {"broker": "aliyun", "deviceName": "48EEA77CT4VE|securemode=3,signmethod=hmacsha1|", "host": "mqtt://public.iot-as-mqtt.cn-shanghai.aliyuncs.com", "iotId": "48EEA77CT4VEWZZN6NKK1F0P&JgCGbHlndgz", "iotToken": "f2a6e65a8660db13936869b27840780d62679568", "port": "1883", "productKey": "JgCGbHlndgz", "uuid": "d6e7641cc95d6ca724befe90ee8e8e82"}, "message": 1000}
==============================
_num: 4
====================
DEVICE_NAME_MQTT: 48EEA77CT4VEWZZN6NKK1F0P
MQTT_PRODUCTINFO_MQTT: JgCGbHlndgz
MQTT_ID_MQTT: 48EEA77CT4VE|securemode=3,signmethod=hmacsha1|
MQTT_NAME_MQTT: 48EEA77CT4VEWZZN6NKK1F0P&JgCGbHlndgz
MQTT_KEY_MQTT: f2a6e65a8660db13936869b27840780d62679568
MQTT_BROKER: aliyun
HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
PORT: 1883
HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
PORT: 1883
UUID_MQTT: d6e7641cc95d6ca724befe90ee8e8e82
====================
BLINKER_PUB_TOPIC_MQTT: /JgCGbHlndgz/48EEA77CT4VEWZZN6NKK1F0P/s
BLINKER_SUB_TOPIC_MQTT: /JgCGbHlndgz/48EEA77CT4VEWZZN6NKK1F0P/r
Freeheap: 31352
mDNS responder started
webSocket_MQTT server started
ws://48EEA77CT4VEWZZN6NKK1F0P.local:81
Current time: Thu Sep 24 08:33:55 2020

NTP time: 1600907635
==== needInit ====
message: /share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
blinker server begin
Freeheap: 32592
HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
HTTPS payload: /share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
status... code: 200
{"detail": {"users": []}, "message": 1000}
payload: {"users":[]}
sharers data: {"users":[]}
load timing
load timing taskCount: 0
freshTiming wDay: 4, nowMins: 993, nowSeconds: 59635
nextTask: 10apartSeconds: 26765 wDay: 4
cbackData: 10
change apartSeconds: 3600
millis: 87262, connect_time: 87063
MQTT conn init success
=======================================================
=========== Blinker Auto Control mode init! ===========
Warning!EEPROM address 0-1279 is used for Auto Control!
=========== DON'T USE THESE EEPROM ADDRESS! ===========
=======================================================
_______autoStart_______
_aCount: 1
new BlinkerAUTO() _num: 0
_haveAuto: 0
_autoState: 0
_logicType: 0
_compareType: 0
Connecting to MQTT...
reconnect_time: 0
MQTT Connected!
Freeheap: 32336
checkNum count: 0
time: 1600936436,second: 56
now_time: 1600936380
dataStorage num: -1 ,1600936380
dataStorage count: 0
saveData: 27.30
saveData dataCount: 1
temp save: 27.30 time: 1600936380
data_dataCount: 1
checkNum count: 1
time: 1600936436,second: 56
now_time: 1600936380
dataStorage num: -1 ,1600936380
dataStorage count: 1
saveData: 49.00
saveData dataCount: 1
humi save: 49.00 time: 1600936380
data_dataCount: 2
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.30}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.64}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 29464
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 29464
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 28816
Freeheap: 29848
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.30}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.64}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 28488
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 28488
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 27840
Freeheap: 28872
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.30}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.64}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 30096
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 30096
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 29424
Freeheap: 30456
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.30}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.64}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 30096
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 30096
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 29424
Freeheap: 30456
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
num: 0, Connected from: 192.168.31.39, url: /
num: 1, Connected from: 192.168.31.39, url: /
dataUpdate: 0
Freeheap: 31312
getData _data_: []
num: 0 name: temp
Freeheap: 31280
getData _data_: []
num: 1 name: humi
Freeheap: 31264
dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[],"humi":[]}}
Freeheap: 31264
message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[],"humi":[]}}
blinker server begin
Freeheap: 31120
HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[],"humi":[]}}
... failed, error: read Timeout

MQTT Ping!
Freeheap: 29744
checkNum count: 2
time: 1600936480,second: 40
now_time: 1600936440
dataStorage num: 0 ,1600936440
dataStorage count: 2
saveData: 27.30
saveData dataCount: 2
temp save: 27.30 time: 1600936440
data_dataCount: 2
checkNum count: 2
time: 1600936480,second: 40
now_time: 1600936440
dataStorage num: 1 ,1600936440
dataStorage count: 2
saveData: 49.00
saveData dataCount: 2
humi save: 49.00 time: 1600936440
data_dataCount: 2
num: 1, get Text: {"get":"state"}, length: 15
isAvail_MQTT: 1
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.30}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.64}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 29336
WS response:
{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Success...
Freeheap: 29696
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
dataUpdate: 0
Freeheap: 31312
getData _data_: [,]
num: 0 name: temp
Freeheap: 31264
getData _data_: [,]
num: 1 name: humi
Freeheap: 31216
dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
Freeheap: 31216
message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
blinker server begin
Freeheap: 31072
HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
status... code: 200
{"detail": "max device data key size limit", "message": 1513}
ERROR: max device data key size limit
payload: {"detail": "max device data key size limit", "message": 1513}
MQTT Ping!
Freeheap: 31504
num: 1, get Text: {"get":"state"}, length: 15
isAvail_MQTT: 1
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.30}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.64}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 29440
WS response:
{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Success...
Freeheap: 29800
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
MQTT Ping!
Freeheap: 31784
checkNum count: 2
time: 1600936540,second: 40
now_time: 1600936500
dataStorage num: 0 ,1600936500
dataStorage count: 2
saveData: 27.30
saveData dataCount: 1
temp save: 27.30 time: 1600936500
data_dataCount: 2
checkNum count: 2
time: 1600936540,second: 40
now_time: 1600936500
dataStorage num: 1 ,1600936500
dataStorage count: 2
saveData: 49.00
saveData dataCount: 1
humi save: 49.00 time: 1600936500
data_dataCount: 2
MQTT Ping!
Freeheap: 31976
num: 1, get Text: {"get":"state"}, length: 15
isAvail_MQTT: 1
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.60}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.94}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 29912
WS response:
{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Success...
Freeheap: 30272
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
Disconnected! 1
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.60}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.94}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 29896
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 29896
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 29224
Freeheap: 30256
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
checkNum count: 2
time: 1600936600,second: 40
now_time: 1600936560
dataStorage num: 0 ,1600936560
dataStorage count: 2
saveData: 27.60
saveData dataCount: 2
temp save: 27.60 time: 1600936560
data_dataCount: 2
checkNum count: 2
time: 1600936600,second: 40
now_time: 1600936560
dataStorage num: 1 ,1600936560
dataStorage count: 2
saveData: 49.00
saveData dataCount: 2
humi save: 49.00 time: 1600936560
data_dataCount: 2
dataUpdate: 0
Freeheap: 31976
getData _data_: [,]
num: 0 name: temp
Freeheap: 31928
getData _data_: [,]
num: 1 name: humi
Freeheap: 31880
dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
Freeheap: 31880
message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
blinker server begin
Freeheap: 31736
HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
... failed, error: read Timeout

MQTT Ping!
Freeheap: 31256

jianfengbeyond 发表于 2020-9-24 16:42


jianfengbeyond 发表于 2020-9-24 16:43

奈何col 发表于 2020-9-24 14:42
请提供下设备端调试信息

以下都是没开启加密传输功能的:


temp save: 27.30 time: 1600936440
data_dataCount: 2
checkNum count: 2
time: 1600936480,second: 40
now_time: 1600936440
dataStorage num: 1 ,1600936440
dataStorage count: 2
saveData: 49.00
saveData dataCount: 2
humi save: 49.00 time: 1600936440
data_dataCount: 2
num: 1, get Text: {"get":"state"}, length: 15
isAvail_MQTT: 1
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.30}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.64}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 29336
WS response:
{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Success...
Freeheap: 29696
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
dataUpdate: 0
Freeheap: 31312
getData _data_: [,]
num: 0 name: temp
Freeheap: 31264
getData _data_: [,]
num: 1 name: humi
Freeheap: 31216
dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
Freeheap: 31216
message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
blinker server begin
Freeheap: 31072
HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
status... code: 200
{"detail": "max device data key size limit", "message": 1513}
ERROR: max device data key size limit
payload: {"detail": "max device data key size limit", "message": 1513}
MQTT Ping!
Freeheap: 31504
num: 1, get Text: {"get":"state"}, length: 15
isAvail_MQTT: 1
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.30}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.64}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 29440
WS response:
{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.30},"hic":{"val":27.64},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Success...
Freeheap: 29800
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
MQTT Ping!
Freeheap: 31784
checkNum count: 2
time: 1600936540,second: 40
now_time: 1600936500
dataStorage num: 0 ,1600936500
dataStorage count: 2
saveData: 27.30
saveData dataCount: 1
temp save: 27.30 time: 1600936500
data_dataCount: 2
checkNum count: 2
time: 1600936540,second: 40
now_time: 1600936500
dataStorage num: 1 ,1600936500
dataStorage count: 2
saveData: 49.00
saveData dataCount: 1
humi save: 49.00 time: 1600936500
data_dataCount: 2
MQTT Ping!
Freeheap: 31976
num: 1, get Text: {"get":"state"}, length: 15
isAvail_MQTT: 1
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.60}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.94}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 29912
WS response:
{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Success...
Freeheap: 30272
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
Disconnected! 1
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.60}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.94}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 29896
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 29896
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 29224
Freeheap: 30256
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
checkNum count: 2
time: 1600936600,second: 40
now_time: 1600936560
dataStorage num: 0 ,1600936560
dataStorage count: 2
saveData: 27.60
saveData dataCount: 2
temp save: 27.60 time: 1600936560
data_dataCount: 2
checkNum count: 2
time: 1600936600,second: 40
now_time: 1600936560
dataStorage num: 1 ,1600936560
dataStorage count: 2
saveData: 49.00
saveData dataCount: 2
humi save: 49.00 time: 1600936560
data_dataCount: 2
dataUpdate: 0
Freeheap: 31976
getData _data_: [,]
num: 0 name: temp
Freeheap: 31928
getData _data_: [,]
num: 1 name: humi
Freeheap: 31880
dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
Freeheap: 31880
message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
blinker server begin
Freeheap: 31736
HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
... failed, error: read Timeout

MQTT Ping!
Freeheap: 31256
Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
data: {"get":"state"}
fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
Authority uuid
available: 1
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.0"
add.
checkNum count: 0
autoFormatData key: humi, json: "humi":{"val":49.00}
add.
checkNum count: 0
autoFormatData key: temp, json: "temp":{"val":27.60}
add.
checkNum count: 0
autoFormatData key: hic, json: "hic":{"val":27.94}
add.
checkNum count: 0
autoFormatData key: tset, json: "tset":{"val":45.00}
add.
checkNum count: 0
autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
add.
print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}}
Proto print...
Freeheap: 29120
isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 29120
{"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":49.00},"temp":{"val":27.60},"hic":{"val":27.94},"tset":{"val":45.00},"PID_TEMP":{"val":0.00}},"fromDevice":"48EEA77CT4VE|securemode=3,signmethod=hmacsha1|","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
...OK!
Freeheap: 28448
Freeheap: 29480
heartBeat isParsed
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
checkNum count: 5
isParsed
dataUpdate: 0
Freeheap: 31080
getData _data_: [,]
num: 0 name: temp
Freeheap: 31032
getData _data_: [,]
num: 1 name: humi
Freeheap: 30984
dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
Freeheap: 30984
message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
blinker server begin
Freeheap: 30840
HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
status... code: 200
{"detail": "max device data key size limit", "message": 1513}
ERROR: max device data key size limit
payload: {"detail": "max device data key size limit", "message": 1513}
checkNum count: 2
time: 1600936660,second: 40
now_time: 1600936620
dataStorage num: 0 ,1600936620
dataStorage count: 2
saveData: 27.60
saveData dataCount: 1
temp save: 27.60 time: 1600936620
data_dataCount: 2
checkNum count: 2
time: 1600936660,second: 40
now_time: 1600936620
dataStorage num: 1 ,1600936620
dataStorage count: 2
saveData: 49.00
saveData dataCount: 1
humi save: 49.00 time: 1600936620
data_dataCount: 2
MQTT Ping!
Freeheap: 31872
MQTT Ping!
Freeheap: 31872
checkNum count: 2
time: 1600936720,second: 40
now_time: 1600936680
dataStorage num: 0 ,1600936680
dataStorage count: 2
saveData: 27.60
saveData dataCount: 2
temp save: 27.60 time: 1600936680
data_dataCount: 2
checkNum count: 2
time: 1600936720,second: 40
now_time: 1600936680
dataStorage num: 1 ,1600936680
dataStorage count: 2
saveData: 49.00
saveData dataCount: 2
humi save: 49.00 time: 1600936680
data_dataCount: 2
MQTT Ping!
Freeheap: 31976
MQTT Ping!
Freeheap: 32040
dataUpdate: 0
Freeheap: 31952
getData _data_: [,]
num: 0 name: temp
Freeheap: 31904
getData _data_: [,]
num: 1 name: humi
Freeheap: 31856
dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
Freeheap: 31856
message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
blinker server begin
Freeheap: 31712
HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[,],"humi":[,]}}
status... code: 200
{"detail": "max device data key size limit", "message": 1513}
ERROR: max device data key size limit
payload: {"detail": "max device data key size limit", "message": 1513}
checkNum count: 2
time: 1600936780,second: 40
now_time: 1600936740
MQTT Ping!
Freeheap: 32344

奈何col 发表于 2020-9-24 19:24

payload: {"detail": "max device data key size limit", "message": 1513}
免费用户只有5个存储key,您已经用完了。
可以通过APP》开发者,移除之前的数据key;也可以选择购买专业版获得更多可用存储key

jianfengbeyond 发表于 2020-9-25 16:51

奈何col 发表于 2020-9-24 19:24
payload: {"detail": "max device data key size limit", "message": 1513}
免费用户只有5个存储k ...

已经移除了 没用的都删除了 还是不行 估计是blinker的服务器设置问题吧 删除后 新建的不行

奈何col 发表于 2020-9-25 17:09

jianfengbeyond 发表于 2020-9-25 16:51
已经移除了 没用的都删除了 还是不行 估计是blinker的服务器设置问题吧 删除后 新建的不行 ...
app》开发者,截图看看数据key用量呢。
还是不行的话,请看看是不是还有payload: {"detail": "max device data key size limit", "message": 1513}
这个提示
页: [1] 2
查看完整版本: blinker 点灯科技 ESP8266 取消加密传输后 历史数据存储失效