I’ve quite the interessant problem/puzzle to solve. Running a vm with HAOS and home assistant, my wifi devices(Tuya, esp and other looks like 2.4Ghz devices) sometimes are completely unavailable. Only thing that works is a reboot of the vm and all the unavailable WiFi devices come up instantly. Rebooting just home assistant doesn’t work and rebooting the switch and router neither. Happens sometimes after 6 hours and sometimes after three days.
Any thoughts?
my setup:
Minisforum GK50
Unraid 6.12.11
VM standard network settings
Tplink deco XE75PRO mesh network (with about 45 connections, hardwired and WiFi)
Home assistant 2024.7.3
HAOS 12.4
My mistake, just standard network settings in VM, no fixed ip.
I cannot ping the devices. Also in the Tuya app the devices become unavailable. It took me a while (and quite some frustration ) to narrow it down to the vm with HA. When I reboot that, everything becomes instantly available.
Have you also retried restarting just the integration? And are you using local tuya integration, or cloud based? And what about the esps, are they just showing unavailable in esphome, or actually not connected to HA? It sounds like you could be having mdns or cloud service trouble, not “ip” or wifi problems.
Why are we virtualizing hardware? It’s a cost and energy effective solution. And I don’t want to have my utility cabinet clogging up with raspberries and nucs
That’s just the thing, it doesn’t matter if I restart any integration or Home Assistant itself. I have to restart the whole virtual machine and then instantaneously everything works again. I have also have problems with another WiFi device (my WiFi stick for my solar inverter) which isn’t connected to home assistant directly.
Edit: I use cloud based tuya and the standard tuya integration. Esphome, I’ll check next times it goes offline.
And what about other network connected devices and cloud services? Because in reality, nothing connects to HA using wifi. So pointing at wifi (if it really is wifi) is putting the cause outside HA.
There was someone else within the last few weeks with a complaint about losing connectivity after haos 12.4 but I can’t find it right now and unfortunately it had very little details.
Op tell us about your IP network.
What IPV4 address space are you using. Is ipv6 turned on? What ip is assigned to the router. The settings for the VM hypervisor host nice and the IPV4 settings for HA inside the VM.
What happens if you ping 192.168.1.93 and turn off the vm while you are pinging? Since you are using an IP in the dhcp range it could already be in use by something else.