I’ve been struggling for months with a problem where one minute I can use Hello Google to turn on a device and the next minute Google says it says it cannot reach my Home Assistant. There are numerous threads with similar and I feel I’ve been through them all and tried everything and I’m at a loss what to try next.
I’m using the roll-your-own method rather than Nabu Casa It’s a Pi4 with SSD with mainly Zigbee devices. It can sometimes work for days with no problem then have a problem which is usually fairly quickly overcome. There is no discernible pattern - though often when it has failed it might work if I try again within 30 seconds or so - which indicated to me it might be something sleeping and not waking quick enough - but this isn’t consistent in that it doesn’t always behave like that.
So given that it works maybe 70% of the time I am assuming that it is configured correctly. I’m using NGINX reverse proxy and attempting to use local fulfilment, but nothing points to that working properly as far as I can see. I don’t believe it is a DuckDNS problem.
The Pi is hardwired on my local LAN. The Google devices are connected via 5GHz WiFi to my Deco mesh. I have implemented “keep-alive” pings to try to make sure nothing is sleeping. There is no significant lag in my local ping times between devices.
I am in the process of creating a new Home Assistant environment and a new Google Project but other than that I don’t know what to look for in logs, or what else I can do to diagnose the problem - I am out if ideas - so would be grateful for any thoughts on how to move it forward.