ESPHome - ESP32 + PIR HC-SR501
ESPHome - ESP32 + PIR HC-SR501
you connect to the ESP(32 / 8266) device connected over serial line (USB–serial adapter)
你的usb ttl驱动装好了吗,识别端口了吗
Table of Contents
Part 1.Display via cp2102 driver on COM6 on pop window
Install cp2102 driver on windows 10
Note
Install drivers listed on the ESP Web Tools page
restart windows 10
你的usb ttl驱动装好了吗
or
当出现以下情况时,重新启动windows 10。restart windows 10
当未插esp32时,连接失败时,显示:
ESP32 DevkitV1 Board
Part 2.Install ESPHome init fireware bin using ESP Web Tools
Open https://web.esphome.io/
Connect your ESP device to your computer
你的ESP Web Tools识别端口了吗
Connect your ESP device attached to a USB–>serial adapter and when doing so make sure IO0 is pulled to GND during the power-up.
Click CONNECT and select COM where your virtual COM port enumerated.
Click PREPARE FOR FIRST USE (you are probably past that point)
Installation Complete window,
Part 3.Install WiFI credentials
click Next button and enter your WiFI credentials
Reset the ESP(32 or 8266) device and make sure IO0 is floating.
You may just disconnect and reconnect your USB–>serial adapter from the computer if this is how your ESP is powered and if you do not have a Reset button.
Repeat the CONNECT and select the same COMxx port as earlier
Now click the three vertical dots (menu) and select Configure WiFi
If the device fail to connect to wifi from the installation dialog either in web.esphome.io or on the ESP dashboard (dependent where do you install the software) then the device is in the AP mode.
Connect to it and it asks you which network you would like to connect.
Once you connect your ESP to your Wi-Fi you are on the home.HA then detects the device.
your device will be set in Access Point mode, and using your computer you can connect to it as a wifi access point. Once you do it will open a page (automatically) where you can insert your wifi credentials and hit save. The information will be saved and the device will now switch to your wifi and it will be discovered automatically on Home Assistant ESPHome addon
bbs:
https://www.matterxiaomi.com/boards/topic/32120/home-assistant-esphome-series-esphome-esp32-devkit-v1
https://www.matterxiaomi.com/boards/topic/2167/home-assistant-esphome-series-esp32
Comments
Comments are closed