esphome is hard enough to get working (until you do know what you are doing) with normal networking, doing it with a complicated network is just asking for problems.
You do need to get the logs from the device’s perspective. It probably has a clue as to what is configured incorrectly.
There are a lot of concepts one needs to understand to troubleshoot complex problems. Unfortunately, most tutorials assume things just work and don’t cover troubleshooting when they don’t.
Your device appears to be having a failure to communicate. It is likely saying why in its log.
I played with getting wireguard to connect a client esp32 on different network to connect back to ha but got nowhere.
The problem I think came down to VPN was on a device behind the router and I couldn’t work out how to route from router to VPN. It needed something mre than just port forwarding.
I cant see any peer allowed ips in your yaml
10.0.0.3 is mising the subnet. Its likely 10.0.0.3/32 (cidr rules)
As it turns out, I did get it to connect… but I stupidly forgot to save the config, so I have literally no idea how I got here ffs…
If anyone can speculate on what my setting may have been as I have spent the last two hours trying every combination I remember…
Or if anyone knows how to reverse engineer the .bin file as I still have a copy of that!
There is two public keys? one for the server and one for the device… I was putting the device public key into the .yaml when I should have been putting the server public key in.
Now the ESP connects to wireguard, but HA cant see it… But this feels like a firewall issue somewhere, unless anyone has any Ideas?
Have you added the device manually to ESPHome, not the builder but the integration using its IP address? It isn’t going to see it automatically like it normally does.
Settings > Devices & Services > ESPHome
Then click the add device button and enter it’s IP address 10.0.0.3
I have tried, but it cannot find the ESP.
What makes me think its a firewall issue is the box was pre-populated with the 10.0.0.3 IP address, so ESPhome knows my ESP is out there!