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

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 4064|回复: 13

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

[复制链接]
发表于 2020-9-24 09:05 | 显示全部楼层 |阅读模式
blinker 点灯科技 ESP8266 取消加密传输后 历史数据存储失效,添加 #define BLINKER_WITHOUT_SSL   后历史数据云存储功能失效BUG。
头部代码如下:



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




发表于 2020-9-24 14:42 | 显示全部楼层
请提供下设备端调试信息
 楼主| 发表于 2020-9-24 16:04 | 显示全部楼层
奈何col 发表于 2020-9-24 14:42
请提供下设备端调试信息

[16754] WiFi Connected.
[16754] IP Address:
[16754] 192.168.31.100
[16792] [HTTP] begin: https://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=f2bb2a026eed&version=0.1.0&protocol=mqtts
[18318] [HTTP] GET... code: 200
[18327] reply was:
[18328] ==============================
[18328] {"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}
[18351] ==============================
[18356] _num: 5
[18356] ====================
[18359] DEVICE_NAME_MQTT: 48EEA77CT4VEWZZN6NKK1F0P
[18363] MQTT_PRODUCTINFO_MQTT: JgCGbHlndgz
[18367] MQTT_ID_MQTT: 48EEA77CT4VEWZZN6NKK1F0P
[18371] MQTT_NAME_MQTT: Pb673nsJFPx5XbQ6q5CS000000
[18376] MQTT_KEY_MQTT: ^1^1600934393786^4e365cb31832f40
[18381] MQTT_BROKER: aliyun
[18383] HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
[18388] PORT: 1883
[18390] HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
[18395] PORT: 1883
[18397] UUID_MQTT: d6e7641cc95d6ca724befe90ee8e8e82
[18401] ====================
[18404] BLINKER_PUB_TOPIC_MQTT: /JgCGbHlndgz/48EEA77CT4VEWZZN6NKK1F0P/s
[18410] BLINKER_SUB_TOPIC_MQTT: /JgCGbHlndgz/48EEA77CT4VEWZZN6NKK1F0P/r
[18417] Freeheap: 4048
[18424] mDNS responder started
[18425] webSocket_MQTT server started
[18425] ws://48EEA77CT4VEWZZN6NKK1F0P.local:81
27.9375
28.0000
[19430] Current time: Thu Sep 24 07:59:54 2020

[19430] NTP time: 1600905594
[19431] ==== needInit ====
[19431] message: /share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
[19436] blinker server begin
[19439] Freeheap: 26144
[26214] HTTPS begin: https://iot.diandeng.tech/api/v1/user/device/share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
[26214] HTTPS payload: /share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
[26222] [HTTP] status... code: 200
[26227] {"detail": {"users": []}, "message": 1000}
[26230] payload: {"users":[]}
[26234] sharers data: {"users":[]}
[26236] load timing
[26238] load timing taskCount: 0
[26240] freshTiming wDay: 4, nowMins: 960, nowSeconds: 57601
[26246] nextTask: 10  apartSeconds: 28799 wDay: 4
[26250] cbackData: 10
[26252] change apartSeconds: 3600
[26355] millis: 26355, connect_time: 19431
[26355] MQTT conn init success
[26356] =======================================================
[26356] =========== Blinker Auto Control mode init! ===========
[26362] Warning!EEPROM address 0-1279 is used for Auto Control!
[26368] =========== DON'T USE THESE EEPROM ADDRESS! ===========
[26373] =======================================================
[26379] _______autoStart_______
[26383] _aCount: 1
[26384] new BlinkerAUTO() _num: 0
[26387] _haveAuto: 0
[26389] _autoState: 0
[26391] _logicType: 0
[26393] _compareType: 0
[26396] Connecting to MQTT...
[26398] reconnect_time: 0
[37190] Connection failed
[37190] Retrying MQTT connection in 5 seconds...
28.0000
27.9375
28.0000
28.0000
28.0000
28.0000
28.0000
[42190] Connecting to MQTT...
[42190] reconnect_time: 1
[52391] Connection failed
[52391] Retrying MQTT connection in 5 seconds...
[52392] _disFreshTime: 52392
[52392] _disconnectCount: 2
28.0000
28.0000
28.0000
28.0000
28.0000
28.0000
28.0000
[57391] Connecting to MQTT...
[57391] reconnect_time: 2
[61755] MQTT Connected!
[61755] Freeheap: 5160
28.0000
28.0000
28.0000
28.0625
[65029] checkNum count: 0
[65029] time: 1600934439,second: 39
[65029] now_time: 1600934400
[65029] dataStorage num: -1 ,1600934400
[65029] dataStorage count: 0
[65032] saveData: 27.30
[65034] saveData dataCount: 1
[65037] temp save: 27.30 time: 1600934400
[65040] data_dataCount: 1
[65043] checkNum count: 1
[65045] time: 1600934439,second: 39
[65048] now_time: 1600934400
[65051] dataStorage num: -1 ,1600934400
[65054] dataStorage count: 1
[65057] saveData: 49.00
[65059] saveData dataCount: 1
[65062] humi save: 49.00 time: 1600934400
[65066] 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
[85159] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[85162] data: {"get":"state"}
[85164] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[85168] Authority uuid
[85176] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[85184] data: {"get":"state"}
[85186] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[85191] Authority uuid
[85200] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[85207] data: {"get":"state"}
[85209] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[85214] Authority uuid
[85236] available: 1
[85236] checkAvail: 1
[85237] parse data: {"get":"state"}
[85237] defined BLINKER_ARDUINOJSON
[85237] autoManager begin: 0 0
[85239] autoFormatData key: state, json: "state":"online"
[85243] new.
[85245] timer codes: 000
[85247] autoFormatData key: timer, json: "timer":"000"
[85252] add.
[85253] autoFormatData key: version, json: "version":"0.1.0"
[85258] add.
[85260] checkNum count: 0
[85262] autoFormatData key: humi, json: "humi":{"val":49.00}
[85267] add.
[85269] checkNum count: 0
[85271] autoFormatData key: temp, json: "temp":{"val":27.40}
[85276] add.
[85278] checkNum count: 0
[85280] autoFormatData key: hic, json: "hic":{"val":27.74}
[85285] add.
[85286] checkNum count: 0
[85289] autoFormatData key: tset, json: "tset":{"val":45.00}
[85294] add.
[85295] checkNum count: 0
[85298] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":28.00}
[85304] add.
[85305] 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}}
[85320] Proto print...
[85322] Freeheap: 2912
[85324] 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"}
[85350] MQTT Publish...
[85352] Freeheap: 2912
[85440] {"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"}
[85453] ...OK!
[85455] Freeheap: 2928
[85457] Freeheap: 3960
[85459] heartBeat isParsed
[85462] checkNum count: 5
[85464] checkNum count: 5
[85466] checkNum count: 5
[85468] checkNum count: 5
[85471] checkNum count: 5
[85473] isParsed
28.0625
28.0000
28.0625
28.0000
28.0000
[89648] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[89651] data: {"get":"state"}
[89653] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[89658] Authority uuid
[89681] available: 1
[89681] checkAvail: 1
[89681] parse data: {"get":"state"}
[89681] defined BLINKER_ARDUINOJSON
[89682] autoManager begin: 0 0
[89683] autoFormatData key: state, json: "state":"online"
[89688] new.
[89689] timer codes: 000
[89691] autoFormatData key: timer, json: "timer":"000"
[89696] add.
[89697] autoFormatData key: version, json: "version":"0.1.0"
[89703] add.
[89704] checkNum count: 0
[89706] autoFormatData key: humi, json: "humi":{"val":49.00}
[89712] add.
[89713] checkNum count: 0
[89715] autoFormatData key: temp, json: "temp":{"val":27.30}
[89721] add.
[89722] checkNum count: 0
[89724] autoFormatData key: hic, json: "hic":{"val":27.64}
[89729] add.
[89731] checkNum count: 0
[89733] autoFormatData key: tset, json: "tset":{"val":45.00}
[89738] add.
[89740] checkNum count: 0
[89742] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":28.00}
[89748] add.
[89749] 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}}
[89764] Proto print...
[89766] Freeheap: 2928
[89769] 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"}
[89794] MQTT Publish...
[89796] Freeheap: 2928
[89856] {"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"}
[89870] ...OK!
[89872] Freeheap: 2928
[89874] Freeheap: 3960
[89876] heartBeat isParsed
[89878] checkNum count: 5
[89880] checkNum count: 5
[89883] checkNum count: 5
[89885] checkNum count: 5
[89887] checkNum count: 5
[89890] isParsed
28.0000
28.0625
28.0625
28.0000
28.0000
[93493] 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
[114114] num: 0, get Text: {"btn-123":"tap"}, length: 17
[114115] isAvail_MQTT: 1
[114135] available: 1
[114135] checkAvail: 1
[114136] parse data: {"btn-123":"tap"}
[114136] defined BLINKER_ARDUINOJSON
[114137] autoManager begin: 0 0
[114138] checkNum count: 5
[114140] checkNum count: 5
[114143] checkNum count: 5
[114145] checkNum count: 5
[114148] checkNum count: 5
[114150] Blinker readString: {"btn-123":"tap"}
[114155] autoFormatData key: vibrate, json: "vibrate":200
[114159] new.
[114161] autoFormatData key: Time(S), json: "Time(S)":114
[114166] add.
[114168] autoFormatData key: NTP Time, json: "NTP Time":"16 1"
[114173] add.
[114174] autoFormatData key: 鐩稿婀垮害: , json: "鐩稿婀垮害: ":"49.00  %"
[114181] add.
[114182] autoFormatData key: 姘旀俯: , json: "姘旀俯: ":"27.30  鈩?
[114188] add.
[114190] autoFormatData key: 浣撴劅娓╁害: , json: "浣撴劅娓╁害: ":"27.64  鈩"
[114197] add.
[114198] autoFormatData key: PID娓╁害: , json: "PID娓╁害: ":"28.06  鈩?
[114205] add.
[114206] autoFormatData key: Free memory: , json: "Free memory: ":"3.45 KB"
[114213] add.
[114214] autoFormatData key: Last reset: , json: "Last reset: ":"External System"
[114221] add.
[114266] 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"}
[114275] Proto print...
[114278] Freeheap: 3568
[114280] WS response:
[114282] {"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"}
[114301] Success...
[114306] Freeheap: 3256
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
28.0625
[119886] MQTT Ping!
[119886] Freeheap: 4616
[120454] dataUpdate: 0
[120455] Freeheap: 4528
[120455] getData _data_: [[1600934400,27.30]]
[120456] num: 0 name: temp
[120456] Freeheap: 4496
[120456] getData _data_: [[1600934400,49.00]]
[120460] num: 1 name: humi
[120463] Freeheap: 4480
[120465] dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600934400,27.30]],"humi":[[1600934400,49.00]]}}
[120478] Freeheap: 4480
[120480] message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600934400,27.30]],"humi":[[1600934400,49.00]]}}
[120495] blinker server begin
[120495] Freeheap: 24808
[121669] HTTPS begin: https://iot.diandeng.tech/api/v1/user/device/cloudStorage/
[121669] HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600934400,27.30]],"humi":[[1600934400,49.00]]}}
[121678] [HTTP] status... code: 200
[121684] {"detail": "max device data key size limit", "message": 1513}
[121688] ERROR: max device data key size limit
[121692] payload: {"detail": "max device data key size limit", "message": 1513}
28.0625
[121887] Disconnected! 0
28.0000
28.0000
28.0625
[125011] checkNum count: 2
[125011] time: 1600934499,second: 39
[125011] now_time: 1600934460
[125012] dataStorage num: 0 ,1600934460
[125012] dataStorage count: 2
[125015] saveData: 27.30
[125017] saveData dataCount: 1
[125020] temp save: 27.30 time: 1600934460
[125023] data_dataCount: 2
[125026] checkNum count: 2
[125028] time: 1600934499,second: 39
[125032] now_time: 1600934460
[125034] dataStorage num: 1 ,1600934460
[125038] dataStorage count: 2
[125040] saveData: 49.00
[125043] saveData dataCount: 1
[125045] humi save: 49.00 time: 1600934460
[125049] data_dataCount: 2
28.0625
[125454] Connecting to MQTT...
[125454] reconnect_time: 0
[126739] MQTT Connected!
[126739] 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
[146721] Got: {"deviceType":"DiyArduino","data":{"btn-123":"tap"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[146724] data: {"btn-123":"tap"}
[146726] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[146731] Authority uuid
[146753] available: 1
[146753] checkAvail: 1
[146753] parse data: {"btn-123":"tap"}
[146754] defined BLINKER_ARDUINOJSON
[146754] autoManager begin: 0 0
[146756] checkNum count: 5
[146758] checkNum count: 5
[146761] checkNum count: 5
[146763] checkNum count: 5
[146766] checkNum count: 5
[146768] Blinker readString: {"btn-123":"tap"}
[146773] autoFormatData key: vibrate, json: "vibrate":200
[146777] new.
[146779] autoFormatData key: Time(S), json: "Time(S)":146
[146784] add.
[146785] autoFormatData key: NTP Time, json: "NTP Time":"16 2"
[146791] add.
[146792] autoFormatData key: 鐩稿婀垮害: , json: "鐩稿婀垮害: ":"49.00  %"
[146799] add.
[146800] autoFormatData key: 姘旀俯: , json: "姘旀俯: ":"27.30  鈩?
[146806] add.
[146808] autoFormatData key: 浣撴劅娓╁害: , json: "浣撴劅娓╁害: ":"27.64  鈩"
[146815] add.
[146816] autoFormatData key: PID娓╁害: , json: "PID娓╁害: ":"28.00  鈩?
[146823] add.
[146824] autoFormatData key: Free memory: , json: "Free memory: ":"3.42 KB"
[146831] add.
[146832] autoFormatData key: Last reset: , json: "Last reset: ":"External System"
[146839] add.
[146883] 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"}
[146892] Proto print...
[146895] Freeheap: 3544
[146897] 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"}
[146928] MQTT Publish...
[146930] Freeheap: 3544
[146933] _print_times: 1
[147042] {"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"}
[147061] ...OK!
[147063] Freeheap: 3656
[147065] Freeheap: 4688
28.0000
28.0625
[148610] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[148613] data: {"get":"state"}
[148615] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[148620] Authority uuid
[148642] available: 1
[148643] checkAvail: 1
[148643] parse data: {"get":"state"}
[148643] defined BLINKER_ARDUINOJSON
[148644] autoManager begin: 0 0
[148645] autoFormatData key: state, json: "state":"online"
[148650] new.
[148652] timer codes: 000
[148654] autoFormatData key: timer, json: "timer":"000"
[148659] add.
[148660] autoFormatData key: version, json: "version":"0.1.0"
[148666] add.
[148667] checkNum count: 0
[148669] autoFormatData key: humi, json: "humi":{"val":49.00}
[148675] add.
[148676] checkNum count: 0
[148678] autoFormatData key: temp, json: "temp":{"val":27.30}
[148684] add.
[148685] checkNum count: 0
[148688] autoFormatData key: hic, json: "hic":{"val":27.64}
[148693] add.
[148694] checkNum count: 0
[148697] autoFormatData key: tset, json: "tset":{"val":45.00}
[148702] add.
[148704] checkNum count: 0
[148706] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":28.06}
[148712] add.
[148713] 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}}
[148729] Proto print...
[148731] Freeheap: 2624
[148733] 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"}
[148759] MQTT Publish...
[148761] Freeheap: 2624
[148802] {"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"}
[148816] ...OK!
[148817] Freeheap: 2624
[148819] Freeheap: 3656
[148821] heartBeat isParsed
[148824] checkNum count: 5
[148826] checkNum count: 5
[148829] checkNum count: 5
[148831] checkNum count: 5
[148834] checkNum count: 5
[148836] 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
[162601] Got: {"deviceType":"DiyArduino","data":{"btn-ts":"tap"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[162604] data: {"btn-ts":"tap"}
[162606] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[162611] Authority uuid
[162633] available: 1
[162633] checkAvail: 1
[162633] parse data: {"btn-ts":"tap"}
[162634] defined BLINKER_ARDUINOJSON
[162634] autoManager begin: 0 0
[162636] checkNum count: 5
[162638] checkNum count: 5
[162641] strWidgetsParse isParsed
[162644] strWidgetsParse: btn-ts
[162647] autoFormatData key: vibrate, json: "vibrate":200
[162652] new.
[162654] autoFormatData key: btn-ts, json: "btn-ts":{"ico":"fas fa-bath","clr":"#339933","tex":"鏅鸿兘鎭掓俯宸插紑鍚?}
[162664] add.
[162665] checkNum count: 5
[162667] checkNum count: 5
[162670] checkNum count: 5
[162672] isParsed
[162758] print: {"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#339933","tex":"鏅鸿兘鎭掓俯宸插紑鍚?}}
[162758] Proto print...
[162759] Freeheap: 3848
[162761] isJson: {"data":{"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#339933","tex":"鏅鑳芥亽娓╁凡寮€鍚?}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
[162781] MQTT Publish...
[162783] Freeheap: 3848
[162786] _print_times: 2
[162948] {"data":{"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#339933","tex":"鏅鸿兘鎭掓╁凡寮€鍚?}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
[162956] ...OK!
[162957] Freeheap: 3864
[162960] 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
[170184] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[170187] data: {"get":"state"}
[170189] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[170194] Authority uuid
[170202] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[170210] data: {"get":"state"}
[170212] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[170217] Authority uuid
[170239] available: 1
[170239] checkAvail: 1
[170240] parse data: {"get":"state"}
[170240] defined BLINKER_ARDUINOJSON
[170240] autoManager begin: 0 0
[170242] autoFormatData key: state, json: "state":"online"
[170247] new.
[170248] timer codes: 000
[170251] autoFormatData key: timer, json: "timer":"000"
[170256] add.
[170257] autoFormatData key: version, json: "version":"0.1.0"
[170262] add.
[170264] checkNum count: 0
[170266] autoFormatData key: humi, json: "humi":{"val":49.00}
[170272] add.
[170273] checkNum count: 0
[170275] autoFormatData key: temp, json: "temp":{"val":27.40}
[170281] add.
[170282] checkNum count: 0
[170285] autoFormatData key: hic, json: "hic":{"val":27.74}
[170290] add.
[170291] checkNum count: 0
[170294] autoFormatData key: tset, json: "tset":{"val":45.00}
[170299] add.
[170300] checkNum count: 0
[170303] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":28.06}
[170309] add.
[170310] 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}}
[170325] Proto print...
[170328] Freeheap: 2816
[170330] 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"}
[170356] MQTT Publish...
[170358] Freeheap: 2816
[170402] {"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"}
[170416] ...OK!
[170417] Freeheap: 2168
[170419] Freeheap: 3200
[170422] heartBeat isParsed
[170424] checkNum count: 5
[170427] checkNum count: 5
[170429] checkNum count: 5
[170431] checkNum count: 5
[170434] checkNum count: 5
[170436] 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
[181101] Got: {"deviceType":"DiyArduino","data":{"btn-ts":"tap"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[181104] data: {"btn-ts":"tap"}
[181106] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[181111] Authority uuid
[181135] available: 1
[181135] checkAvail: 1
[181135] parse data: {"btn-ts":"tap"}
[181135] defined BLINKER_ARDUINOJSON
[181136] autoManager begin: 0 0
[181138] checkNum count: 5
[181140] checkNum count: 5
[181142] strWidgetsParse isParsed
[181145] strWidgetsParse: btn-ts
[181149] autoFormatData key: vibrate, json: "vibrate":200
[181153] new.
[181155] autoFormatData key: btn-ts, json: "btn-ts":{"ico":"fas fa-bath","clr":"#CCCCCC","tex":"鏅鸿兘鎭掓俯宸插叧闂?}
[181165] add.
[181166] checkNum count: 5
[181169] checkNum count: 5
[181171] checkNum count: 5
[181174] isParsed
[181259] print: {"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#CCCCCC","tex":"鏅鸿兘鎭掓俯宸插叧闂?}}
[181259] Proto print...
[181259] Freeheap: 3864
[181262] isJson: {"data":{"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#CCCCCC","tex":"鏅鑳芥亽娓╁凡鍏抽棴"}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
[181282] MQTT Publish...
[181283] Freeheap: 3864
[181286] _print_times: 3
[181410] {"data":{"vibrate":200,"btn-ts":{"ico":"fas fa-bath","clr":"#CCCCCC","tex":"鏅鸿兘鎭掓╁凡鍏抽棴"}},"fromDevice":"48EEA77CT4VEWZZN6NKK1F0P","toDevice":"d6e7641cc95d6ca724befe90ee8e8e82","deviceType":"OwnApp"}
[181418] ...OK!
[181420] Freeheap: 3864
[181422] Freeheap: 4896
28.687500,100.000000
28.8125
28.8750
29.0000
29.0625
[184921] num: 0, Connected from: 192.168.31.39, url: /
[185026] checkNum count: 2
[185026] time: 1600934559,second: 39
[185026] now_time: 1600934520
[185026] dataStorage num: 0 ,1600934520
[185027] dataStorage count: 2
[185029] saveData: 27.40
[185031] saveData dataCount: 2
[185034] temp save: 27.40 time: 1600934520
[185038] data_dataCount: 2
[185041] checkNum count: 2
[185043] time: 1600934559,second: 39
[185046] now_time: 1600934520
[185049] dataStorage num: 1 ,1600934520
[185052] dataStorage count: 2
[185055] saveData: 49.00
[185057] saveData dataCount: 2
[185060] humi save: 49.00 time: 1600934520
[185064] data_dataCount: 2
29.1875
29.3125
29.3750
29.4375
[188744] Disconnected! 0
29.5625
29.6875
[189909] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[189912] data: {"get":"state"}
[189914] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[189919] Authority uuid
[189942] available: 1
[189942] checkAvail: 1
[189943] parse data: {"get":"state"}
[189943] defined BLINKER_ARDUINOJSON
[189943] autoManager begin: 0 0
[189945] autoFormatData key: state, json: "state":"online"
[189950] new.
[189951] timer codes: 000
[189954] autoFormatData key: timer, json: "timer":"000"
[189959] add.
[189960] autoFormatData key: version, json: "version":"0.1.0"
[189965] add.
[189967] checkNum count: 0
[189969] autoFormatData key: humi, json: "humi":{"val":49.00}
[189975] add.
[189976] checkNum count: 0
[189978] autoFormatData key: temp, json: "temp":{"val":27.40}
[189984] add.
[189985] checkNum count: 0
[189987] autoFormatData key: hic, json: "hic":{"val":27.74}
[189993] add.
[189994] checkNum count: 0
[189997] autoFormatData key: tset, json: "tset":{"val":45.00}
[190002] add.
[190003] checkNum count: 0
[190006] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":29.69}
[190012] add.
[190013] 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}}
[190028] Proto print...
[190031] Freeheap: 2640
[190033] 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"}
[190059] MQTT Publish...
[190061] Freeheap: 2640
[190182] {"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"}
[190196] ...OK!
[190198] Freeheap: 2640
[190200] Freeheap: 3672
[190202] heartBeat isParsed
[190205] checkNum count: 5
[190207] checkNum count: 5
[190209] checkNum count: 5
[190212] checkNum count: 5
[190214] checkNum count: 5
[190217] isParsed
29.7500
29.8750
29.9375
30.0000
30.1250
30.1875
30.2500
30.3125
30.3750
30.4375
30.5000
 楼主| 发表于 2020-9-24 16:28 | 显示全部楼层
jianfengbeyond 发表于 2020-9-24 16:04
[16754] WiFi Connected.
[16754] IP Address:
[16754] 192.168.31.100

搞错了 这个是开启了加密通信的记录
 楼主| 发表于 2020-9-24 16:38 | 显示全部楼层
奈何col 发表于 2020-9-24 14:42
请提供下设备端调试信息

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


WIFI杩炴帴鎴愬姛
IP:192.168.31.100
[11856]
[11856]
__       __                __
/\ \     /\ \    __        /\ \              v0.3.5
\ \ \___ \ \ \  /\_\    ___\ \ \/'\      __   _ __   
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
  \ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\  __/\ \ \./
   \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\  
    \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/  
    To better use blinker with your IoT project!
    Download latest blinker library here!
    => https://github.com/blinker-iot/blinker-library

[11893] _aliType:
[11894] _duerType:
[11896] _miType:
[11898] _authKey: f2bb2a026eed
[11901] Connecting to 24G
[11906] ESP8266_MQTT initialized...
[11906]
===========================================================
================== Blinker Timer loaded! ==================
Warning!EEPROM address 1536-2431 is used for Blinker Timer!
============= DON'T USE THESE EEPROM ADDRESS! =============
===========================================================

[11935] countdown state: false
[11936] _cdRunState: 0
[11938] _totalTime: 0
[11940] _runTime: 0
[11942] _action:
[11944] loop state: false
[11946] _lpRunState: 0
[11948] _times: 0
[11950] _tri_times: 0
[11952] _time1: 0
[11953] _action1:
[11955] _time2: 0
[11957] _action2:
[11958] _lpData: 0
[11960] checkNum count: 5
[11962] checkNum count: 5
[11965] checkNum count: 5
[11967] checkNum count: 5
[11969] checkNum count: 5
34.1875
[23715] WiFi Connected.
[23716] IP Address:
[23716] 192.168.31.100
[23752] [HTTP] begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=f2bb2a026eed&version=0.1.0&protocol=mqtt
[30447] [HTTP] GET... failed, error: read Timeout
[30447]
[30447] reply was:
[30447] ==============================
[30447]
[30447] ==============================
[30451] ERROR: Maybe you have put in the wrong AuthKey!
[30455] ERROR: Or maybe your request is too frequently!
[30460] ERROR: Or maybe your network is disconnected!
[33754] [HTTP] begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=f2bb2a026eed&version=0.1.0&protocol=mqtt
[39111] [HTTP] GET... failed, error: read Timeout
[39111]
[39111] reply was:
[39111] ==============================
[39111]
[39111] ==============================
[39115] ERROR: Maybe you have put in the wrong AuthKey!
[39119] ERROR: Or maybe your request is too frequently!
[39124] ERROR: Or maybe your network is disconnected!
[43763] [HTTP] begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=f2bb2a026eed&version=0.1.0&protocol=mqtt
[43905] [HTTP] GET... code: 200
[43910] reply was:
[43910] ==============================
[43910] {"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}
[43937] ==============================
[43942] _num: 4
[43942] ====================
[43945] DEVICE_NAME_MQTT: 48EEA77CT4VEWZZN6NKK1F0P
[43949] MQTT_PRODUCTINFO_MQTT: JgCGbHlndgz
[43953] MQTT_ID_MQTT: 48EEA77CT4VE|securemode=3,signmethod=hmacsha1|
[43959] MQTT_NAME_MQTT: 48EEA77CT4VEWZZN6NKK1F0P&JgCGbHlndgz
[43964] MQTT_KEY_MQTT: f2a6e65a8660db13936869b27840780d62679568
[43970] MQTT_BROKER: aliyun
[43972] HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
[43978] PORT: 1883
[43979] HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
[43984] PORT: 1883
[43986] UUID_MQTT: d6e7641cc95d6ca724befe90ee8e8e82
[43991] ====================
[43993] BLINKER_PUB_TOPIC_MQTT: /JgCGbHlndgz/48EEA77CT4VEWZZN6NKK1F0P/s
[44000] BLINKER_SUB_TOPIC_MQTT: /JgCGbHlndgz/48EEA77CT4VEWZZN6NKK1F0P/r
[44006] Freeheap: 31352
[44012] mDNS responder started
[44013] webSocket_MQTT server started
[44014] ws://48EEA77CT4VEWZZN6NKK1F0P.local:81
[87062] Current time: Thu Sep 24 08:33:55 2020

[87062] NTP time: 1600907635
[87063] ==== needInit ====
[87063] message: /share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
[87068] blinker server begin
[87070] Freeheap: 32592
[87120] HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
[87121] HTTPS payload: /share/device?deviceName=48EEA77CT4VEWZZN6NKK1F0P&key=f2bb2a026eed
[87128] [HTTP] status... code: 200
[87133] {"detail": {"users": []}, "message": 1000}
[87137] payload: {"users":[]}
[87140] sharers data: {"users":[]}
[87142] load timing
[87145] load timing taskCount: 0
[87147] freshTiming wDay: 4, nowMins: 993, nowSeconds: 59635
[87152] nextTask: 10  apartSeconds: 26765 wDay: 4
[87157] cbackData: 10
[87159] change apartSeconds: 3600
[87262] millis: 87262, connect_time: 87063
[87262] MQTT conn init success
[87262] =======================================================
[87263] =========== Blinker Auto Control mode init! ===========
[87269] Warning!EEPROM address 0-1279 is used for Auto Control!
[87274] =========== DON'T USE THESE EEPROM ADDRESS! ===========
[87280] =======================================================
[87286] _______autoStart_______
[87289] _aCount: 1
[87290] new BlinkerAUTO() _num: 0
[87294] _haveAuto: 0
[87295] _autoState: 0
[87297] _logicType: 0
[87299] _compareType: 0
[87304] Connecting to MQTT...
[87304] reconnect_time: 0
[87584] MQTT Connected!
[87584] Freeheap: 32336
[87585] checkNum count: 0
[87585] time: 1600936436,second: 56
[87585] now_time: 1600936380
[87585] dataStorage num: -1 ,1600936380
[87589] dataStorage count: 0
[87592] saveData: 27.30
[87594] saveData dataCount: 1
[87596] temp save: 27.30 time: 1600936380
[87600] data_dataCount: 1
[87602] checkNum count: 1
[87605] time: 1600936436,second: 56
[87608] now_time: 1600936380
[87610] dataStorage num: -1 ,1600936380
[87614] dataStorage count: 1
[87617] saveData: 49.00
[87619] saveData dataCount: 1
[87622] humi save: 49.00 time: 1600936380
[87625] data_dataCount: 2
[92461] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[92464] data: {"get":"state"}
[92466] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[92471] Authority uuid
[92494] available: 1
[92494] checkAvail: 1
[92494] parse data: {"get":"state"}
[92494] defined BLINKER_ARDUINOJSON
[92495] autoManager begin: 0 0
[92496] autoFormatData key: state, json: "state":"online"
[92501] new.
[92502] timer codes: 000
[92504] autoFormatData key: timer, json: "timer":"000"
[92509] add.
[92510] autoFormatData key: version, json: "version":"0.1.0"
[92516] add.
[92517] checkNum count: 0
[92519] autoFormatData key: humi, json: "humi":{"val":49.00}
[92525] add.
[92526] checkNum count: 0
[92528] autoFormatData key: temp, json: "temp":{"val":27.30}
[92534] add.
[92535] checkNum count: 0
[92537] autoFormatData key: hic, json: "hic":{"val":27.64}
[92542] add.
[92544] checkNum count: 0
[92546] autoFormatData key: tset, json: "tset":{"val":45.00}
[92551] add.
[92553] checkNum count: 0
[92555] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[92561] add.
[92562] 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}}
[92577] Proto print...
[92579] Freeheap: 29464
[92582] 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"}
[92609] MQTT Publish...
[92611] Freeheap: 29464
[92614] {"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"}
[92640] ...OK!
[92641] Freeheap: 28816
[92643] Freeheap: 29848
[92645] heartBeat isParsed
[92648] checkNum count: 5
[92650] checkNum count: 5
[92652] checkNum count: 5
[92655] checkNum count: 5
[92657] checkNum count: 5
[92659] isParsed
[92669] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[92675] data: {"get":"state"}
[92677] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[92681] Authority uuid
[92685] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[92697] data: {"get":"state"}
[92699] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[92704] Authority uuid
[92727] available: 1
[92727] checkAvail: 1
[92727] parse data: {"get":"state"}
[92728] defined BLINKER_ARDUINOJSON
[92728] autoManager begin: 0 0
[92730] autoFormatData key: state, json: "state":"online"
[92734] new.
[92736] timer codes: 000
[92738] autoFormatData key: timer, json: "timer":"000"
[92743] add.
[92744] autoFormatData key: version, json: "version":"0.1.0"
[92749] add.
[92751] checkNum count: 0
[92753] autoFormatData key: humi, json: "humi":{"val":49.00}
[92758] add.
[92760] checkNum count: 0
[92762] autoFormatData key: temp, json: "temp":{"val":27.30}
[92767] add.
[92769] checkNum count: 0
[92771] autoFormatData key: hic, json: "hic":{"val":27.64}
[92776] add.
[92777] checkNum count: 0
[92780] autoFormatData key: tset, json: "tset":{"val":45.00}
[92785] add.
[92786] checkNum count: 0
[92788] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[92795] add.
[92796] 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}}
[92811] Proto print...
[92813] Freeheap: 28488
[92815] 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"}
[92843] MQTT Publish...
[92844] Freeheap: 28488
[92847] {"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"}
[92873] ...OK!
[92875] Freeheap: 27840
[92877] Freeheap: 28872
[92879] heartBeat isParsed
[92881] checkNum count: 5
[92884] checkNum count: 5
[92886] checkNum count: 5
[92888] checkNum count: 5
[92891] checkNum count: 5
[92893] isParsed
[94978] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[94981] data: {"get":"state"}
[94983] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[94988] Authority uuid
[95010] available: 1
[95010] checkAvail: 1
[95010] parse data: {"get":"state"}
[95010] defined BLINKER_ARDUINOJSON
[95011] autoManager begin: 0 0
[95012] autoFormatData key: state, json: "state":"online"
[95017] new.
[95018] timer codes: 000
[95021] autoFormatData key: timer, json: "timer":"000"
[95026] add.
[95027] autoFormatData key: version, json: "version":"0.1.0"
[95032] add.
[95034] checkNum count: 0
[95036] autoFormatData key: humi, json: "humi":{"val":49.00}
[95041] add.
[95042] checkNum count: 0
[95045] autoFormatData key: temp, json: "temp":{"val":27.30}
[95050] add.
[95051] checkNum count: 0
[95054] autoFormatData key: hic, json: "hic":{"val":27.64}
[95059] add.
[95060] checkNum count: 0
[95062] autoFormatData key: tset, json: "tset":{"val":45.00}
[95068] add.
[95069] checkNum count: 0
[95071] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[95077] add.
[95078] 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}}
[95094] Proto print...
[95096] Freeheap: 30096
[95098] 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"}
[95126] MQTT Publish...
[95127] Freeheap: 30096
[95131] {"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"}
[95156] ...OK!
[95157] Freeheap: 29424
[95159] Freeheap: 30456
[95162] heartBeat isParsed
[95164] checkNum count: 5
[95166] checkNum count: 5
[95169] checkNum count: 5
[95171] checkNum count: 5
[95173] checkNum count: 5
[95176] isParsed
[95478] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[95481] data: {"get":"state"}
[95482] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[95487] Authority uuid
[95511] available: 1
[95511] checkAvail: 1
[95511] parse data: {"get":"state"}
[95511] defined BLINKER_ARDUINOJSON
[95512] autoManager begin: 0 0
[95513] autoFormatData key: state, json: "state":"online"
[95518] new.
[95520] timer codes: 000
[95522] autoFormatData key: timer, json: "timer":"000"
[95527] add.
[95528] autoFormatData key: version, json: "version":"0.1.0"
[95533] add.
[95535] checkNum count: 0
[95537] autoFormatData key: humi, json: "humi":{"val":49.00}
[95542] add.
[95543] checkNum count: 0
[95546] autoFormatData key: temp, json: "temp":{"val":27.30}
[95551] add.
[95552] checkNum count: 0
[95555] autoFormatData key: hic, json: "hic":{"val":27.64}
[95560] add.
[95561] checkNum count: 0
[95563] autoFormatData key: tset, json: "tset":{"val":45.00}
[95569] add.
[95570] checkNum count: 0
[95572] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[95578] add.
[95580] 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}}
[95595] Proto print...
[95597] Freeheap: 30096
[95599] 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"}
[95627] MQTT Publish...
[95628] Freeheap: 30096
[95632] {"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"}
[95657] ...OK!
[95658] Freeheap: 29424
[95661] Freeheap: 30456
[95663] heartBeat isParsed
[95665] checkNum count: 5
[95667] checkNum count: 5
[95670] checkNum count: 5
[95672] checkNum count: 5
[95675] checkNum count: 5
[95677] isParsed
[97413] num: 0, Connected from: 192.168.31.39, url: /
[98224] num: 1, Connected from: 192.168.31.39, url: /
[120016] dataUpdate: 0
[120016] Freeheap: 31312
[120017] getData _data_: [[1600936380,27.30]]
[120017] num: 0 name: temp
[120017] Freeheap: 31280
[120018] getData _data_: [[1600936380,49.00]]
[120022] num: 1 name: humi
[120024] Freeheap: 31264
[120027] dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936380,27.30]],"humi":[[1600936380,49.00]]}}
[120040] Freeheap: 31264
[120042] message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936380,27.30]],"humi":[[1600936380,49.00]]}}
[120055] blinker server begin
[120057] Freeheap: 31120
[125680] HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
[125680] HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936380,27.30]],"humi":[[1600936380,49.00]]}}
[125689] [HTTP] ... failed, error: read Timeout
[125694]
[125721] MQTT Ping!
[125721] Freeheap: 29744
[131980] checkNum count: 2
[131980] time: 1600936480,second: 40
[131980] now_time: 1600936440
[131981] dataStorage num: 0 ,1600936440
[131981] dataStorage count: 2
[131984] saveData: 27.30
[131986] saveData dataCount: 2
[131989] temp save: 27.30 time: 1600936440
[131992] data_dataCount: 2
[131995] checkNum count: 2
[131997] time: 1600936480,second: 40
[132001] now_time: 1600936440
[132003] dataStorage num: 1 ,1600936440
[132007] dataStorage count: 2
[132009] saveData: 49.00
[132012] saveData dataCount: 2
[132015] humi save: 49.00 time: 1600936440
[132018] data_dataCount: 2
[142059] num: 1, get Text: {"get":"state"}, length: 15
[142059] isAvail_MQTT: 1
[142080] available: 1
[142080] checkAvail: 1
[142080] parse data: {"get":"state"}
[142080] defined BLINKER_ARDUINOJSON
[142081] autoManager begin: 0 0
[142083] autoFormatData key: state, json: "state":"online"
[142088] new.
[142089] timer codes: 000
[142091] autoFormatData key: timer, json: "timer":"000"
[142096] add.
[142098] autoFormatData key: version, json: "version":"0.1.0"
[142103] add.
[142105] checkNum count: 0
[142107] autoFormatData key: humi, json: "humi":{"val":49.00}
[142112] add.
[142114] checkNum count: 0
[142116] autoFormatData key: temp, json: "temp":{"val":27.30}
[142121] add.
[142123] checkNum count: 0
[142125] autoFormatData key: hic, json: "hic":{"val":27.64}
[142130] add.
[142132] checkNum count: 0
[142134] autoFormatData key: tset, json: "tset":{"val":45.00}
[142140] add.
[142141] checkNum count: 0
[142143] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[142149] add.
[142151] 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}}
[142166] Proto print...
[142168] Freeheap: 29336
[142170] WS response:
[142172] {"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}}
[142187] Success...
[142192] Freeheap: 29696
[142192] heartBeat isParsed
[142194] checkNum count: 5
[142196] checkNum count: 5
[142198] checkNum count: 5
[142201] checkNum count: 5
[142203] checkNum count: 5
[142206] isParsed
[145705] dataUpdate: 0
[145706] Freeheap: 31312
[145707] getData _data_: [[1600936380,27.30],[1600936440,27.30]]
[145707] num: 0 name: temp
[145707] Freeheap: 31264
[145709] getData _data_: [[1600936380,49.00],[1600936440,49.00]]
[145715] num: 1 name: humi
[145717] Freeheap: 31216
[145720] dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936380,27.30],[1600936440,27.30]],"humi":[[1600936380,49.00],[1600936440,49.00]]}}
[145736] Freeheap: 31216
[145738] message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936380,27.30],[1600936440,27.30]],"humi":[[1600936380,49.00],[1600936440,49.00]]}}
[145754] blinker server begin
[145757] Freeheap: 31072
[150393] HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
[150394] HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936380,27.30],[1600936440,27.30]],"humi":[[1600936380,49.00],[1600936440,49.00]]}}
[150406] [HTTP] status... code: 200
[150410] {"detail": "max device data key size limit", "message": 1513}
[150416] ERROR: max device data key size limit
[150419] payload: {"detail": "max device data key size limit", "message": 1513}
[156313] MQTT Ping!
[156313] Freeheap: 31504
[162986] num: 1, get Text: {"get":"state"}, length: 15
[162986] isAvail_MQTT: 1
[163006] available: 1
[163007] checkAvail: 1
[163007] parse data: {"get":"state"}
[163007] defined BLINKER_ARDUINOJSON
[163008] autoManager begin: 0 0
[163009] autoFormatData key: state, json: "state":"online"
[163014] new.
[163016] timer codes: 000
[163018] autoFormatData key: timer, json: "timer":"000"
[163023] add.
[163024] autoFormatData key: version, json: "version":"0.1.0"
[163030] add.
[163031] checkNum count: 0
[163033] autoFormatData key: humi, json: "humi":{"val":49.00}
[163039] add.
[163040] checkNum count: 0
[163042] autoFormatData key: temp, json: "temp":{"val":27.30}
[163048] add.
[163049] checkNum count: 0
[163052] autoFormatData key: hic, json: "hic":{"val":27.64}
[163057] add.
[163058] checkNum count: 0
[163061] autoFormatData key: tset, json: "tset":{"val":45.00}
[163066] add.
[163068] checkNum count: 0
[163070] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[163076] add.
[163077] 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}}
[163092] Proto print...
[163095] Freeheap: 29440
[163097] WS response:
[163099] {"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}}
[163114] Success...
[163118] Freeheap: 29800
[163119] heartBeat isParsed
[163120] checkNum count: 5
[163123] checkNum count: 5
[163125] checkNum count: 5
[163127] checkNum count: 5
[163130] checkNum count: 5
[163132] isParsed
[186889] MQTT Ping!
[186889] Freeheap: 31784
[191975] checkNum count: 2
[191975] time: 1600936540,second: 40
[191975] now_time: 1600936500
[191975] dataStorage num: 0 ,1600936500
[191976] dataStorage count: 2
[191978] saveData: 27.30
[191981] saveData dataCount: 1
[191983] temp save: 27.30 time: 1600936500
[191987] data_dataCount: 2
[191990] checkNum count: 2
[191992] time: 1600936540,second: 40
[191995] now_time: 1600936500
[191998] dataStorage num: 1 ,1600936500
[192002] dataStorage count: 2
[192004] saveData: 49.00
[192006] saveData dataCount: 1
[192009] humi save: 49.00 time: 1600936500
[192013] data_dataCount: 2
[217467] MQTT Ping!
[217467] Freeheap: 31976
[222778] num: 1, get Text: {"get":"state"}, length: 15
[222778] isAvail_MQTT: 1
[222799] available: 1
[222799] checkAvail: 1
[222799] parse data: {"get":"state"}
[222799] defined BLINKER_ARDUINOJSON
[222800] autoManager begin: 0 0
[222802] autoFormatData key: state, json: "state":"online"
[222807] new.
[222808] timer codes: 000
[222810] autoFormatData key: timer, json: "timer":"000"
[222815] add.
[222817] autoFormatData key: version, json: "version":"0.1.0"
[222822] add.
[222824] checkNum count: 0
[222826] autoFormatData key: humi, json: "humi":{"val":49.00}
[222831] add.
[222833] checkNum count: 0
[222835] autoFormatData key: temp, json: "temp":{"val":27.60}
[222840] add.
[222842] checkNum count: 0
[222844] autoFormatData key: hic, json: "hic":{"val":27.94}
[222849] add.
[222851] checkNum count: 0
[222853] autoFormatData key: tset, json: "tset":{"val":45.00}
[222859] add.
[222860] checkNum count: 0
[222862] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[222868] add.
[222870] 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}}
[222885] Proto print...
[222887] Freeheap: 29912
[222889] WS response:
[222891] {"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}}
[222906] Success...
[222911] Freeheap: 30272
[222911] heartBeat isParsed
[222913] checkNum count: 5
[222915] checkNum count: 5
[222917] checkNum count: 5
[222920] checkNum count: 5
[222922] checkNum count: 5
[222925] isParsed
[240947] Disconnected! 1
[243029] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[243031] data: {"get":"state"}
[243033] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[243038] Authority uuid
[243063] available: 1
[243063] checkAvail: 1
[243063] parse data: {"get":"state"}
[243063] defined BLINKER_ARDUINOJSON
[243064] autoManager begin: 0 0
[243066] autoFormatData key: state, json: "state":"online"
[243071] new.
[243072] timer codes: 000
[243074] autoFormatData key: timer, json: "timer":"000"
[243079] add.
[243081] autoFormatData key: version, json: "version":"0.1.0"
[243086] add.
[243088] checkNum count: 0
[243090] autoFormatData key: humi, json: "humi":{"val":49.00}
[243095] add.
[243097] checkNum count: 0
[243099] autoFormatData key: temp, json: "temp":{"val":27.60}
[243104] add.
[243106] checkNum count: 0
[243108] autoFormatData key: hic, json: "hic":{"val":27.94}
[243113] add.
[243115] checkNum count: 0
[243117] autoFormatData key: tset, json: "tset":{"val":45.00}
[243123] add.
[243124] checkNum count: 0
[243126] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[243132] add.
[243134] 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}}
[243149] Proto print...
[243151] Freeheap: 29896
[243153] 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"}
[243181] MQTT Publish...
[243183] Freeheap: 29896
[243186] {"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"}
[243212] ...OK!
[243213] Freeheap: 29224
[243215] Freeheap: 30256
[243218] heartBeat isParsed
[243220] checkNum count: 5
[243223] checkNum count: 5
[243225] checkNum count: 5
[243228] checkNum count: 5
[243230] checkNum count: 5
[243232] isParsed
[251974] checkNum count: 2
[251974] time: 1600936600,second: 40
[251974] now_time: 1600936560
[251974] dataStorage num: 0 ,1600936560
[251975] dataStorage count: 2
[251977] saveData: 27.60
[251980] saveData dataCount: 2
[251982] temp save: 27.60 time: 1600936560
[251986] data_dataCount: 2
[251989] checkNum count: 2
[251991] time: 1600936600,second: 40
[251994] now_time: 1600936560
[251997] dataStorage num: 1 ,1600936560
[252001] dataStorage count: 2
[252003] saveData: 49.00
[252006] saveData dataCount: 2
[252008] humi save: 49.00 time: 1600936560
[252012] data_dataCount: 2
[270444] dataUpdate: 0
[270445] Freeheap: 31976
[270446] getData _data_: [[1600936500,27.30],[1600936560,27.60]]
[270446] num: 0 name: temp
[270446] Freeheap: 31928
[270448] getData _data_: [[1600936500,49.00],[1600936560,49.00]]
[270454] num: 1 name: humi
[270456] Freeheap: 31880
[270459] dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936500,27.30],[1600936560,27.60]],"humi":[[1600936500,49.00],[1600936560,49.00]]}}
[270475] Freeheap: 31880
[270477] message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936500,27.30],[1600936560,27.60]],"humi":[[1600936500,49.00],[1600936560,49.00]]}}
[270493] blinker server begin
[270496] Freeheap: 31736
[276429] HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
[276429] HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936500,27.30],[1600936560,27.60]],"humi":[[1600936500,49.00],[1600936560,49.00]]}}
[276441] [HTTP] ... failed, error: read Timeout
[276446]
[276472] MQTT Ping!
[276472] Freeheap: 31256
 楼主| 发表于 2020-9-24 16:42 | 显示全部楼层
Screenshot_2020-09-24-16-40-22.png
 楼主| 发表于 2020-9-24 16:43 | 显示全部楼层
奈何col 发表于 2020-9-24 14:42
请提供下设备端调试信息

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


[131989] temp save: 27.30 time: 1600936440
[131992] data_dataCount: 2
[131995] checkNum count: 2
[131997] time: 1600936480,second: 40
[132001] now_time: 1600936440
[132003] dataStorage num: 1 ,1600936440
[132007] dataStorage count: 2
[132009] saveData: 49.00
[132012] saveData dataCount: 2
[132015] humi save: 49.00 time: 1600936440
[132018] data_dataCount: 2
[142059] num: 1, get Text: {"get":"state"}, length: 15
[142059] isAvail_MQTT: 1
[142080] available: 1
[142080] checkAvail: 1
[142080] parse data: {"get":"state"}
[142080] defined BLINKER_ARDUINOJSON
[142081] autoManager begin: 0 0
[142083] autoFormatData key: state, json: "state":"online"
[142088] new.
[142089] timer codes: 000
[142091] autoFormatData key: timer, json: "timer":"000"
[142096] add.
[142098] autoFormatData key: version, json: "version":"0.1.0"
[142103] add.
[142105] checkNum count: 0
[142107] autoFormatData key: humi, json: "humi":{"val":49.00}
[142112] add.
[142114] checkNum count: 0
[142116] autoFormatData key: temp, json: "temp":{"val":27.30}
[142121] add.
[142123] checkNum count: 0
[142125] autoFormatData key: hic, json: "hic":{"val":27.64}
[142130] add.
[142132] checkNum count: 0
[142134] autoFormatData key: tset, json: "tset":{"val":45.00}
[142140] add.
[142141] checkNum count: 0
[142143] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[142149] add.
[142151] 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}}
[142166] Proto print...
[142168] Freeheap: 29336
[142170] WS response:
[142172] {"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}}
[142187] Success...
[142192] Freeheap: 29696
[142192] heartBeat isParsed
[142194] checkNum count: 5
[142196] checkNum count: 5
[142198] checkNum count: 5
[142201] checkNum count: 5
[142203] checkNum count: 5
[142206] isParsed
[145705] dataUpdate: 0
[145706] Freeheap: 31312
[145707] getData _data_: [[1600936380,27.30],[1600936440,27.30]]
[145707] num: 0 name: temp
[145707] Freeheap: 31264
[145709] getData _data_: [[1600936380,49.00],[1600936440,49.00]]
[145715] num: 1 name: humi
[145717] Freeheap: 31216
[145720] dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936380,27.30],[1600936440,27.30]],"humi":[[1600936380,49.00],[1600936440,49.00]]}}
[145736] Freeheap: 31216
[145738] message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936380,27.30],[1600936440,27.30]],"humi":[[1600936380,49.00],[1600936440,49.00]]}}
[145754] blinker server begin
[145757] Freeheap: 31072
[150393] HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
[150394] HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936380,27.30],[1600936440,27.30]],"humi":[[1600936380,49.00],[1600936440,49.00]]}}
[150406] [HTTP] status... code: 200
[150410] {"detail": "max device data key size limit", "message": 1513}
[150416] ERROR: max device data key size limit
[150419] payload: {"detail": "max device data key size limit", "message": 1513}
[156313] MQTT Ping!
[156313] Freeheap: 31504
[162986] num: 1, get Text: {"get":"state"}, length: 15
[162986] isAvail_MQTT: 1
[163006] available: 1
[163007] checkAvail: 1
[163007] parse data: {"get":"state"}
[163007] defined BLINKER_ARDUINOJSON
[163008] autoManager begin: 0 0
[163009] autoFormatData key: state, json: "state":"online"
[163014] new.
[163016] timer codes: 000
[163018] autoFormatData key: timer, json: "timer":"000"
[163023] add.
[163024] autoFormatData key: version, json: "version":"0.1.0"
[163030] add.
[163031] checkNum count: 0
[163033] autoFormatData key: humi, json: "humi":{"val":49.00}
[163039] add.
[163040] checkNum count: 0
[163042] autoFormatData key: temp, json: "temp":{"val":27.30}
[163048] add.
[163049] checkNum count: 0
[163052] autoFormatData key: hic, json: "hic":{"val":27.64}
[163057] add.
[163058] checkNum count: 0
[163061] autoFormatData key: tset, json: "tset":{"val":45.00}
[163066] add.
[163068] checkNum count: 0
[163070] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[163076] add.
[163077] 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}}
[163092] Proto print...
[163095] Freeheap: 29440
[163097] WS response:
[163099] {"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}}
[163114] Success...
[163118] Freeheap: 29800
[163119] heartBeat isParsed
[163120] checkNum count: 5
[163123] checkNum count: 5
[163125] checkNum count: 5
[163127] checkNum count: 5
[163130] checkNum count: 5
[163132] isParsed
[186889] MQTT Ping!
[186889] Freeheap: 31784
[191975] checkNum count: 2
[191975] time: 1600936540,second: 40
[191975] now_time: 1600936500
[191975] dataStorage num: 0 ,1600936500
[191976] dataStorage count: 2
[191978] saveData: 27.30
[191981] saveData dataCount: 1
[191983] temp save: 27.30 time: 1600936500
[191987] data_dataCount: 2
[191990] checkNum count: 2
[191992] time: 1600936540,second: 40
[191995] now_time: 1600936500
[191998] dataStorage num: 1 ,1600936500
[192002] dataStorage count: 2
[192004] saveData: 49.00
[192006] saveData dataCount: 1
[192009] humi save: 49.00 time: 1600936500
[192013] data_dataCount: 2
[217467] MQTT Ping!
[217467] Freeheap: 31976
[222778] num: 1, get Text: {"get":"state"}, length: 15
[222778] isAvail_MQTT: 1
[222799] available: 1
[222799] checkAvail: 1
[222799] parse data: {"get":"state"}
[222799] defined BLINKER_ARDUINOJSON
[222800] autoManager begin: 0 0
[222802] autoFormatData key: state, json: "state":"online"
[222807] new.
[222808] timer codes: 000
[222810] autoFormatData key: timer, json: "timer":"000"
[222815] add.
[222817] autoFormatData key: version, json: "version":"0.1.0"
[222822] add.
[222824] checkNum count: 0
[222826] autoFormatData key: humi, json: "humi":{"val":49.00}
[222831] add.
[222833] checkNum count: 0
[222835] autoFormatData key: temp, json: "temp":{"val":27.60}
[222840] add.
[222842] checkNum count: 0
[222844] autoFormatData key: hic, json: "hic":{"val":27.94}
[222849] add.
[222851] checkNum count: 0
[222853] autoFormatData key: tset, json: "tset":{"val":45.00}
[222859] add.
[222860] checkNum count: 0
[222862] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[222868] add.
[222870] 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}}
[222885] Proto print...
[222887] Freeheap: 29912
[222889] WS response:
[222891] {"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}}
[222906] Success...
[222911] Freeheap: 30272
[222911] heartBeat isParsed
[222913] checkNum count: 5
[222915] checkNum count: 5
[222917] checkNum count: 5
[222920] checkNum count: 5
[222922] checkNum count: 5
[222925] isParsed
[240947] Disconnected! 1
[243029] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[243031] data: {"get":"state"}
[243033] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[243038] Authority uuid
[243063] available: 1
[243063] checkAvail: 1
[243063] parse data: {"get":"state"}
[243063] defined BLINKER_ARDUINOJSON
[243064] autoManager begin: 0 0
[243066] autoFormatData key: state, json: "state":"online"
[243071] new.
[243072] timer codes: 000
[243074] autoFormatData key: timer, json: "timer":"000"
[243079] add.
[243081] autoFormatData key: version, json: "version":"0.1.0"
[243086] add.
[243088] checkNum count: 0
[243090] autoFormatData key: humi, json: "humi":{"val":49.00}
[243095] add.
[243097] checkNum count: 0
[243099] autoFormatData key: temp, json: "temp":{"val":27.60}
[243104] add.
[243106] checkNum count: 0
[243108] autoFormatData key: hic, json: "hic":{"val":27.94}
[243113] add.
[243115] checkNum count: 0
[243117] autoFormatData key: tset, json: "tset":{"val":45.00}
[243123] add.
[243124] checkNum count: 0
[243126] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[243132] add.
[243134] 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}}
[243149] Proto print...
[243151] Freeheap: 29896
[243153] 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"}
[243181] MQTT Publish...
[243183] Freeheap: 29896
[243186] {"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"}
[243212] ...OK!
[243213] Freeheap: 29224
[243215] Freeheap: 30256
[243218] heartBeat isParsed
[243220] checkNum count: 5
[243223] checkNum count: 5
[243225] checkNum count: 5
[243228] checkNum count: 5
[243230] checkNum count: 5
[243232] isParsed
[251974] checkNum count: 2
[251974] time: 1600936600,second: 40
[251974] now_time: 1600936560
[251974] dataStorage num: 0 ,1600936560
[251975] dataStorage count: 2
[251977] saveData: 27.60
[251980] saveData dataCount: 2
[251982] temp save: 27.60 time: 1600936560
[251986] data_dataCount: 2
[251989] checkNum count: 2
[251991] time: 1600936600,second: 40
[251994] now_time: 1600936560
[251997] dataStorage num: 1 ,1600936560
[252001] dataStorage count: 2
[252003] saveData: 49.00
[252006] saveData dataCount: 2
[252008] humi save: 49.00 time: 1600936560
[252012] data_dataCount: 2
[270444] dataUpdate: 0
[270445] Freeheap: 31976
[270446] getData _data_: [[1600936500,27.30],[1600936560,27.60]]
[270446] num: 0 name: temp
[270446] Freeheap: 31928
[270448] getData _data_: [[1600936500,49.00],[1600936560,49.00]]
[270454] num: 1 name: humi
[270456] Freeheap: 31880
[270459] dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936500,27.30],[1600936560,27.60]],"humi":[[1600936500,49.00],[1600936560,49.00]]}}
[270475] Freeheap: 31880
[270477] message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936500,27.30],[1600936560,27.60]],"humi":[[1600936500,49.00],[1600936560,49.00]]}}
[270493] blinker server begin
[270496] Freeheap: 31736
[276429] HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
[276429] HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936500,27.30],[1600936560,27.60]],"humi":[[1600936500,49.00],[1600936560,49.00]]}}
[276441] [HTTP] ... failed, error: read Timeout
[276446]
[276472] MQTT Ping!
[276472] Freeheap: 31256
[294427] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"d6e7641cc95d6ca724befe90ee8e8e82","toDevice":"48EEA77CT4VEWZZN6NKK1F0P"}
[294430] data: {"get":"state"}
[294432] fromDevice: d6e7641cc95d6ca724befe90ee8e8e82
[294436] Authority uuid
[294460] available: 1
[294460] checkAvail: 1
[294460] parse data: {"get":"state"}
[294460] defined BLINKER_ARDUINOJSON
[294461] autoManager begin: 0 0
[294462] autoFormatData key: state, json: "state":"online"
[294467] new.
[294469] timer codes: 000
[294471] autoFormatData key: timer, json: "timer":"000"
[294476] add.
[294477] autoFormatData key: version, json: "version":"0.1.0"
[294483] add.
[294484] checkNum count: 0
[294486] autoFormatData key: humi, json: "humi":{"val":49.00}
[294492] add.
[294493] checkNum count: 0
[294496] autoFormatData key: temp, json: "temp":{"val":27.60}
[294501] add.
[294502] checkNum count: 0
[294505] autoFormatData key: hic, json: "hic":{"val":27.94}
[294510] add.
[294511] checkNum count: 0
[294514] autoFormatData key: tset, json: "tset":{"val":45.00}
[294519] add.
[294521] checkNum count: 0
[294523] autoFormatData key: PID_TEMP, json: "PID_TEMP":{"val":0.00}
[294529] add.
[294530] 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}}
[294546] Proto print...
[294548] Freeheap: 29120
[294550] 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"}
[294578] MQTT Publish...
[294580] Freeheap: 29120
[294583] {"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"}
[294608] ...OK!
[294610] Freeheap: 28448
[294612] Freeheap: 29480
[294614] heartBeat isParsed
[294617] checkNum count: 5
[294619] checkNum count: 5
[294622] checkNum count: 5
[294624] checkNum count: 5
[294627] checkNum count: 5
[294629] isParsed
[296464] dataUpdate: 0
[296464] Freeheap: 31080
[296465] getData _data_: [[1600936500,27.30],[1600936560,27.60]]
[296465] num: 0 name: temp
[296466] Freeheap: 31032
[296468] getData _data_: [[1600936500,49.00],[1600936560,49.00]]
[296473] num: 1 name: humi
[296476] Freeheap: 30984
[296478] dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936500,27.30],[1600936560,27.60]],"humi":[[1600936500,49.00],[1600936560,49.00]]}}
[296494] Freeheap: 30984
[296497] message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936500,27.30],[1600936560,27.60]],"humi":[[1600936500,49.00],[1600936560,49.00]]}}
[296513] blinker server begin
[296515] Freeheap: 30840
[296577] HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
[296577] HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936500,27.30],[1600936560,27.60]],"humi":[[1600936500,49.00],[1600936560,49.00]]}}
[296589] [HTTP] status... code: 200
[296595] {"detail": "max device data key size limit", "message": 1513}
[296599] ERROR: max device data key size limit
[296603] payload: {"detail": "max device data key size limit", "message": 1513}
[311978] checkNum count: 2
[311978] time: 1600936660,second: 40
[311978] now_time: 1600936620
[311978] dataStorage num: 0 ,1600936620
[311979] dataStorage count: 2
[311981] saveData: 27.60
[311984] saveData dataCount: 1
[311986] temp save: 27.60 time: 1600936620
[311990] data_dataCount: 2
[311993] checkNum count: 2
[311995] time: 1600936660,second: 40
[311998] now_time: 1600936620
[312001] dataStorage num: 1 ,1600936620
[312005] dataStorage count: 2
[312007] saveData: 49.00
[312009] saveData dataCount: 1
[312012] humi save: 49.00 time: 1600936620
[312016] data_dataCount: 2
[324625] MQTT Ping!
[324625] Freeheap: 31872
[355402] MQTT Ping!
[355402] Freeheap: 31872
[371985] checkNum count: 2
[371985] time: 1600936720,second: 40
[371985] now_time: 1600936680
[371985] dataStorage num: 0 ,1600936680
[371986] dataStorage count: 2
[371988] saveData: 27.60
[371991] saveData dataCount: 2
[371993] temp save: 27.60 time: 1600936680
[371997] data_dataCount: 2
[372000] checkNum count: 2
[372002] time: 1600936720,second: 40
[372005] now_time: 1600936680
[372008] dataStorage num: 1 ,1600936680
[372012] dataStorage count: 2
[372014] saveData: 49.00
[372017] saveData dataCount: 2
[372019] humi save: 49.00 time: 1600936680
[372023] data_dataCount: 2
[386014] MQTT Ping!
[386014] Freeheap: 31976
[416583] MQTT Ping!
[416584] Freeheap: 32040
[417138] dataUpdate: 0
[417139] Freeheap: 31952
[417140] getData _data_: [[1600936620,27.60],[1600936680,27.60]]
[417140] num: 0 name: temp
[417140] Freeheap: 31904
[417142] getData _data_: [[1600936620,49.00],[1600936680,49.00]]
[417148] num: 1 name: humi
[417150] Freeheap: 31856
[417153] dataUpdate: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936620,27.60],[1600936680,27.60]],"humi":[[1600936620,49.00],[1600936680,49.00]]}}
[417169] Freeheap: 31856
[417171] message: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936620,27.60],[1600936680,27.60]],"humi":[[1600936620,49.00],[1600936680,49.00]]}}
[417187] blinker server begin
[417190] Freeheap: 31712
[420464] HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/cloudStorage/
[420465] HTTPS payload: {"deviceName":"48EEA77CT4VEWZZN6NKK1F0P","key":"f2bb2a026eed","data":{"temp":[[1600936620,27.60],[1600936680,27.60]],"humi":[[1600936620,49.00],[1600936680,49.00]]}}
[420477] [HTTP] status... code: 200
[420481] {"detail": "max device data key size limit", "message": 1513}
[420487] ERROR: max device data key size limit
[420490] payload: {"detail": "max device data key size limit", "message": 1513}
[431990] checkNum count: 2
[431991] time: 1600936780,second: 40
[431991] now_time: 1600936740
[629714] MQTT Ping!
[629714] Freeheap: 32344
发表于 2020-9-24 19:24 | 显示全部楼层
[420490] payload: {"detail": "max device data key size limit", "message": 1513}
免费用户只有5个存储key,您已经用完了。
可以通过APP》开发者,移除之前的数据key;也可以选择购买专业版获得更多可用存储key
 楼主| 发表于 2020-9-25 16:51 | 显示全部楼层
奈何col 发表于 2020-9-24 19:24
[420490] payload: {"detail": "max device data key size limit", "message": 1513}
免费用户只有5个存储k ...

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

点评

app》开发者,截图看看数据key用量呢。 还是不行的,请看看是不是还有payload: {"detail": "max device data key size limit", "message": 1513} 这个提示  详情 回复 发表于 2020-9-25 17:09
发表于 2020-9-25 17:09 | 显示全部楼层
jianfengbeyond 发表于 2020-9-25 16:51
已经移除了 没用的都删除了 还是不行 估计是blinker的服务器设置问题吧 删除后 新建的不行 ...

app》开发者,截图看看数据key用量呢。
还是不行的话,请看看是不是还有payload: {"detail": "max device data key size limit", "message": 1513}
这个提示
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 14:48 , Processed in 0.209767 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表