本帖最后由 renqiang06 于 2022-5-8 20:38 编辑
ESP32 板子:
ESP32
ESPhome yaml文件
esphome:
name: bluz
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "a5a0b0ae6fd2c78bfa2d4401206dbdbf"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Bluz Fallback Hotspot"
password: "oKGigeHPAqnq"
captive_portal:
esp32_ble_tracker:
text_sensor:
- platform: ble_scanner
name: "scaner"
第一次刷,翻看论坛里大神说最好用网页版esphome刷,我也试了:
结果刷好了,log信息如下:
[D][esp32_ble_tracker:217]: Starting scan...
[C][wifi:037]: Setting up WiFi...
...
[D][wifi:373]: Starting scan...
[D][wifi:388]: Found networks:
[D][wifi:390]: No network found!
[W][wifi:571]: <font color="#000000"><b>Restarting WiFi adapter...</b></font>
[D][wifi:373]: Starting scan...
[I][wifi:136]: Starting fallback AP!
[C][wifi:201]: Setting up AP...
[C][wifi:203]: <b>AP SSID: 'Bluz Fallback Hotspot'</b>
[C][wifi:204]: AP Password: 'oKGigeHPAqnq'
[C][wifi:213]: IP Address: 192.168.4.1
[D][wifi:388]: Found networks:
[D][wifi:390]: No network found!
...
[D][wifi:373]: Starting scan...
[D][wifi:388]: Found networks:
[D][wifi:390]: No network found!
[D][wifi:373]: Starting scan...
[D][wifi:388]: <b>Found networks:</b>
[I][wifi:432]: - <b>'TWC2' (8C:53:C3:59:08:05) [redacted]▂▄▆█
[D][wifi:433]: Channel: 1</b>
[D][wifi:434]: RSSI: -78 dB
[I][wifi:248]: WiFi Connecting to 'TWC2'...
[W][wifi_esp32:492]:<b> Event: Disconnected ssid='TWC2' reason='Probe Request Unsuccessful'</b>
[W][wifi:546]: WiFi network can not be found anymore.
[I][wifi:248]: WiFi Connecting to 'TWC2'...
[W][wifi:546]: WiFi network can not be found anymore.
[W][wifi_esp32:492]: Event: Disconnected ssid='TWC2' reason='Probe Request Unsuccessful'
...
[D][wifi:373]: Starting scan...
[D][wifi:388]: Found networks:
[D][wifi:390]: No network found!
[D][wifi:373]: Starting scan...
[D][wifi:388]: Found networks:
[I][wifi:432]: - 'TWC2' (8C:53:C3:59:08:05) [redacted]▂▄▆█
[D][wifi:433]: Channel: 1
[D][wifi:434]: RSSI: -78 dB
[I][wifi:248]: WiFi Connecting to 'TWC2'...
[W][wifi:546]: WiFi network can not be found anymore.
[I][wifi:248]: WiFi Connecting to 'TWC2'...
[W][wifi:546]: WiFi network can not be found anymore.
[W][wifi_esp32:492]: Event: Disconnected ssid='TWC2' reason='Probe Request Unsuccessful'
[D][wifi:373]: Starting scan...
[D][wifi:388]: Found networks:
[D][wifi:390]: No network found!
[D][wifi:373]: Starting scan...
[D][wifi:388]: Found networks:
[D][wifi:390]: No network found!
[D][wifi:373]: Starting scan...
[D][wifi:388]: Found networks:
[D][wifi:390]: No network found!
wifi 设置的2.4G,esp8266可以直接连上,只有esp32,我也不知道问题在哪?请大神帮忙看看
把板子改为lolin_d32
成功了一次,然后刷另一块esp32,又不行了。难不成是网络的问题?刷机包没有从github拉取完整信息?
问题终结。这个芯片wifi是坏的,郁闷,另外一个随便刷就行。
|