为什么用手机热点可以显示设备在线,用wifi就不行-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 3081|回复: 10

[已解答] 为什么用手机热点可以显示设备在线,用wifi就不行

[复制链接]
发表于 2021-6-3 16:54 | 显示全部楼层 |阅读模式
nodemcu模块,连接手机热点的话我手机就能看到设备在线,但是和手机连进同一个wifi的时候,怎么刷新都显示设备离线。求助
 楼主| 发表于 2021-6-3 17:07 | 显示全部楼层
点灯科技app
发表于 2021-6-3 17:18 | 显示全部楼层
 楼主| 发表于 2021-6-3 17:45 | 显示全部楼层
17:43:20.795 -> ===========================================================
17:43:20.795 -> ================== Blinker Timer loaded! ==================
17:43:20.795 ->      EEPROM address 1536-2431 is used for Blinker Timer!
17:43:20.795 -> ========= PLEASE AVOID USING THESE EEPROM ADDRESS! ========
17:43:20.795 -> ===========================================================
17:43:20.843 ->
17:43:21.822 -> [1157] WiFi Connected.
17:43:21.822 -> [1157] IP Address:
17:43:21.822 -> [1158] 192.168.1.209
17:43:22.009 -> [1330] Freeheap: 35448
17:43:22.009 -> [1332] mDNS responder started
17:43:22.009 -> [1334] webSocket_MQTT server started
17:43:22.009 -> [1334] ws://68947C00I9ZOLRLWWRQDYT98.local:81
 楼主| 发表于 2021-6-3 17:49 | 显示全部楼层
奈何col 发表于 2021-6-3 17:18
https://www.arduino.cn/thread-95396-1-1.html

1.从楼下串口监视器看程序应该上传了。
2.ssid,密码肯定对的,程序也运行了。
3.用的hello例程进行的测试。程序应该没错。官网复制的。
4.分别用电脑usb口和5v的充电宝都做了测试。
请问大佬我该怎么办啊
 楼主| 发表于 2021-6-3 17:58 | 显示全部楼层
本帖最后由 RexHarrison 于 2021-6-3 18:07 编辑

18:05:24.004 -> [4508] WiFi Connected.
18:05:24.004 -> [4508] IP Address:
18:05:24.004 -> [4508] 192.168.26.19

18:05:24.517 -> [69]
18:05:24.517 ->  __       __                __
18:05:24.517 -> /\ \     /\ \    __        /\ \              v0.3.80210527
18:05:24.563 -> \ \ \___ \ \ \  /\_\    ___\ \ \/'\      __   _ __   
18:05:24.563 ->  \ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
18:05:24.563 ->   \ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\  __/\ \ \./
18:05:24.563 ->    \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\  
18:05:24.563 ->     \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/  
18:05:24.563 ->     To better use blinker with your IoT project!
18:05:24.563 ->     Download latest blinker library here!
18:05:24.563 ->     => https://github.com/blinker-iot/blinker-library
18:05:24.563 ->
18:05:24.563 -> [103] Connecting to MI 10
18:05:24.656 -> [185] ESP8266_MQTT initialized...
18:05:24.656 -> [185]
18:05:24.656 -> ===========================================================
18:05:24.656 -> ================== Blinker Timer loaded! ==================
18:05:24.656 ->      EEPROM address 1536-2431 is used for Blinker Timer!
18:05:24.656 -> ========= PLEASE AVOID USING THESE EEPROM ADDRESS! ========
18:05:24.656 -> ===========================================================
18:05:24.702 ->
18:05:32.030 -> [7569] WiFi Connected.
18:05:32.030 -> [7569] IP Address:
18:05:32.030 -> [7569] 192.168.26.19
18:05:32.402 -> [7931] Freeheap: 35560
18:05:32.402 -> [7933] mDNS responder started
18:05:32.402 -> [7934] webSocket_MQTT server started
18:05:32.402 -> [7934] ws://68947C00I9ZOLRLWWRQDYT98.local:81
18:05:48.031 -> [23586] =======================================================
18:05:48.079 -> [23586] =========== Blinker Auto Control mode init! ===========
18:05:48.079 -> [23586]      EEPROM address 0-1279 is used for Auto Control!
18:05:48.079 -> [23591] ======= PLEASE AVOID USING THESE EEPROM ADDRESS! ======
18:05:48.079 -> [23597] =======================================================
18:05:48.079 -> [23605] Connecting to MQTT...
18:05:48.079 -> [23605] reconnect_time: 0
18:05:48.779 -> [24333] MQTT Connected!
18:05:48.779 -> [24333] Freeheap: 35224
18:07:08.596 -> [104145] MQTT Ping!


这个是手机热点连接的时候串口监视器内容
 楼主| 发表于 2021-6-3 18:02 | 显示全部楼层
本帖最后由 RexHarrison 于 2021-6-3 18:03 编辑
18:00:55.695 -> [71]
18:00:55.695 ->  __       __                __
18:00:55.695 -> /\ \     /\ \    __        /\ \              v0.3.80210527
18:00:55.695 -> \ \ \___ \ \ \  /\_\    ___\ \ \/'\      __   _ __   
18:00:55.695 ->  \ \ '__`\\ \ \ \/\ \ /' _ `\ \ , <    /'__`\/\`'__\
18:00:55.742 ->   \ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\  __/\ \ \./
18:00:55.742 ->    \ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\  
18:00:55.742 ->     \/___/   \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/  
18:00:55.742 ->     To better use blinker with your IoT project!
18:00:55.742 ->     Download latest blinker library here!
18:00:55.742 ->     => https://github.com/blinker-iot/blinker-library
18:00:55.742 ->
18:00:55.742 -> [105] Connecting to 00000
18:00:55.835 -> [190] ESP8266_MQTT initialized...
18:00:55.835 -> [190]
18:00:55.835 -> ===========================================================
18:00:55.835 -> ================== Blinker Timer loaded! ==================
18:00:55.835 ->      EEPROM address 1536-2431 is used for Blinker Timer!
18:00:55.835 -> ========= PLEASE AVOID USING THESE EEPROM ADDRESS! ========
18:00:55.835 -> ===========================================================
18:00:55.835 ->
18:01:00.131 -> [4511] WiFi Connected.
18:01:00.131 -> [4512] IP Address:
18:01:00.131 -> [4512] 192.168.1.209
18:01:00.319 -> [4674] Freeheap: 35560
18:01:00.319 -> [4677] mDNS responder started
18:01:00.319 -> [4678] webSocket_MQTT server started
18:01:00.319 -> [4678] ws://68947C00I9ZOLRLWWRQDYT98.local:81



这是连wifi的串口监视器内容。大佬给看看问题到底在哪啊
 楼主| 发表于 2021-6-3 18:08 | 显示全部楼层
RexHarrison 发表于 2021-6-3 18:02
18:00:55.695 -> [71]
18:00:55.695 ->  __       __                __
18:00:55.695 -> /\ \     /\ \   ...

多久都不会像热点一样有更多内容,wifi到这就不再动了
 楼主| 发表于 2021-6-3 20:55 | 显示全部楼层
奈何col 发表于 2021-6-3 17:18
https://www.arduino.cn/thread-95396-1-1.html

有偿求教大佬

点评

看不出有啥问题。建议: 1.确保app最新 2.确保package为文档中指定的版本 3.确保lib最新 4.测试hello blinker示例程序  详情 回复 发表于 2021-6-3 22:14
发表于 2021-6-3 22:14 | 显示全部楼层

看不出有啥问题。建议:
1.确保app最新
2.确保package为文档中指定的版本
3.确保lib最新
4.测试hello blinker示例程序
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-28 11:43 , Processed in 0.103991 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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