Hello Fellow Comrads,
I am an enthusiastic user of Home Assistant, but I’ve encountered a recurring issue that appears to primarily affect Local Tuya, a component I heavily rely on for over 120 devices, making it impractical for me to remove for testing purposes.
To give some context, I discovered a thread discussing a similar issue, although no definitive solution was provided, and it seemed to resolve itself for the original poster: Home assistant keeps crashing my network
The problem manifests as intermittent network instability, during which only LAN connections function properly while WiFi connections encounter difficulties. Local Tuya struggles to communicate with most of my devices during these episodes.
When this instability arises, my smart devices, such as lights, remain accessible via the Tuya Mobile App. However, Local Tuya often disables the switch function or even greys out the device, indicating its unavailability.
Moreover, I find it challenging to establish WiFi connections with some devices during these periods. However, Home Assistant can still ping the affected smart devices, indicating a functional connection.
Initially, to address the issue, I upgraded my WiFi equipment, switching from Tenda’s to TP-Links and Ubiquity Devices. I also replaced all network switches. Additionally, I have a Mikrotik Firewall in place which enables me to monitor and troubleshoot my network.
When network instability occurs, my first line of action is to reboot my devices, such as WiFi units, routers and switches. This strategy provides some temporary relief as things seem to start to work but does not fully resolve the problem. Most devices seem to still struggle some way or another.
Ultimately, rebooting my Home Assistant Pi (a Pi 4 with 4GB RAM) brings everything back to normal operation. This isn’t just a soft reload; it requires a complete physical restart. The stability lasts for several days until the cycle repeats. I even replaced the Pi and conducted a fresh installation, but the issue persists. Intriguingly, a cold reboot of the Pi is the only measure that reliably restores network functionality.
Although Local Tuya appears to be the most affected, other integrations seem to function fine unless the connected device is on WiFi when the problem arises.
Despite my best efforts, replacing virtually all components, I remain at my wit’s end, unable to pinpoint the source of the issue. Can anyone provide some insight or potential solutions to this persistent network puzzle? Your advice would be greatly appreciated.