Garagedoor open/close when leaving and returning with a car

A solution to my Garagedoor opening and closing when leaving and return..

It is using my iPhone’s position and if it is connected to the car. Beside that I use a sensor if the garagedoor is closed. I use a automation flow on the iphone which detects if the phone is connected to apple car.

It works :wink:

This category is created to show, and explain the working of specific Flows in homey.

If it works: don’t change anything.

But I don’t understand the detection between arriving and leaving. If the distance is, at a certain moment, 250m all 4 conditions are true. So you could be both leaving or arriving?

That’s a good one, giving problems at the moment. Wil change it.

Have a look at ‎Locative: Geofence and Beacon-app - App Store

This iPhone-app can send different webhooks to your Homey when you leave or enter a geofence. You could set even set to geofences: a small geofence when you leave (IMHO is 200m to big, the garage is out of sight and unattended) and a big one when you enter.