SO i finally got esphome working in home-assistant, but i cant seem to flash my esp32 for presence detection, i got these from amazon, https://www.amazon.com/gp/product/B08246MCL5/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1
The little device is on iwth a red light, but i cant seem to get it connected
INFO Reading configuration /config/esphome/main-living-room-presence.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing main-living-room-presence (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- <AsyncTCP-esphome> 1.2.2
|-- <WiFi> 1.0
|-- <FS> 1.0
|-- <Update> 1.0
|-- <ESPAsyncWebServer-esphome> 2.1.0
| |-- <AsyncTCP-esphome> 1.2.2
|-- <DNSServer> 1.1.0
|-- <ESPmDNS> 1.0
RAM: [= ] 12.6% (used 41180 bytes from 327680 bytes)
Flash: [===== ] 48.4% (used 888686 bytes from 1835008 bytes)
========================= [SUCCESS] Took 4.26 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of main-living-room-presence.local
ERROR Error resolving IP address of main-living-room-presence.local. Is it connected to WiFi?
ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips)
ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -5] No address associated with hostname
esphome:
name: living-room-presence
esp8266:
board: esp_wroom_02
# Enable logging
logger:
level: INFO
# Enable Home Assistant API
api:
ota:
password: "cff8c2bab16b8e5d0ff6c79afe54ac05"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Living-Room-Presence"
password: "RcCWNEdWc9qj"
captive_portal: