C8 pro. I’ve never done anything for my presence other than the built-in Geo fence, and lately it has been completely unreliable, especially when arriving. Is anybody else having trouble with it?
When searching around for information on it in here, I saw a lot of releases for presence apps, and codes. I didn’t even realize this was something I might be lacking. I’m gonna look into some of these, but if anyone recommends any, please let me know.
PositionGuard works very well for me. It let's you have a number of locations. Also let's you have movable locations that can be adjusted from a dashboard.
The officially supported "Presence" detection method is to simply use the Hubitat Mobile App on your smart phones. This requires no additional software on the phone, nor on the HE hub. I am guessing that this is the solution you are currently using and having some issues with, correct?
Many users, myself included, have been around long before Hubitat released their mobile app. Thus, we had to get a little creative in terms of "Presence" detection. Early on, Hubitat had a built-in Life360 integration which worked very well. Unfortunately, Life360 shut down the API that was used and thus Life360 was removed from the officially supported list of integrations. The Hubitat Mobile App was available by that time, IIRC, and thus many folks simply moved over to that solution.
As you've observed, the Hubitat Mobile App's presence detection feature is not 100% reliable for all users. Thus, the Community has come up with some additional solutions.
Some are integrations to other geolocation-based solutions (e.g. Apple Home, Owntracks, Locative, etc...)
Other users have contributed Hubitat Apps that attempt to combine presence sensors from multiple sources into a single one to increase reliability.
Personally, since my family uses iPhones, we simply use Apple Home to keep a virtual presence sensor up to date on our Hubitat Hub. This has been 99.99% reliable and requires no additional apps to be installed on our iPhones. There is some configuration needed on both the HE hub and within Apple Home on the iPhone, but once configured it has been extremely reliable, and I have no privacy concerns about the data.
I recently purchased(maybe 3 months ago) a C8 pro and started migrating from another platform and geofencing has not been reliable at all. The app on the phone seems to correctly reflect where the phone is (inside or outside) of the geofence. The problem I am seeing is that the Hub is not updating or is not getting the update from the app and the devices status does not change to reflect present or away. I have also gotten notifications that the event failed to post(verbiage my not be 100%). Sometimes if I open the app(has been running in the background) it will then update the status on the controller.
I've done everything I can find on searching the forums and the web.
I will probably try using the HomeKit workaround.
We're also iPhone users. We use Apple Home as well, and find it to be very reliable.
What may not be widely known is that multiple locations can be defined in Apple Home that can "control" additional virtual presence sensors in Hubitat.
@ogiewon thank you for your post. That info is very helpful. Does your Apple Home setup require an Apple HomeHub device? I do not have any device that will work as a HoneHub for Apple But I’m very unfamiliar with Apple home so maybe it’s not needed. I’m just not seeing these settings at the moment, but I’ll dig Into it and do some research.
Ok what am I doing wrong here. I added a virtual presence device with switch but it will not let me enable it for HomeKit. I look online and it shows scanning a QR code to pair to HomeKit but I do not see a QR Code under HomeKit integration in Hubitat.
I genuinely don’t know how any of this works yet because I have not even looked into it, but I’m assuming you might want to switch that HomeKit switch in your device assistants to “on”.
I think HomeKit Bridge needs to be installed and enabled to get Hubitat device to HomeKit.
Go to the Apps section and Add built in app and search for HomeKit bridge and install that. Then you can open that and select the device(s) you want to add to HomeKit. Also the radio button will be available and you an toggle it now.
Built-in phone geofence can get flaky on arrivals, especially with battery saving on the phone. A lot of folks add a second signal (another presence method on the phone, Wi-Fi based presence, or a dedicated presence app) and only flip Home or Away when more than one agrees.
Once presence is trustworthy, keep Away simple. Turn off what is safe to turn off. Leave locks and HVAC alone unless you've tested those hard.
My experience with geofencing is that it is unreliable on the platforms I've used, I'm hoping that using something native to Apple that it will be more reliable.
Just want you to be aware…. In order for Apple Home to be used to keep a Hubitat Virtual Presence/Switch device up to date, you’ll need an always on device on your home network that can act as an Apple Home Hub. AppleTV streaming media boxes and Apple HomePod Mini voice assistants can be used for this purpose.
If implemented carefully, Presence (including geofencing) can be 99.99% reliable - I cannot remember the last time that presence failed for us. Here is how I have implemented presence for each of us:
There are two presence sensors on each iPhone:
Presence sensor via Apple Home. This requires an always-on Apple Home hub (as @ogiewon indicated). I use an Apple TV4K in one home and an Apple Homepod Mini in the other.
Using specific lock codes on our Front/Back door locks is also used to trigger presence.
These three inputs are used in logic (created in Node-RED) to set the state of a "Combined Presence Sensor" for each of us.
Roughly speaking here's the logic:
For presence:
Any of the three inputs being met is sufficient to indicate the person is present - meaning the Combined Presence Sensor is set to be present.
For not present
Both the presence sensors should indicate the person is not there. If that happens, then after a gap of 10 minutes, the Combined Presence Sensor is set to be "not present".
Or, at least one of the presence sensors should indicate the person is not there and the presence sensor in their vehicle should also indicate the vehicle is not there.
Then consider using Geofency or Locative on your iPhone. Neither of them requires any other Apple hardware and they are both very reliable. There are Hubitat integrations for both.