Strange (Recent) Behavour with Tasmota - Reboots every 3 hours

I know we all get different mileage, but I’ve been using nothing but d1 minis (esp8266’s) flashed with tasmota for about 4 years and they have been extremely stable once I used the correct power supply.

I am no expert by any means, but I don’t understand how wifi issues would cause tasmotas to go “crazy”. If the tasmota keeps connecting and disconnecting from wifi I could see how controlling it (turning on and off at command) wouldn’t be reliable, but why would tasmota flicker lights on and off because of bad wifi?

First it resets to defaults - and starts broadcasting the original wifi, like tasmota-89313 or whatever, but it is impossible to connect to that wifi point.

Then the switch state goes… haywire. Sometimes the switch works like it should, and then sometimes it goes “opposite” so on is off, and off is on. Then it reverts the state again. Basically, when it goes into this distressed mode, the switch behaviour is not consistent. I do not know why because I cannot connect to them.

Again though, I have had two performing this task away from the main house without issues, only ones installed in the main house seem to break like this.

Fwiw, I also experienced frequent restarts. 3h appeared to be the max uptime my device could manage. The power supply was at fault. I bought a quality Micro USB PSU and it’s running uninterrupted for now.

In my case, I had multiple different hardware devices, all directly connected to mains Power:
Sonoff basic R2
Sonoff S31
Sonoff 4 Channel Pro
Shelly 1

Not connected to main power:
D1 Mini’s with USB Power Supplies, running off UPS Batteries.

All upgraded to the latest Tasmota during their use. What I found was, for reasons I cannot explain, devices close to the top floor performed the worst - often reverting back to the default firmware state by dropping their network, and reverting back to the default state where they advertise their wifi address for configuration usually within a few weeks. Fully replacing the hardware with a different device, but installed in the same place had no effect, the problem reoccured in a week or so. Going into boot loops, then advertising the default “ESP-ABC1234” network, but you cannot actually connect to it. Then the switch itself would stop operating correctly.

As you move outwards, away from the top floor, devices become more reliable, but not perfectly so. They eventually fail, but can operate “normally” for months.

Devices far from the main house, in the detached shop, on a different AP operate with zero issues - and have done so for about 4-5 years now.

Near as I can guess, one of my Ubiquit AP’s is somehow causing grief for tasmota devices. I have 3 in the main house, all on channels 1, 6, and 11. One of those devices, somehow breaks tasmota - regardless of the version. That is my best guess. Once broken, they go into a boot loop, and are basically toast at that point.

I had a very large number of Tasmota devices, but have removed nearly all of them now - with the exception of the detached shop, where they continue to work without issue.