关于我的blinker共享出去的设备是离线的-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 823|回复: 3

[已解答] 关于我的blinker共享出去的设备是离线的

[复制链接]
发表于 2021-10-27 00:58 | 显示全部楼层 |阅读模式
我自己的主机是可以用的,但是共享出去的其他设备就无法使用,不知道是为什么呢
0:40:41.992 -> ⸮t⸮⸮⸮⸮⸮⸮:⸮,t⸮[57]
00:40:42.072 -> [57]
00:40:42.072 ->  __       __                __
00:40:42.112 -> /\ \     /\ \    __        /\ \              v0.3.80210527
00:40:42.194 -> \ \ \___ \ \ \  /\_\    ___\ \ \/'\      __   _ __   
00:40:42.234 ->  \ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
00:40:42.275 ->   \ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\  __/\ \ \./
00:40:42.355 ->    \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\  
00:40:42.395 ->     \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/  
00:40:42.434 ->     To better use blinker with your IoT project!
00:40:42.514 ->     Download latest blinker library here!
00:40:42.555 ->     => https://github.com/blinker-iot/blinker-library
00:40:42.635 ->
00:40:42.635 -> [466] _aliType:
00:40:42.635 -> [485] _duerType:
00:40:42.635 -> [504] _miType:
00:40:42.635 -> [522] _authKey: 4679a95dc936
00:40:42.674 -> [553] Connecting to Xiaomi
00:40:42.715 -> [585] ESP8266_MQTT initialized...
00:40:42.755 -> [619]
00:40:42.795 -> ===========================================================
00:40:42.834 -> ================== Blinker Timer loaded! ==================
00:40:42.875 ->      EEPROM address 1536-2431 is used for Blinker Timer!
00:40:42.955 -> ========= PLEASE AVOID USING THESE EEPROM ADDRESS! ========
00:40:43.030 -> ===========================================================
00:40:43.070 ->
00:40:43.070 -> [938] countdown state: false
00:40:43.110 -> [969] _cdRunState: 0
00:40:43.150 -> [992] _totalTime: 0
00:40:43.150 -> [1014] _runTime: 0
00:40:43.187 -> [1035] _action:
00:40:43.187 -> [1053] loop state: false
00:40:43.227 -> [1080] _lpRunState: 0
00:40:43.268 -> [1104] _times: 0
00:40:43.268 -> [1123] _tri_times: 0
00:40:43.268 -> [1146] _time1: 0
00:40:43.308 -> [1165] _action1:
00:40:43.308 -> [1185] _time2: 0
00:40:43.348 -> [1203] _action2:
00:40:43.348 -> [1223] _lpData: 0
00:40:43.388 -> [1243] checkNum count: 2
00:40:43.428 -> [1270] checkNum count: 2
00:40:43.468 -> [1297] checkNum count: 3
00:40:43.468 -> [1324] checkNum count: 3
00:40:43.468 -> [1351] checkNum count: 3
00:40:44.433 -> [2402] WiFi Connected.
00:40:44.433 -> [2402] IP Address:
00:40:44.473 -> [2402] 192.168.31.179
00:40:44.513 -> [2413] [HTTP] begin: http://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=4679a95dc936&version=0.1.0&protocol=mqtt
00:40:44.633 -> [2571] [HTTP] GET... code: 200
00:40:44.674 -> [2575] reply was:
00:40:44.674 -> [2575] ==============================
00:40:44.722 -> [2575] {"detail": {"broker": "aliyun", "deviceName": "5A1C99D51VYP|securemode=3,signmethod=hmacsha1|", "host": "mqtt://public.iot-as-mqtt.cn-shanghai.aliyuncs.com", "iotId": "5A1C99D51VYPJD1FLCBMQ9EC&JgCGbHlndgz", "iotToken": "e825ca2e4b67535b7e3bb06359adc86ec426a948", "port": "1883", "productKey": "JgCGbHlndgz", "uuid": "5a3c9fbd360011ec8e595254"}, "message": 1000}
00:40:45.081 -> [2949] ==============================
00:40:45.121 -> [2990] _num: 4
00:40:45.162 -> [3006] ====================
00:40:45.202 -> [3036] DEVICE_NAME_MQTT: 5A1C99D51VYPJD1FLCBMQ9EC
00:40:45.242 -> [3090] MQTT_PRODUCTINFO_MQTT: JgCGbHlndgz
00:40:45.282 -> [3134] MQTT_ID_MQTT: 5A1C99D51VYP|securemode=3,signmethod=hmacsha1|
00:40:45.362 -> [3206] MQTT_NAME_MQTT: 5A1C99D51VYPJD1FLCBMQ9EC&JgCGbHlndgz
00:40:45.442 -> [3270] MQTT_KEY_MQTT: e825ca2e4b67535b7e3bb06359adc86ec426a948
00:40:45.482 -> [3336] MQTT_BROKER: aliyun
00:40:45.482 -> [3366] HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
00:40:45.562 -> [3426] PORT: 1883
00:40:45.601 -> [3446] HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
00:40:45.682 -> [3506] PORT: 1883
00:40:45.682 -> [3526] UUID_MQTT: 5a3c9fbd360011ec8e595254
00:40:45.722 -> [3572] ====================
00:40:45.722 -> [3602] BLINKER_PUB_TOPIC_MQTT: /JgCGbHlndgz/5A1C99D51VYPJD1FLCBMQ9EC/s
00:40:45.846 -> [3677] BLINKER_SUB_TOPIC_MQTT: /JgCGbHlndgz/5A1C99D51VYPJD1FLCBMQ9EC/r
00:40:45.886 -> [3752] Freeheap: 35072
00:40:45.926 -> [3780] mDNS responder started
00:40:45.967 -> [3809] webSocket_MQTT server started
00:40:46.007 -> [3849] ws://5A1C99D51VYPJD1FLCBMQ9EC.local:81
00:40:59.930 -> [17911] Current time: Tue Oct 26 16:40:59 2021
00:40:59.970 ->
00:40:59.970 -> [17911] NTP time: 1635237659
00:41:00.010 -> [17911] ==== needInit ====
00:41:00.050 -> [17912] message: /share/device?deviceName=5A1C99D51VYPJD1FLCBMQ9EC&key=4679a95dc936
00:41:00.130 -> [17979] blinker server begin
00:41:00.130 -> [18010] Freeheap: 35528
00:41:00.167 -> [18132] HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/share/device?deviceName=5A1C99D51VYPJD1FLCBMQ9EC&key=4679a95dc936
00:41:00.289 -> [18174] HTTPS payload: /share/device?deviceName=5A1C99D51VYPJD1FLCBMQ9EC&key=4679a95dc936
00:41:00.409 -> [18268] [HTTP] status... code: 200
00:41:00.449 -> [18307] {"detail": {"users": ["507014e853de11eb81bb5254", "741d07f535a811ec8d505254"]}, "message": 1000}
00:41:00.569 -> [18416] _type: 16
00:41:00.569 -> [18436] payload: {"users":["507014e853de11eb81bb5254","741d07f535a811ec8d505254"]}
00:41:00.689 -> [18525] sharers data: {"users":["507014e853de11eb81bb5254","741d07f535a811ec8d505254"]}
00:41:00.769 -> [18616] sharer uuid: 507014e853de11eb81bb5254, length: 24
00:41:00.803 -> [18678] sharer uuid: 741d07f535a811ec8d505254, length: 24
00:41:00.883 -> [18739] load timing
00:41:00.923 -> [18761] load timing taskCount: 0
00:41:00.923 -> [18796] freshTiming wDay: 3, nowMins: 41, nowSeconds: 2460
00:41:01.004 -> [18859] nextTask: 10  apartSeconds: 83940 wDay: 3
00:41:01.084 -> [18912] cbackData: 10
00:41:01.084 -> [18936] change apartSeconds: 3600
00:41:01.124 -> [19072] millis: 19072, connect_time: 17911
00:41:01.164 -> [19072] MQTT conn init success
00:41:01.204 -> [19072] =======================================================
00:41:01.284 -> [19119] =========== Blinker Auto Control mode init! ===========
00:41:01.357 -> [19187]      EEPROM address 0-1279 is used for Auto Control!
00:41:01.397 -> [19252] ======= PLEASE AVOID USING THESE EEPROM ADDRESS! ======
00:41:01.477 -> [19319] =======================================================
00:41:01.558 -> [19387] _______autoStart_______
00:41:01.558 -> [19421] _aCount: 1
00:41:01.558 -> [19442] new BlinkerAUTO() _num: 0
00:41:01.638 -> [19479] _haveAuto: 0
00:41:01.638 -> [19502] _autoState: 0
00:41:01.678 -> [19526] _logicType: 0
00:41:01.718 -> [19550] _compareType: 0
00:41:01.718 -> [19577] Connecting to MQTT...
00:41:01.758 -> [19609] reconnect_time: 0
00:41:01.798 -> [19782] MQTT Connected!
00:41:01.798 -> [19782] Freeheap: 35048
00:41:31.802 -> [49784] MQTT Ping!
00:41:31.802 -> [49784] Freeheap: 35184
00:42:02.360 -> [80338] MQTT Ping!
00:42:02.360 -> [80338] Freeheap: 35184
00:42:32.909 -> [110890] MQTT Ping!
00:42:32.909 -> [110891] Freeheap: 35184
00:43:03.471 -> [141428] MQTT Ping!
00:43:03.471 -> [141428] Freeheap: 35568
00:43:33.996 -> [171967] MQTT Ping!
00:43:33.996 -> [171967] Freeheap: 35568
00:44:04.558 -> [202511] MQTT Ping!
00:44:04.558 -> [202511] Freeheap: 35568
00:44:35.097 -> [233053] MQTT Ping!
00:44:35.097 -> [233053] Freeheap: 35568
00:45:05.633 -> [263598] MQTT Ping!
00:45:05.633 -> [263598] Freeheap: 35568
00:45:36.171 -> [294145] MQTT Ping!
00:45:36.171 -> [294145] Freeheap: 35568
00:46:06.712 -> [324696] MQTT Ping!
00:46:06.712 -> [324696] Freeheap: 35568
00:46:37.296 -> [355247] MQTT Ping!
00:46:37.296 -> [355247] Freeheap: 35568
00:47:07.832 -> [385788] MQTT Ping!
00:47:07.832 -> [385789] Freeheap: 35568
00:47:38.360 -> [416340] MQTT Ping!
00:47:38.360 -> [416340] Freeheap: 35568
00:48:08.920 -> [446895] MQTT Ping!
00:48:08.920 -> [446895] Freeheap: 35568
00:48:30.272 -> [468226] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"5a3c9fbd360011ec8e595254","toDevice":"5A1C99D51VYPJD1FLCBMQ9EC"}
00:48:30.392 -> [468244] data: {"get":"state"}
00:48:30.433 -> [468277] fromDevice: 5a3c9fbd360011ec8e595254
00:48:30.433 -> [468326] Authority uuid
00:48:30.474 -> [468373] available: 1
00:48:30.514 -> [468376] checkAvail: 1
00:48:30.555 -> [468401] parse data: {"get":"state"}
00:48:30.595 -> [468441] defined BLINKER_ARDUINOJSON
00:48:30.635 -> [468480] autoManager begin: 0 0
00:48:30.635 -> [468515] get_key: null
00:48:30.675 -> [468540] autoFormatData key: state, json: "state":"online"
00:48:30.756 -> [468602] new.
00:48:30.756 -> [468618] timer codes: 000
00:48:30.795 -> [468646] autoFormatData key: timer, json: "timer":"000"
00:48:30.835 -> [468705] add.
00:48:30.835 -> [468721] autoFormatData key: version, json: "version":"0.1.0"
00:48:30.916 -> [468787] add.
00:48:30.956 -> [468802] print: {"state":"online","timer":"000","version":"0.1.0"}
00:48:31.035 -> [468873] Proto print...
00:48:31.035 -> [468899] Freeheap: 33480
00:48:31.035 -> [468926] isJson: {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:31.235 -> [469112] MQTT Publish...
00:48:31.276 -> [469139] Freeheap: 33480
00:48:31.315 -> [469166] {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:31.476 -> [469343] ...OK!
00:48:31.516 -> [469361] Freeheap: 32832
00:48:31.516 -> [469388] Freeheap: 33864
00:48:31.556 -> [469415] heartBeat isParsed 1
00:48:31.596 -> [469447] checkNum count: 2
00:48:31.638 -> [469476] checkNum count: 2
00:48:31.638 -> [469505] checkNum count: 3
00:48:31.678 -> [469535] checkNum count: 3
00:48:31.718 -> [469564] checkNum count: 3
00:48:31.718 -> [469593] _fresh need flush
00:48:31.758 -> [469622] isParsed
00:48:31.798 -> [469642] flush
00:48:32.403 -> [470377] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"5a3c9fbd360011ec8e595254","toDevice":"5A1C99D51VYPJD1FLCBMQ9EC"}
00:48:32.525 -> [470394] data: {"get":"state"}
00:48:32.564 -> [470428] fromDevice: 5a3c9fbd360011ec8e595254
00:48:32.605 -> [470477] Authority uuid
00:48:32.645 -> [470523] available: 1
00:48:32.684 -> [470527] checkAvail: 1
00:48:32.684 -> [470552] parse data: {"get":"state"}
00:48:32.725 -> [470591] defined BLINKER_ARDUINOJSON
00:48:32.765 -> [470631] autoManager begin: 0 0
00:48:32.805 -> [470665] get_key: null
00:48:32.845 -> [470690] autoFormatData key: state, json: "state":"online"
00:48:32.885 -> [470753] new.
00:48:32.885 -> [470768] timer codes: 000
00:48:32.925 -> [470797] autoFormatData key: timer, json: "timer":"000"
00:48:33.005 -> [470856] add.
00:48:33.005 -> [470872] autoFormatData key: version, json: "version":"0.1.0"
00:48:33.084 -> [470937] add.
00:48:33.084 -> [470953] print: {"state":"online","timer":"000","version":"0.1.0"}
00:48:33.158 -> [471024] Proto print...
00:48:33.198 -> [471050] Freeheap: 32832
00:48:33.198 -> [471077] isJson: {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:33.399 -> [471262] MQTT Publish...
00:48:33.439 -> [471289] Freeheap: 32832
00:48:33.481 -> [471316] {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:33.642 -> [471493] ...OK!
00:48:33.682 -> [471511] Freeheap: 32184
00:48:33.682 -> [471538] Freeheap: 33216
00:48:33.722 -> [471565] heartBeat isParsed 1
00:48:33.722 -> [471598] checkNum count: 2
00:48:33.762 -> [471627] checkNum count: 2
00:48:33.802 -> [471656] checkNum count: 3
00:48:33.843 -> [471685] checkNum count: 3
00:48:33.883 -> [471714] checkNum count: 3
00:48:33.883 -> [471743] _fresh need flush
00:48:33.923 -> [471773] isParsed
00:48:33.923 -> [471792] flush
00:48:34.999 -> [472986] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"5a3c9fbd360011ec8e595254","toDevice":"5A1C99D51VYPJD1FLCBMQ9EC"}
00:48:35.159 -> [473003] data: {"get":"state"}
00:48:35.159 -> [473037] fromDevice: 5a3c9fbd360011ec8e595254
00:48:35.199 -> [473086] Authority uuid
00:48:35.239 -> [473132] available: 1
00:48:35.279 -> [473136] checkAvail: 1
00:48:35.319 -> [473161] parse data: {"get":"state"}
00:48:35.359 -> [473200] defined BLINKER_ARDUINOJSON
00:48:35.359 -> [473240] autoManager begin: 0 0
00:48:35.399 -> [473274] get_key: null
00:48:35.440 -> [473299] autoFormatData key: state, json: "state":"online"
00:48:35.521 -> [473362] new.
00:48:35.521 -> [473377] timer codes: 000
00:48:35.561 -> [473405] autoFormatData key: timer, json: "timer":"000"
00:48:35.601 -> [473465] add.
00:48:35.601 -> [473480] autoFormatData key: version, json: "version":"0.1.0"
00:48:35.682 -> [473546] add.
00:48:35.722 -> [473562] print: {"state":"online","timer":"000","version":"0.1.0"}
00:48:35.762 -> [473633] Proto print...
00:48:35.802 -> [473659] Freeheap: 33480
00:48:35.802 -> [473686] isJson: {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:36.002 -> [473871] MQTT Publish...
00:48:36.042 -> [473898] Freeheap: 33480
00:48:36.082 -> [473925] {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:36.242 -> [474102] ...OK!
00:48:36.286 -> [474120] Freeheap: 32808
00:48:36.286 -> [474147] Freeheap: 33840
00:48:36.326 -> [474174] heartBeat isParsed 1
00:48:36.326 -> [474206] checkNum count: 2
00:48:36.366 -> [474236] checkNum count: 2
00:48:36.406 -> [474265] checkNum count: 3
00:48:36.443 -> [474294] checkNum count: 3
00:48:36.484 -> [474323] checkNum count: 3
00:48:36.484 -> [474352] _fresh need flush
00:48:36.524 -> [474381] isParsed
00:48:36.564 -> [474401] flush
00:48:36.564 -> [474420] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"5a3c9fbd360011ec8e595254","toDevice":"5A1C99D51VYPJD1FLCBMQ9EC"}
00:48:36.725 -> [474568] data: {"get":"state"}
00:48:36.765 -> [474601] fromDevice: 5a3c9fbd360011ec8e595254
00:48:36.765 -> [474650] Authority uuid
00:48:36.805 -> [474697] available: 1
00:48:36.845 -> [474700] checkAvail: 1
00:48:36.885 -> [474725] parse data: {"get":"state"}
00:48:36.925 -> [474765] defined BLINKER_ARDUINOJSON
00:48:36.965 -> [474804] autoManager begin: 0 0
00:48:36.965 -> [474839] get_key: null
00:48:37.005 -> [474864] autoFormatData key: state, json: "state":"online"
00:48:37.085 -> [474926] new.
00:48:37.085 -> [474942] timer codes: 000
00:48:37.125 -> [474970] autoFormatData key: timer, json: "timer":"000"
00:48:37.165 -> [475029] add.
00:48:37.165 -> [475045] autoFormatData key: version, json: "version":"0.1.0"
00:48:37.245 -> [475111] add.
00:48:37.285 -> [475126] print: {"state":"online","timer":"000","version":"0.1.0"}
00:48:37.365 -> [475197] Proto print...
00:48:37.365 -> [475223] Freeheap: 32808
00:48:37.365 -> [475250] isJson: {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:37.566 -> [475436] MQTT Publish...
00:48:37.607 -> [475463] Freeheap: 32808
00:48:37.648 -> [475490] {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:37.808 -> [475667] ...OK!
00:48:37.808 -> [475685] Freeheap: 32136
00:48:37.848 -> [475712] Freeheap: 33168
00:48:37.888 -> [475739] heartBeat isParsed 1
00:48:37.937 -> [475771] checkNum count: 2
00:48:37.937 -> [475800] checkNum count: 2
00:48:37.977 -> [475829] checkNum count: 3
00:48:38.017 -> [475859] checkNum count: 3
00:48:38.057 -> [475888] checkNum count: 3
00:48:38.057 -> [475917] _fresh need flush
00:48:38.097 -> [475946] isParsed
00:48:38.097 -> [475966] flush
00:48:38.097 -> [476075] Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"5a3c9fbd360011ec8e595254","toDevice":"5A1C99D51VYPJD1FLCBMQ9EC"}
00:48:38.297 -> [476132] data: {"get":"state"}
00:48:38.297 -> [476166] fromDevice: 5a3c9fbd360011ec8e595254
00:48:38.338 -> [476215] Authority uuid
00:48:38.378 -> [476261] available: 1
00:48:38.418 -> [476265] checkAvail: 1
00:48:38.458 -> [476290] parse data: {"get":"state"}
00:48:38.498 -> [476329] defined BLINKER_ARDUINOJSON
00:48:38.498 -> [476369] autoManager begin: 0 0
00:48:38.538 -> [476403] get_key: null
00:48:38.578 -> [476428] autoFormatData key: state, json: "state":"online"
00:48:38.658 -> [476491] new.
00:48:38.658 -> [476506] timer codes: 000
00:48:38.698 -> [476535] autoFormatData key: timer, json: "timer":"000"
00:48:38.738 -> [476594] add.
00:48:38.738 -> [476610] autoFormatData key: version, json: "version":"0.1.0"
00:48:38.818 -> [476675] add.
00:48:38.859 -> [476691] print: {"state":"online","timer":"000","version":"0.1.0"}
00:48:38.899 -> [476762] Proto print...
00:48:38.939 -> [476788] Freeheap: 32136
00:48:38.939 -> [476815] isJson: {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:39.139 -> [477000] MQTT Publish...
00:48:39.179 -> [477027] Freeheap: 32136
00:48:39.219 -> [477054] {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:39.379 -> [477231] ...OK!
00:48:39.379 -> [477249] Freeheap: 32136
00:48:39.419 -> [477276] Freeheap: 33168
00:48:39.460 -> [477303] heartBeat isParsed 1
00:48:39.460 -> [477336] checkNum count: 2
00:48:39.500 -> [477365] checkNum count: 2
00:48:39.541 -> [477394] checkNum count: 3
00:48:39.581 -> [477423] checkNum count: 3
00:48:39.581 -> [477452] checkNum count: 3
00:48:39.621 -> [477481] _fresh need flush
00:48:39.662 -> [477511] isParsed
00:48:39.662 -> [477530] flush
00:48:43.729 -> [481719] Got: {"deviceType":"DiyArduino","data":{"btn-max":"tap"},"fromDevice":"5a3c9fbd360011ec8e595254","toDevice":"5A1C99D51VYPJD1FLCBMQ9EC"}
00:48:43.889 -> [481739] data: {"btn-max":"tap"}
00:48:43.929 -> [481774] fromDevice: 5a3c9fbd360011ec8e595254
00:48:43.969 -> [481823] Authority uuid
00:48:43.969 -> [481870] available: 1
00:48:44.009 -> [481873] checkAvail: 1
00:48:44.049 -> [481898] parse data: {"btn-max":"tap"}
00:48:44.089 -> [481940] defined BLINKER_ARDUINOJSON
00:48:44.129 -> [481979] autoManager begin: 0 0
00:48:44.129 -> [482014] get_key: null
00:48:44.169 -> [482039] checkNum count: 2
00:48:44.209 -> [482068] strWidgetsParse isParsed
00:48:44.249 -> [482104] strWidgetsParse: btn-max
00:48:44.289 -> [482141] get button state: 90
00:48:44.329 -> [482173] autoFormatData key: vibrate, json: "vibrate":200
00:48:44.369 -> [482235] new.
00:48:44.369 -> [482250] checkNum count: 2
00:48:44.409 -> [482279] checkNum count: 3
00:48:44.450 -> [482309] checkNum count: 3
00:48:44.490 -> [482338] checkNum count: 3
00:48:44.530 -> [482367] _fresh need flush
00:48:44.530 -> [482396] isParsed
00:48:44.530 -> [482416] flush
00:48:44.570 -> [482432] print: {"vibrate":200}
00:48:44.610 -> [482467] Proto print...
00:48:44.650 -> [482493] Freeheap: 34536
00:48:44.690 -> [482520] isJson: {"data":{"vibrate":200},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:44.813 -> [482669] MQTT Publish...
00:48:44.853 -> [482696] Freeheap: 34536
00:48:44.893 -> [482723] _print_times: 1
00:48:44.893 -> [482750] {"data":{"vibrate":200},"fromDevice":"5A1C99D51VYPJD1FLCBMQ9EC","toDevice":"5a3c9fbd360011ec8e595254","deviceType":"OwnApp"}
00:48:45.054 -> [482891] ...OK!
00:48:45.054 -> [482908] Freeheap: 33864
00:48:45.094 -> [482936] Freeheap: 34896
00:49:14.954 -> [512943] MQTT Ping!
00:49:14.954 -> [512943] Freeheap: 35568
00:49:45.510 -> [543490] MQTT Ping!
00:49:45.510 -> [543490] Freeheap: 35568
00:50:16.086 -> [574045] MQTT Ping!
00:50:16.086 -> [574046] Freeheap: 35568
00:50:42.039 -> [600005] message: /heartbeat?deviceName=5A1C99D51VYPJD1FLCBMQ9EC&key=4679a95dc936&heartbeat=600
00:50:42.119 -> [600005] blinker server begin
00:50:42.162 -> [600006] Freeheap: 35336
00:50:42.162 -> [600133] HTTPS begin: http://iot.diandeng.tech/api/v1/user/device/heartbeat?deviceName=5A1C99D51VYPJD1FLCBMQ9EC&key=4679a95dc936&heartbeat=600
00:50:42.343 -> [600183] HTTPS payload: /heartbeat?deviceName=5A1C99D51VYPJD1FLCBMQ9EC&key=4679a95dc936&heartbeat=600
00:50:42.437 -> [600290] [HTTP] status... code: 200
00:50:42.484 -> [600330] {"detail": "", "message": 1000}
00:50:42.531 -> [600373] _type: 23
00:50:42.531 -> [600393] payload: null
00:50:46.609 -> [604591] MQTT Ping!
00:50:46.609 -> [604592] Freeheap: 35376
00:51:17.173 -> [635135] MQTT Ping!
00:51:17.173 -> [635135] Freeheap: 35376
00:51:47.725 -> [665684] MQTT Ping!
00:51:47.725 -> [665684] Freeheap: 35376
00:52:18.277 -> [696240] MQTT Ping!
00:52:18.277 -> [696240] Freeheap: 35376


 楼主| 发表于 2021-10-27 00:59 | 显示全部楼层
希望各位大佬能回答我的问题
发表于 2021-10-30 12:25 | 显示全部楼层
我的共享出去只能局域网内可以用,换网就不行了,说是库文件没更新,可是我已经是最新的库了啊!
发表于 2021-11-2 11:10 | 显示全部楼层
确保lib最新,并测试例程,如果还是不行,看看调试信息:
https://www.arduino.cn/thread-84332-1-1.html
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-28 11:48 , Processed in 0.098979 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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