Hi everyone - I'm relatively new to Hubitat and have been using my iPhone as a presence sensor. I have Mode Manager installed, the location is set under location and modes, and I have HSM set to arm the alarm when I depart from the geofenced area.
The problem I am having is that the alarm gets armed sporadically while I'm still home because Hubitat thinks I've left. Are there any solutions for this? Any place I should check as to why Hubitat thinks I'm no longer present?
Quick answer is that the iPhone will let the WiFi sleep, which then makes the presence sensor rely on GPS, and then triangulation from cell towers. Accuracy is best when you have WiFi + GPS, okay with GPS, and poor when limited to triangulation.
Most people will utilize 2-3 different presence methods and then use an app like Combined Presence Sensor for use with their automations.
There are key fobs that can be used for presence, like the Smartthings Presence key fob (getting hard to find). I believe others also makes some but don't know of any off the top of my head. I've heard of others that have been using a regular sensor that they place in there car and when it get's home, they will use any reporting from the sensor as being present.
But you have to know that the key fobs use up batteries real fast and many people are put off from this limitation.
Motion sensors work too, combine via the combined presence app with your phone.
Basically, the more combined, the better particularly if you are tying HSM actions to presence. For that though I'd really just recommend manually arming/disarming when you leave, otherwise I suspect you'll still get the occasional mis-arming of your alarm system.
I do this without homebridge, but I do have an Apple TV that serves as a HomeKit hub. I agree that it’s been surprisingly reliable. I’ve had it set up for a few months now, and I’ve never noticed it failing. It reports arrivals fast enough to use in automations right when we arrive.
ok, I guess, this is where I was missing some info, I deleted the app once the Echo was setup, I guess I'll have to install it again, but I'm guessing that the app needs to be on the phone for this to work or can I just pair via Bluetooth to the echo device and use that as a presence sensor instead of the app/gps info? (I hate all these apps that keep track of you and sells that info to others).
You will have to go to the Alexa app and set your location and geofence settings which is under the settings.
In HE you need to set up a virtual switch called "i'm back" and "goodbye" this is up to you. I set it up as a Virtual Momentary Switch with 500ms auto off.
That’s correct. The Alexa app on the phone handles the geolocation part of the process, so it’ll need to remain installed on the phone with necessary permissions. So yes there’s the concern re: giving even more personal data over to Amazon as a result .
One thing to wonder is why is this app more reliable than the Hubitat app ??? Wouldn't the iPhone just kill the process just like all other apps unless I open it every other day or something? Makes you wonder, hmmmm.
In the Alexa app you can create a routine with your devices (phones) location as a trigger. Example: Trigger- When this device arrives at Home.
Action- porch lights= on
Action- say “welcome home master”
From - This Device
In order for it to work you must set Alexa app location services to “Always”
Your phone with the app is just your access point for the Amazon cloud which is what handles all of your Alexa routines. The app is an ESSENTIAL part of all echo products. It’s your control center. Routines are a group of actions to be performed when a specified trigger happens.
I’m currently testing ways to have my front door Auto Unlock when I walk up to it but instead of triggering the unlock yet I’m just having hubitat send me text messages of the proposed action each time so I can monitor any false positives before introducing something that might auto-unlock for a stranger.
Anyway, one of the tests I’m running is an automation of a virtual switch from Hubitat I have in Apple Home (via Homebridge). When iOS detects I’ve left home the switch turns off and Hubitat sends me a text messsage. When iOS detects I’ve returned home it flips the switch on and Hubitat sends me a text message.
Departure event doesn’t arrive until I’m about 3-5 houses away. Arrival event seems to trigger when I get about 1-2 houses close to home again.
Been running this (and some others) for about two weeks and have not had a single false positive or noticeable delay. If you’re pulling presence from iOS directly (vs an app) its super solid.