Ive migrated some devices from Tasmota to ESPhome after reading that its better integrated, better supported ect. And its just awful, keeps dropping off the network every 20s or so. These is the same for all three devices that are a mixture of different types (one magic home and two kogan filament bulbs)
Have I made a mistake here? should I switch back? Or is it a wrong setting?
If you fixed it by static IP you have a very serious DHCP server configuration in your network ! In other case what are logs of ESP ? What do you use as power supply ?
I had a similar issue with one ESP board in the garage . Swapped out the board but still got the same issue, used static IP and some of the other suggests from the board. Nothing fixed it.
In the end the problem was the WIFI Access point in the garage I have a separate one that is hardwired to the rest of my network. I ended up resetting the WiFi device to factory and assigned a static IP address to it and that cleared up the issue, now no dropouts at all. Not sure exactly the issue but it might have been something to do with the WiFi security settings.
HAHA correlation, unfortunately is not causation. I was doing a few other things as well. These are all flashed consumer products, like Kogan bulbs and Magic Home strip controllers. Anyway, hope it stays stable
What brand of equipment are you using. I have a Unifi mesh and I had a similar issue with my WLED equipment dropping off the network. The fix for me was to add the Unifi Secure Gateway (USG) - very weird on why. But, after doing so, all my devices amazingly don’t drop off the network. In my belief it’s the passing of the DHCP/Reservation requests to other DHCP servers.
I am not familiar with the Dream Machine and it’s capabilities. The USG is Unifi’s Secure Gateway, a firewall/DHCP Server/Gateway, kind of like your home service providers(ISP) router here in the States. I have turned off all those services on my ISP’s router and replaced with the USG.
I had someone tell me about this same issue that we are/have experienced and I decided to install the USG to see and surprise it fixed my issues of dropping my WLED entities. I have also noticed an increase in speeds with the new USG, mind you my ISP router is older.
Hope this helps.