Homey Community Forum

Presence - arriving by car or foot

Hi

i have done some searching and browsing in the forum, but have not found an definitive answer for this:

what’s the most reliable way of detecting presence for these 2 scenarios:

arriving home by car - start one flow
arriving home by foot (car parked in the garage ) - start one flow

i have tested various presence apps that uses the phone location, also the function built into homey, but this does not work very vell, i have also tested the smart presence app that uses wifi/ip.

appreciate any tips/pointers to a smart solution.

Send a webhook to homey when you select home in Google maps. With the hooi you switch the variable

I use the app Locative on iPhone. Very reliable besides the situation in which i’m on the phone when I enter the geofence-area because there is no data-connection in that situation

First of all a (may be not so relevant) question: when exactly You want the flow to start? Closing office door; already seeing Your house or opening home’s door (may be second before, when door must auto-unlock).

But in general - Your question reduces to detecting: Is (was) the car park-ing/ed in the garage. The was part is quite easy, as in system there is also the (car)sensor history. So, just ask: “when the car was parked into garage?” (… or just when the garage door was opened).
About “car in garage” - if You do not have a e-car with “connected charging”, then it may be the main question, because garage door may or may be not the sufficient sensor, and some self-made optical; acoustic or electromagnetic circuit with connecting into Homey may-be a good idea.

1 flow to open garage + change to home mode
1 flow to just set home mode.

using the garage door open/close last time is not enough (it may be opened at other times to access the garage, i think i will need a sensor that can report the car as present or not in the garage

combine a sensor in the garage with a BLE beacon maybe

Yeah, may-be more standard way to sense the car, than i recommend :wink:

a few ideas here: Ideas wanted: Detect presense of A car in my garage - Hardware - Home Assistant Community

or just: https://opengarage.io/

a bit boring maybe

I am using AutoLocation (a Tasker Plugin) on my Android phone to determine whether I am driving in a car or walking on foot. Works pretty good. Depending on these states, you can tell Homey to start certain flows when you get home.

Using your phone to track “you” would be the best method for tracking you…

Homey’s system of doing this is currently broken (has been for awhile) but Roco and a few others recommend an App called “Locative”… to over come this. Also some have said there is a trick you can use via HomeKit to register your presence when you get home.

For detecting the presence of your car there are probably many tricks you can do… Some are cheap and easy. Some are more involved.

If your willing to change a $1.00 battery once a year I’ve seen some people put a BLE beacon under the front bumper bar of their car. (BLE) is Bluetooth.

There is an app on Homey called “Beacon” that meant to be able to track Bluetooth devices … I’ve never personally used it but assume it works as described…

1 Like

I have these Beacons on our home keys and also one of the beacons in the car. Works flawless with the Homey Beacon app!

1 Like

Beacon is indeed the best option I think. On iPhone you can also set an automation when connecting to Bluetooth in the car to send a webhook.

Does your car have WiFi? My car connects to WiFi when I arrive at home, if so you could then catch it with the SmartPresence app.

Perhaps a LUX meter in combination with movement is also an option. You stick it on the floor. If your car is standing over it, the LUX is a lot lower. You should then only have the LUX updated on movement and store it in a variable. And you should not drive over the LUX meter whit your tires :joy:.

Lol… One could get “very” creative …

I’ve heard some people using ultrasonic sensors etc etc and all sorts of other methods

So many possibilities…

One could possibly suspend an Aqara Cube via a piece of string and hang it from the roof of the garage.

Then glue a magnet to the bottom of the Cube.

When the car parks in the garage the cube will then stick to the car.

The cube will then report it changed position… hehehe :rofl:

1 Like

Nice!

Another cheaper option: You can also put a thin wooden board on the floor with an aqara vibration sensor. You drive over the plank with a wheel so that there is movement :slightly_smiling_face:

I think an beacon is the easy way to go :+1:

Don’t get me started … :laughing:

1 Like

Hi

many creative solutions!

  1. yes car is connected to wifi, but i see that it’s not always connected to wifi, mostly LTE.
    i have tested the smart presence app in homey.

  2. yes car is “connected/app support” and it’s electric and sometimes plugged in to the home wall box (there is an app for homey for the brand, but it’s not currently supported by the new platform of ev’s)

  3. having anything battery powered outside, or in an cold garage during the winter is not an option.
    normal winter -10-30c.

think it will be a mix of beacons that you have on the key fob and sensor in the garage. (not battery powered)

i have mixed experience using the location in various applications, it’s not 100 percent stable, and a bit slow.

I use geofencing on my appletv and with a virtual button i activate my presence in homey

Webhook
If phone is connected to car via Bluetooth when you arrive home - X
If phone is Not connected to car via Bluetooth when you arrive home - Y

1 Like

I use macrodroid for this because it uses what it calls constraints. When geofence entered AND Bluetooth connected to car, THEN send webhook

1 Like