Offline ESPHOME Devices

Since last HomeAssistant update, ESPHOME shows all devices as offline, however, they are active and properly working. Any idea?

Any logs? :page_with_curl:

Thatā€™s very unlikely as a HA update shouldnā€™t at all interfere with the ESPHOME Dashboard (which is updated separately). Feel free to tell us what exact versions you are running. :white_check_mark:

And donā€™t be scared to give this thread here a read :point_down:

and did you search??
someone asked the same question abt 3 hrs agoā€¦

Thanks for the quick reply!

Ok, I will provide as much info as possible.

  1. I am using HA version 2023.3.1
  2. I am using ESPHome v2023.2.4 (I believe is the latest)
  3. I looked at the other thread opened but the issue is different. In my case, ESPHOME shows the devices offline, but I can see the logs wirelessly, and I can even change the configuration of the devices (upload a modification via wireless).


  1. If I re-upload the configuration wirelessly, the device appears online for like 1 minute and then becomes offline again.


  2. ESP log is below

# ESPHome

2023-03-05 09:49:30,254 INFO 304 GET / (0.0.0.0) 2.43ms 2023-03-05 09:49:30,290 INFO 200 GET /static/fonts/material-icons/material-icons.css?hash=ead4c276 (0.0.0.0) 3.39ms 2023-03-05 09:49:30,296 INFO 200 GET /static/css/esphome-2.css?hash=e81a30ae (0.0.0.0) 3.41ms 2023-03-05 09:49:30,304 INFO 200 GET /static/js/esphome/index-67cb530c.js (0.0.0.0) 5.23ms 2023-03-05 09:49:30,311 INFO 200 GET /static/fonts/material-icons/MaterialIcons-Regular.woff2?hash=570eb838 (0.0.0.0) 3.75ms 2023-03-05 09:49:30,398 INFO 200 GET /static/js/esphome/c.a24dad9a.js (0.0.0.0) 3.64ms 2023-03-05 09:49:30,408 INFO 200 GET /static/js/esphome/c.abbbe9de.js (0.0.0.0) 5.98ms 2023-03-05 09:49:30,411 INFO 200 GET /static/js/esphome/c.bc0ca5c5.js (0.0.0.0) 6.30ms 2023-03-05 09:49:30,462 INFO 200 GET /static/images/logo-text.svg (0.0.0.0) 3.52ms 2023-03-05 09:49:30,483 INFO 304 GET /devices (0.0.0.0) 8.33ms 2023-03-05 09:49:30,507 INFO 200 GET /static/fonts/material-icons/MaterialIcons-Regular.woff2 (0.0.0.0) 2.31ms 2023-03-05 09:49:30,508 INFO 200 GET /static/js/esphome/c.e7806b41.js (0.0.0.0) 43.64ms 2023-03-05 09:49:30,989 INFO 200 GET /static/js/esphome/c.5cd5d307.js (0.0.0.0) 2.26ms 2023-03-05 09:49:30,993 INFO 200 GET /static/js/esphome/c.2fd5868c.js (0.0.0.0) 2.21ms 2023-03-05 09:49:35,519 INFO 304 GET /devices (0.0.0.0) 2.08ms 2023-03-05 09:49:40,457 INFO 304 GET /devices (0.0.0.0) 2.01ms 2023-03-05 09:49:46,090 INFO 304 GET /devices (0.0.0.0) 5.20ms 2023-03-05 09:49:52,076 INFO 304 GET /devices (0.0.0.0) 5.50ms 2023-03-05 09:49:58,090 INFO 304 GET /devices (0.0.0.0) 5.48ms 2023-03-05 09:50:04,088 INFO 304 GET /devices (0.0.0.0) 4.60ms 2023-03-05 09:50:10,095 INFO 304 GET /devices (0.0.0.0) 8.82ms 2023-03-05 09:50:16,105 INFO 304 GET /devices (0.0.0.0) 5.35ms 2023-03-05 09:50:22,114 INFO 304 GET /devices (0.0.0.0) 10.13ms 2023-03-05 09:50:28,095 INFO 304 GET /devices (0.0.0.0) 4.81ms 2023-03-05 09:50:34,111 INFO 304 GET /devices (0.0.0.0) 3.87ms 2023-03-05 09:50:40,101 INFO 304 GET /devices (0.0.0.0) 2.03ms 2023-03-05 09:50:46,099 INFO 304 GET /devices (0.0.0.0) 2.06ms 2023-03-05 09:50:52,083 INFO 304 GET /devices (0.0.0.0) 2.04ms 2023-03-05 09:50:57,073 INFO 304 GET /devices (0.0.0.0) 2.06ms 2023-03-05 09:52:35,420 INFO 200 GET /devices (0.0.0.0) 2.03ms 2023-03-05 09:53:00,984 INFO 304 GET / (0.0.0.0) 1.08ms 2023-03-05 09:53:01,033 INFO 200 GET /static/fonts/material-icons/material-icons.css?hash=ead4c276 (0.0.0.0) 2.10ms 2023-03-05 09:53:01,043 INFO 200 GET /static/css/esphome-2.css?hash=e81a30ae (0.0.0.0) 1.77ms 2023-03-05 09:53:01,047 INFO 200 GET /static/js/esphome/index-67cb530c.js (0.0.0.0) 2.50ms 2023-03-05 09:53:01,056 INFO 200 GET /static/fonts/material-icons/MaterialIcons-Regular.woff2?hash=570eb838 (0.0.0.0) 2.49ms 2023-03-05 09:53:01,208 INFO 200 GET /static/js/esphome/c.a24dad9a.js (0.0.0.0) 2.28ms 2023-03-05 09:53:01,212 INFO 200 GET /static/js/esphome/c.abbbe9de.js (0.0.0.0) 1.65ms 2023-03-05 09:53:01,217 INFO 200 GET /static/js/esphome/c.bc0ca5c5.js (0.0.0.0) 2.14ms 2023-03-05 09:53:01,298 INFO 304 GET /devices (0.0.0.0) 3.07ms 2023-03-05 09:53:01,333 INFO 200 GET /static/images/logo-text.svg (0.0.0.0) 2.02ms 2023-03-05 09:53:01,338 INFO 200 GET /static/js/esphome/c.e7806b41.js (0.0.0.0) 19.32ms 2023-03-05 09:53:01,343 INFO 200 GET /static/fonts/material-icons/MaterialIcons-Regular.woff2 (0.0.0.0) 2.34ms 2023-03-05 09:53:01,782 INFO 200 GET /static/js/esphome/c.5cd5d307.js (0.0.0.0) 2.16ms 2023-03-05 09:53:01,786 INFO 200 GET /static/js/esphome/c.2fd5868c.js (0.0.0.0) 2.17ms 2023-03-05 09:53:06,319 INFO 304 GET /devices (0.0.0.0) 1.99ms 2023-03-05 09:53:11,302 INFO 304 GET /devices (0.0.0.0) 2.37ms 2023-03-05 09:53:17,086 INFO 304 GET /devices (0.0.0.0) 2.14ms 2023-03-05 09:53:22,978 INFO 304 GET /devices (0.0.0.0) 2.04ms 2023-03-05 09:53:26,786 INFO 200 GET /static/js/esphome/c.fde3eaa6.js (0.0.0.0) 1.31ms 2023-03-05 09:53:26,808 INFO 200 GET /static/js/esphome/c.fef57cf6.js (0.0.0.0) 1.83ms 2023-03-05 09:53:26,820 INFO 200 GET /static/js/esphome/c.2083297b.js (0.0.0.0) 1.71ms 2023-03-05 09:53:26,823 INFO 200 GET /static/js/esphome/c.d981cbff.js (0.0.0.0) 1.85ms 2023-03-05 09:53:26,882 INFO 200 GET /static/js/esphome/c.d0299bcf.js (0.0.0.0) 1.31ms 2023-03-05 09:53:26,910 INFO 101 GET /logs (0.0.0.0) 0.86ms 2023-03-05 09:53:26,918 INFO Running command 'esphome --dashboard logs /config/esphome/sensor_temp.yaml --device OTA' 2023-03-05 09:53:27,895 INFO 304 GET /devices (0.0.0.0) 2.66ms 2023-03-05 09:53:32,900 INFO 304 GET /devices (0.0.0.0) 2.07ms 2023-03-05 09:53:37,912 INFO 304 GET /devices (0.0.0.0) 2.05ms 2023-03-05 09:53:42,918 INFO 304 GET /devices (0.0.0.0) 2.13ms 2023-03-05 09:53:47,928 INFO 304 GET /devices (0.0.0.0) 2.08ms 2023-03-05 09:53:53,103 INFO 304 GET /devices (0.0.0.0) 2.16ms 2023-03-05 09:53:58,101 INFO 304 GET /devices (0.0.0.0) 4.20ms 2023-03-05 09:54:04,088 INFO 304 GET /devices (0.0.0.0) 5.72ms 2023-03-05 09:54:10,105 INFO 304 GET /devices (0.0.0.0) 11.15ms 2023-03-05 09:54:16,086 INFO 304 GET /devices (0.0.0.0) 5.76ms 2023-03-05 09:54:22,087 INFO 304 GET /devices (0.0.0.0) 9.54ms 2023-03-05 09:54:28,101 INFO 304 GET /devices (0.0.0.0) 5.64ms 2023-03-05 09:54:34,108 INFO 304 GET /devices (0.0.0.0) 9.41ms 2023-03-05 09:54:40,101 INFO 304 GET /devices (0.0.0.0) 9.16ms 2023-03-05 09:54:46,112 INFO 304 GET /devices (0.0.0.0) 9.81ms 2023-03-05 09:54:52,096 INFO 304 GET /devices (0.0.0.0) 7.23ms 2023-03-05 09:54:58,107 INFO 304 GET /devices (0.0.0.0) 6.02ms 2023-03-05 09:55:03,116 INFO 304 GET /devices (0.0.0.0) 8.66ms 2023-03-05 09:55:06,258 INFO 200 GET /static/js/esphome/c.04c56d03.js (0.0.0.0) 3.55ms 2023-03-05 09:55:06,297 INFO 200 GET /edit?configuration=sensor_temp.yaml (0.0.0.0) 3.37ms 2023-03-05 09:55:06,377 INFO 200 GET /static/js/esphome/monaco-editor/esm/vs/editor/editor.worker.js (0.0.0.0) 3.26ms 2023-03-05 09:55:06,416 INFO 200 GET /static/js/esphome/c.5cd5d307.js (0.0.0.0) 5.48ms 2023-03-05 09:55:06,424 INFO 101 GET /ace (0.0.0.0) 2.80ms 2023-03-05 09:55:06,456 INFO Running command 'esphome --dashboard -q vscode --ace /config/esphome' 2023-03-05 09:55:07,104 INFO 200 GET /static/fonts/codicon.ttf (0.0.0.0) 4.42ms 2023-03-05 09:55:08,115 INFO 200 POST /edit?configuration=sensor_temp.yaml (0.0.0.0) 3.76ms 2023-03-05 09:55:08,146 INFO 200 GET /static/js/esphome/c.44a9a4ba.js (0.0.0.0) 3.34ms 2023-03-05 09:55:08,193 INFO 200 GET /static/js/esphome/c.ce47441c.js (0.0.0.0) 4.36ms 2023-03-05 09:55:08,208 INFO 200 GET /static/js/esphome/c.ee00fa01.js (0.0.0.0) 3.74ms 2023-03-05 09:55:08,268 INFO 304 GET /info?configuration=sensor_temp.yaml (0.0.0.0) 4.53ms 2023-03-05 09:55:09,439 INFO 200 GET /static/js/esphome/c.1fea68dd.js (0.0.0.0) 3.22ms 2023-03-05 09:55:09,474 INFO 101 GET /run (0.0.0.0) 2.51ms 2023-03-05 09:55:09,477 INFO Running command 'esphome --dashboard run /config/esphome/sensor_temp.yaml --device OTA' 2023-03-05 09:55:49,220 INFO 200 GET /static/images/logo-text.svg (0.0.0.0) 1.96ms 2023-03-05 09:55:49,235 INFO 304 GET /devices (0.0.0.0) 4.62ms 2023-03-05 09:55:54,232 INFO 304 GET /devices (0.0.0.0) 2.05ms 2023-03-05 09:55:59,224 INFO 304 GET /devices (0.0.0.0) 2.04ms 2023-03-05 09:56:05,098 INFO 304 GET /devices (0.0.0.0) 2.08ms 2023-03-05 09:56:11,095 INFO 304 GET /devices (0.0.0.0) 3.48ms 2023-03-05 09:56:17,110 INFO 304 GET /devices (0.0.0.0) 2.59ms 2023-03-05 09:56:23,100 INFO 304 GET /devices (0.0.0.0) 2.56ms 2023-03-05 09:56:28,451 INFO 304 GET /devices (0.0.0.0) 6.12ms 2023-03-05 09:56:34,095 INFO 304 GET /devices (0.0.0.0) 5.58ms 2023-03-05 09:56:39,118 INFO 304 GET /devices (0.0.0.0) 5.69ms 2023-03-05 09:57:35,424 INFO 200 GET /devices (0.0.0.0) 5.56ms

So it is the same as the other thread (you have a mDNS issue)ā€¦
Nothing serious though, as you stated, HA communicates fine with it :wink:

Indeed.

@mmatus1112 did you by chance change anything in your network infrastructure?

Quick fix would be to change the detection of online nodes in the dashboard from the default (mDNS) to ICMP pings. The ā€œproperā€ fix would be to get mDNS working correctly again in your network :bulb:

I do have the same problem but realy donā€™t understand this mDNS, ICMP ping orAvahi?
The strange part is that it is already working for years and now suddenly this happens??
What is changed? (I didnā€™t change anythinh except updating ESPHome and HA)

I realy donā€™t understand the easy sounding solution:

Just follow the next steps:

1. Enable Avahi on both subnets.
2. Enable UDP traffic from ESPHome nodeā€™s subnet to 224.0.0.251/32 on port 5353.

What subnets??? I do not have subnets as far as i Know

Is it possible to explane this to simple people like me?

I feel you as I am experiencing the same thing. I have two Home Assistant Blue devices. I updated one of them while the other one was not updated. The updated one shows the issue while the one that is NOT updated DOES NOT show the issue. I have NOT changed anything from my network at all. I went into my router (xfinity), and saw nothing related to mDNS nor ICMP.

In my troubleshooting issues I have found that if I restart my router, all devices become online but eventually will go offline anyways (but they still work on HA). I will just wait for an ESPhome update to come out and see if the issue is resolved as I believe is not a router configuration issue.

Im running the latest ESPhome

i can connect OTA to the device logging and updates are working
but the status is OFFLINE at ESPhome

HA ( on trusted network) and the ESPhome device( on a NoT network)
image

@HA1974 sound like mDNS issues, just use your own dns or use a fixed IP :wink:

Iā€™m having the same issue and I am using a fixed IP address with reservations in DHCP. They still show offline even though I can connect to them and they are functioning properly.