blinker设备一直离线-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2168|回复: 2

[已解答] blinker设备一直离线

[复制链接]
发表于 2021-4-9 20:22 | 显示全部楼层 |阅读模式
本帖最后由 我爱学习799 于 2021-4-9 21:35 编辑

blinker设备一直离线,但是前几天还能用,今天重启,重新烧录,重新下载app都不行,一直是离线状态,而且ESP32也连接到了热点,但是APP里面的设备一直处于离线状态,请问各位大佬有没有类似的情况呀,我该怎么解决
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
modeIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:10944
load:0x40080400,len:6388
entry 0x400806b4
E (146) psram: PSRAM ID read error: 0xffffffff
[32]
[32]
__       __                __
/\ \     /\ \    __        /\ \              v0.3.4
\ \ \___ \ \ \  /\_\    ___\ \ \/'\      __   _ __   
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
  \ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\  __/\ \ \./
   \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\  
    \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/  
    To better use blinker with your IoT project!
    Download latest blinker library here!
    => https://github.com/blinker-iot/blinker-library

[66] _aliType:
[67] _duerType:
[69] _miType:
[70] _authKey: a577f6e04f1f
[73] Connecting to 799
[196] ESP32_MQTT initialized...
[196]
===========================================================
================== Blinker Timer loaded! ==================
Warning!EEPROM address 1536-2431 is used for Blinker Timer!
============= DON'T USE THESE EEPROM ADDRESS! =============
===========================================================

[239] countdown state: false
[239] _cdRunState: 0
[239] _totalTime: 0
[239] _runTime: 0
[239] _action:
[251] loop state: false
[251] _lpRunState: 0
[251] _times: 0
[251] _tri_times: 0
[251] _time1: 0
[252] _action1:
[252] _time2: 0
[252] _action2:
[254] _lpData: 0
[255] checkNum count: 1
[4848] WiFi Connected.
[4848] IP Address:
[4848] 192.168.43.104
[4858] HTTPS begin: https://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=a577f6e04f1f
[6689] [HTTP] GET... code: 200
[6691] reply was:
[6691] ==============================
[6691] {"detail": {"broker": "aliyun", "deviceName": "810EF9B2RNG263MR3RFYZ3SA", "host": "mqtts://public.iot-as-mqtt.cn-shanghai.aliyuncs.com", "iotId": "sWN7W50EY4AMvbtwAq4Nz20000", "iotToken": "^1^1617975270186^362c5773b0c34ba", "port": "1883", "productKey": "JgCGbHlndgz", "uuid": "6383a558ea012da8a939c3049d4ca869"}, "message": 1000}
[6715] ==============================
[6719] ====================
[6721] DEVICE_NAME_MQTT: 810EF9B2RNG263MR3RFYZ3SA
[6725] MQTT_PRODUCTINFO_MQTT: JgCGbHlndgz
[6729] MQTT_ID_MQTT: 810EF9B2RNG263MR3RFYZ3SA
[6733] MQTT_NAME_MQTT: sWN7W50EY4AMvbtwAq4Nz20000
[6737] MQTT_KEY_MQTT: ^1^1617975270186^362c5773b0c34ba
[6742] MQTT_BROKER: aliyun
[6745] HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
[6750] PORT: 1883
[6751] UUID_MQTT: 6383a558ea012da8a939c3049d4ca869
[6756] ====================
[6759] BLINKER_PUB_TOPIC_MQTT: /JgCGbHlndgz/810EF9B2RNG263MR3RFYZ3SA/s
[6765] BLINKER_SUB_TOPIC_MQTT: /JgCGbHlndgz/810EF9B2RNG263MR3RFYZ3SA/r
[6771] Freeheap: 200304
[6777] mDNS responder started
[6781] webSocket_MQTT server started
[6781] ws://810EF9B2RNG263MR3RFYZ3SA.local:81
[7785] Current time: Fri Apr  9 21:34:31 2021

[7785] NTP time: 1617975271
[7785] time (millis() - ntpFreshTime): 7785
[7785] ntpGetTime: 0
[7786] 1
[7787] ==== needInit ====
[7789] message: /share/device?deviceName=810EF9B2RNG263MR3RFYZ3SA&key=a577f6e04f1f
[7797] blinker server begin
[7799] Freeheap: 237408
[9091] HTTPS begin: https://iot.diandeng.tech/api/v1/user/device/share/device?deviceName=810EF9B2RNG263MR3RFYZ3SA&key=a577f6e04f1f
[9092] HTTPS payload: /share/device?deviceName=810EF9B2RNG263MR3RFYZ3SA&key=a577f6e04f1f
[9099] [HTTP] status... code: 200
[9103] {"detail": {"users": []}, "message": 1000}
[9107] payload: {"users":[]}
[9112] sharers data: {"users":[]}
[9113] load timing
[9126] load timing taskCount: 0
[9127] freshTiming wDay: 5, nowMins: 1294, nowSeconds: 77672
[9127] nextTask: 10  apartSeconds: 8728 wDay: 5
[9128] cbackData: 10
[9130] change apartSeconds: 3600
[9233] Connecting to MQTT...
[9233] Connection failed
[9233] Retrying MQTT connection in 5 seconds...
[14233] Connecting to MQTT...
[14233] Connection failed
[14233] Retrying MQTT connection in 5 seconds...
[19233] Connecting to MQTT...
[19233] Connection failed
[19233] Retrying MQTT connection in 5 seconds...
[24233] Connecting to MQTT...
[24233] Connection failed
[24233] Retrying MQTT connection in 5 seconds...


发表于 2021-4-9 21:42 | 显示全部楼层
lib不是最新的,请按文档操作
 楼主| 发表于 2021-4-9 22:16 | 显示全部楼层
coloz 发表于 2021-4-9 21:42
lib不是最新的,请按文档操作

好的,谢谢大神指点!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-28 13:53 , Processed in 0.193782 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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