Here's the problem that I had with my Samsung Galaxy S10 5G phone. Our WiFi router is in the living room, but we also needed a repeater for the other side of the apartment (the bedrooms). Whenever I would go back and forth around the apartment, I would have to manually switch WiFi networks (between the repeater and the router) to get the Internet to work on my phone, as the signal wouldn't drop completely, but it wouldn't quite work when browsing the net, reading emails etc.
So I created a Bixby routine to have Android automatically switch to the network with the highest range at any location around the apartment. Here's how to do it.
Steps
Open Bixby Routines app.
Tap on Add Routine.
On If, tap the + button.
Scroll to find and tap on Wi-Fi Strength.
Select 2 bars or less and tap on Done.
On Then, tap the + button.
Tap on Connections and then Wi-Fi.
Select Off and tap on Done.
On When routine ends, make sure you have enable the Reverse actions so it sets the Wi-Fi back to On state.
Name your routine and tap on Done.
Final Thoughts / Summary
And that's it. Now you'll have Bixby automatically switch WiFi networks whenever the range falls at 2 bars by temporarily switching the WiFi on and off. On my phone this happens quite fast, I don't even notice any disconnection nor disruptions while it happens. It has made my life just a little easier by not having to witness disconnections and then manually having to select another WiFi network from either the repeater or the modem. This method can work on any phone that supports routines, either with Google Assistant, or through the iOS's Siri Shortcuts.