Maximum distance from Arduino ports to sensors

I'm sure the ESP route will be more interesting to work on. However assuming you don't have power at your 50M location you would still need to run a cable. At that point a switch is more cost effective and I would guess more reliable. I will admit however my NodeMCU was pretty solid when connected to my WiFi.

Oh.. You will still need a switch at the 50M location.