Multi Person Geolocation

SuzukiKev

New member
Hi All, I'm new to Macrodroid and looking for some help. Is there anyway of having Macrodroid on 2 phones and then setting up a multi person geolocation? I want to be able to set it up to control my heating but on a last out basis. So only send the command to my heating when both phones leave the area and not when only one does. Hope this makes sense and thanks in advance
 

Pseudocyclic

Well-known member
You could use the same macros on both phones, in such a way that when either phone exits the area, the first macro begins by querying the other phone for its location and only continues with further actions (ie controlling your heating) if the other phone is not at home. The second macro would provide the response to the location query. There are several options for the phones to communicate with each other, webhooks should work well provided Internet connectivity is reliable, and text messages if it is not.
 

Pseudocyclic

Well-known member
An afterthought - a better strategy might be to have each phone notify the other phone whenever it exits or enters the area, if Internet connectivity is always reliable at that location but might not be so at other locations.
 

SuzukiKev

New member
You could use the same macros on both phones, in such a way that when either phone exits the area, the first macro begins by querying the other phone for its location and only continues with further actions (ie controlling your heating) if the other phone is not at home. The second macro would provide the response to the location query. There are several options for the phones to communicate with each other, webhooks should work well provided Internet connectivity is reliable, and text messages if it is not.
Thank you for getting back. I like the idea of webhooks rather than text messages as they run without notifications (wife might get annoyed otherwise). I've set up a webhook with IFTTT but not Macrodroid to Macrodroid, I'll look into this. I assume Macrodroid will give me a HTTP link like IFTTT. Fingers crossed I can work this out
 

FrameXX

Well-known member
Hi All, I'm new to Macrodroid and looking for some help. Is there anyway of having Macrodroid on 2 phones and then setting up a multi person geolocation? I want to be able to set it up to control my heating but on a last out basis. So only send the command to my heating when both phones leave the area and not when only one does. Hope this makes sense and thanks in advance

You can even pass variables throught webhook.


If you have macro with webhook trigger on this your identifier and a local variable with right name, variable will be fullfilled with value you send from another device.
 
Top