Add wait to verify condition exists

explor202

New member
I have a macro set up that turns off my hotspot once an SSID is in range. The problem is, sometimes Macrodroid detects the SSID as I'm leaving the parking lot and disables the hotspot when I really need it to stay on (for my car and motorcycle head unit/tablet). Is there a way to add a wait command to verify the SSID is still in range before it disables the hotspot?
 

Dm114

Well-known member
I have a macro set up that turns off my hotspot once an SSID is in range. The problem is, sometimes Macrodroid detects the SSID as I'm leaving the parking lot and disables the hotspot when I really need it to stay on (for my car and motorcycle head unit/tablet). Is there a way to add a wait command to verify the SSID is still in range before it disables the hotspot?
Why don't you add a wait action before disabling hotspot?
 

Dm114

Well-known member
Because if I'm only in the vicinity of the SSID for the few seconds it takes me to drive out of range again, I want the hotspot to remain on.
What I was suggesting was to add a wait action after losing SSID connection before disabling hotspot.

I don't know how you made your macro but you probably could have something like that when SSID is out of reach:
A: wait a few seconds or minutes
A: disable hotspot with constaint below
+ C: WiFi not connected to any SSID
 

explor202

New member
What I was suggesting was to add a wait action after losing SSID connection before disabling hotspot.

I don't know how you made your macro but you probably could have something like that when SSID is out of reach:
A: wait a few seconds or minutes
A: disable hotspot with constaint below
+ C: WiFi not connected to any SSID
I did add that constraint yesterday but haven't tested it yet. Also, maybe I misunderstood your suggestion. Perhaps adding a long enough wait will give it time to detect it's no longer connected to the SSID and fire the trigger to turn the hotspot back on, so it would never really get turned off.
 
Last edited:

Dm114

Well-known member
I did add that constraint yesterday but haven't tested it yet. Also, maybe I misunderstood your suggestion. Perhaps adding a long enough wait will give it time to detect it's no longer connected to the SSID and fire the trigger to turn the hotspot back on, so it would never really get turned off.
Yes, it's exactly what it is supposed to do. 😉
 
Top