The ESPHome dashboard undeniably offers a user-friendly experience to manage devices and updates. Nevertheless, there's a common hiccup that often leaves users scratching their heads: ESPHome displaying all nodes as offline when, in reality, they are functioning just fine. The good news is that a straightforward solution exists for this pesky problem, particularly for those running ESPHome in a Docker container or on an Unraid server.
Docker Container and Unraid Server Users Rejoice
It's widely acknowledged that this peculiar issue often occurs in the context of Docker containers, rather than the Home Assistant add-on. In such cases, the solution is as simple as adding a single environment variable to the Docker container. Those using Docker Compose can add the following snippet:
environment:
ESPHOME_DASHBOARD_USE_PING="true"
For Unraid server users, fear not – the process is equally painless. Simply add the mentioned variable through the web interface, and you're all set to enjoy your ESPHome dashboard without any misleading offline statuses.
use “true” LOWERCASE to work.
Dec 2022