Hello I have had a Sonos Play 5 (gen 2) in the same location for well over a 1-2 years working fine. Its recently dropped off my network. I have found that it will connect to the sonos network via wifi if I move it directly next to a sonos Five only until I move it back to 1 room over. I have tried changing sonos net channels, and power cycling all the sonos devices in my home no impact. I have preformed a factory reset as well no change.
I plugged it in via Ethernet for diagnostic
Diagnostic report: 542547821