T: Wi-Fi disconnect, A: Force Location Update. Why?

A popular macro I've seen is T: Wi-Fi disconnect, A: turn off Wi-Fi. The reason makes sense but there's an obvious problem.

I do it differently. The title of this post is essentially the whole trigger & action set. To expand on that...

Trigger: disconnected from any Wi-Fi network

Action: force location update

Then there are a few things I might do to make it let me know it's working. Lately I use popup text.

Is the reason why easy to guess?

Also what are some other steps toward optimizing this automation?
 

FrameXX

Well-known member
T: Wi-Fi disconnect, A: turn off Wi-Fi
This can sometimes turn off Wi-Fi even if you still want to use it. You can just loose connection for a second and MacroDroid will turn of Wi-Fi. As you said it's better to check location if you have some places with home wifi, so if you are home it won't turn off your Wi-Fi. Another way to deal with this is by adding a timer. For example MacroDroid would turn off Wi-Fi only if you are disconnected more than 60 seconds...
 
This can sometimes turn off Wi-Fi even if you still want to use it. You can just loose connection for a second and MacroDroid will turn of Wi-Fi. As you said it's better to check location if you have some places with home wifi, so if you are home it won't turn off your Wi-Fi. Another way to deal with this is by adding a timer. For example MacroDroid would turn off Wi-Fi only if you are disconnected more than 60 seconds...
Right-oh. Another factor is your location update rate. You want it low when you're planning to stay someplace awhile and high if you're on the move.

So my macro notices the Wi-Fi cut out and checks if it's moved; if it's time for another macro to speed up that update rate.

Another question is how many interrelated functions like this is optimal to mash into one macro.
 
Of you are PRO user you can make it to your comfort and feelings, but if not, you should mash everything in 1 macro.
Interesting.

One long macro would be a lot of actions to go through. Easier now, at least, since we can collapse conditional actions.

Many macros makes for a lot to scroll through. I've got over two hundred sixty on my tablet.
 
Top