ESPHome Device Shows Online in Dashboard but Offline in Home Assistant Integration

I’m having an issue where my ESP32 shows as online and working in the ESPHome dashboard with active logs, but appears as offline in Home Assistant’s Devices & Services section.

It uses the correct IP address, shows up on my network, and I’ve already tried re-adding it multiple times. It shows up as a discovered device when removed, but when I add it, it shows as disconnected.

Has anyone had this problem before? And what could be the problem?

Excuses if I posted this in the wrong section, very new to all of this!

1 Like

Show us your YAML

I’ve been experienced the same here with all my devices, esp32, esp32-c3 and esp32-cam

Seems to be working for a bit and then just loosing the connection,

I’ve tried connecting the device direclty to the PC and it hangs here:

INFO Starting log output from /dev/ttyUSB1 with baud rate 115200`Preformatted text`

on ESPHome github I’ve found the same issue:

, we might need to wait for an update,

Here is my yaml, i have only added a bluetooth proxy because I want to use my ESP for presence detection

esphome:
  name: slaapkamer1

esp32:
  board: esp32dev
  framework:
    type: esp-idf

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: ""

ota:
  - platform: esphome
    password: ""

wifi:
  ssid: "SSID"
  password: "PASSWORD"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Slaapkamer1 Fallback Hotspot"
    password: "mtK73LmxVdvV"

captive_portal:

bluetooth_proxy:
  

What version of ESPHome are you running?
Did it run stable before and only started happening or is this something that didn’t work right off the bat?

has not worked ever, and running on the newest version of the HA add-on

And the first time you flashed it, did HA discover the ESP device?

You are able to ‘get logs’ from the ESPHome add-on, right?

I don’t exactly know how but I got it working! hope it will stay this way

Haha that’s awesome. Check the yaml you posted here and check what the difference is so you know (and can perhaps comment it I line) for next time.