I’m running ESPHome in a Docker container on my Windows computer, and I plan to integrate the nodes in a different system than Home Assistant (HomeSeer, to be precise). I’m compiling the binary files just fine, and I’m able to upload them to a node using OTA, since I’ve set the node up with a static IP address. But the node is still offline in the ESPHome Dashboard.
I’m trying to understand why this is, but I haven’t found any information on this in the documentation. I believe it might be related to port forwarding between my Windows host computer and the Docker container running the ESPHome Dashboard. Since setting
--net=host isn’t really doing anything (at least not forwarding port 6052 for the Dashboard), I instead have to forward the port manually.
So how does the ESPHome Dashboard determine if a node is online? Is it polling the node on a MQTT topic, or is there some other mechanism? Specifically I’m curious about which port(s) this communication is on.