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

RexHarrison 发表于 2021-6-3 16:54

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

nodemcu模块,连接手机热点的话我手机就能看到设备在线,但是和手机连进同一个wifi的时候,怎么刷新都显示设备离线。求助

RexHarrison 发表于 2021-6-3 17:07

点灯科技app

奈何col 发表于 2021-6-3 17:18

https://www.arduino.cn/thread-95396-1-1.html

RexHarrison 发表于 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 -> WiFi Connected.
17:43:21.822 -> IP Address:
17:43:21.822 -> 192.168.1.209
17:43:22.009 -> Freeheap: 35448
17:43:22.009 -> mDNS responder started
17:43:22.009 -> webSocket_MQTT server started
17:43:22.009 -> ws://68947C00I9ZOLRLWWRQDYT98.local:81

RexHarrison 发表于 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的充电宝都做了测试。
请问大佬我该怎么办啊:'(

RexHarrison 发表于 2021-6-3 17:58

本帖最后由 RexHarrison 于 2021-6-3 18:07 编辑

奈何col 发表于 2021-6-3 17:18
https://www.arduino.cn/thread-95396-1-1.html
18:05:24.004 -> WiFi Connected.
18:05:24.004 -> IP Address:
18:05:24.004 -> 192.168.26.19

18:05:24.517 ->
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 -> Connecting to MI 10
18:05:24.656 -> ESP8266_MQTT initialized...
18:05:24.656 ->
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 -> WiFi Connected.
18:05:32.030 -> IP Address:
18:05:32.030 -> 192.168.26.19
18:05:32.402 -> Freeheap: 35560
18:05:32.402 -> mDNS responder started
18:05:32.402 -> webSocket_MQTT server started
18:05:32.402 -> ws://68947C00I9ZOLRLWWRQDYT98.local:81
18:05:48.031 -> =======================================================
18:05:48.079 -> =========== Blinker Auto Control mode init! ===========
18:05:48.079 ->       EEPROM address 0-1279 is used for Auto Control!
18:05:48.079 -> ======= PLEASE AVOID USING THESE EEPROM ADDRESS! ======
18:05:48.079 -> =======================================================
18:05:48.079 -> Connecting to MQTT...
18:05:48.079 -> reconnect_time: 0
18:05:48.779 -> MQTT Connected!
18:05:48.779 -> Freeheap: 35224
18:07:08.596 -> MQTT Ping!


这个是手机热点连接的时候串口监视器内容

RexHarrison 发表于 2021-6-3 18:02

本帖最后由 RexHarrison 于 2021-6-3 18:03 编辑

奈何col 发表于 2021-6-3 17:18
https://www.arduino.cn/thread-95396-1-1.htm18:00:55.695 ->
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 -> Connecting to 00000
18:00:55.835 -> ESP8266_MQTT initialized...
18:00:55.835 ->
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 -> WiFi Connected.
18:01:00.131 -> IP Address:
18:01:00.131 -> 192.168.1.209
18:01:00.319 -> Freeheap: 35560
18:01:00.319 -> mDNS responder started
18:01:00.319 -> webSocket_MQTT server started
18:01:00.319 -> ws://68947C00I9ZOLRLWWRQDYT98.local:81



这是连wifi的串口监视器内容。大佬给看看问题到底在哪啊

RexHarrison 发表于 2021-6-3 18:08

RexHarrison 发表于 2021-6-3 18:02
18:00:55.695 ->
18:00:55.695 ->__       __                __
18:00:55.695 -> /\ \   /\ \   ...

多久都不会像热点一样有更多内容,wifi到这就不再动了

RexHarrison 发表于 2021-6-3 20:55

奈何col 发表于 2021-6-3 17:18
https://www.arduino.cn/thread-95396-1-1.html

有偿求教大佬

奈何col 发表于 2021-6-3 22:14

RexHarrison 发表于 2021-6-3 20:55
有偿求教大佬

看不出有啥问题。建议:
1.确保app最新
2.确保package为文档中指定的版本
3.确保lib最新
4.测试hello blinker示例程序
页: [1] 2
查看完整版本: 为什么用手机热点可以显示设备在线,用wifi就不行