Trigger Based on Geofence Status, NOT Enter/Leave

Droid23

New member
HI, I want to keep my phone on wifi whenever at home
Sometimes the wife or kids will turn on data. I have macros set to change this back to wifi, turning data off. However, they only work when enter or leave (geofence status changes). I see in the log sometimes it notes we are 'inside' a geofence. But there is no trigger for this status check. I have tried to create macros that set a variable of home as true, and then use that variable change as a trigger. But the whole thing only works if there is a geofence status change (the log says it failed b/c geofence status did not change). I had hoped that just having the geofences check every 10 mins would do it, but since it is not actually 'entering' the geofences, nothing happens. Is there a way to have macros run based on STILL BEING in a location?
 

Droid23

New member
Also, I have tried using the triggers for cell area but same issue (not actually entered) and ssid in range but since wifi is off, it is not seeing that either.
 

RSF

Well-known member
How about:
  • Use Set Macrodroid Mode action to set the mode to e.g. "Home" or "Away" as you enter / leave the geofence.
  • Set a trigger for Data Connectivity Change becoming "Available", with a constraint of being Home:
    Screenshot 2022-08-02 4.11.15 PM.png
  • Turn data back off, however you normally do it (Mobile Data action, or turning on Airplane mode, etc.)
There's also a trigger for Airplane Mode enabled/disabled, if that's how they're turning data on; could use that trigger similarly to above, as an alternative.

And of course you could set up a macro to run every n minutes, checking if you're home and data is on, as another alternative.
 
Top