I use Life360 for my presence and it works great most of the time.
However, once every few weeks my arrive is not registered by Hubitat. Life360 sees me as home but Hubitat does not. The only fix is to open Life360 Connector app and then click Done. This will force a "refresh" from Life360 and Hubitat will then see me as home correctly.
I had a similar problem with ST so I used a custom Life360 DTH that had a "Refresh" command to refresh the Life360 data whenever there was a problem.
Where can I find the code for the Life360 DTH that Hubitat uses? I would like to add "Refresh" command to fix this issue.
a) Good question. How does the Life360 integration currently detect changes? This morning presence didn't change for my wife or I. When I went into the app in Hubitat and clicked "done" it updated our presence. Perhaps we need to look into what happened that it didn't update. Having to run refresh seems sort of hacky, but what about just exposing a refresh command for the presence devices, that way we can configure a time in rule machine or webcore?
b) I'm not running both, I am only running the Hubitat hub now.
it is hacky, that's why refresh isn't part of the driver.
I ask how often as I'm trying to determine the severity of the issue.
Running the integration on both platforms at the same time will not work as Life 360 doesn't support multiple endpoints for the same account, meaning which ever platform was the last one to "Refresh" will be the one where the updates are sent.
I seem to get out-of-sync (a presences sensor thinks it is/is not at home when the opposite is true) about once a week to 10 days. If I open the HE app and click 'Done' it immediately syncs to the correct indication.
I had removed the ST integration as soon as I enabled it on HE. I do have the Life360 app on my phone, if that counts.
Question not for me but I do have this same issue with both ST and HE. I tried Life360 only at one platform at a time. Find HE is out of sync more often so I moved back to ST and using Webcore for refresh the presence devices. Still not very reliable. I would say refresh once a day is enough to get things in sync and refreshing the presence device is not enough. It needs to be the HE Life360 connector app.
Well duh! I guess that is right Captain Obvious . We do have five presence sensors, four are iPhones (2 6S's, one 7+ and one X) and one is an Android (S8+). One of the 6S's is the cause of about half of the mis-syncs, but all of them have been the cause at some point.
I wonder if the issue may be that newer phones or newer Android versions are causing Life360 app to hibernate prematurely, or pause network updates? My wife's Samsung Galaxy S7 has a very annoying default behavior where it refuses to send WhatsApp messages because it decided that it would buffer the messages for at least an hour just to save a tiny bit of battery life. I had to disable that setting. I forgot what it was called.
This is definitely not related to the Life360 app on the phone since the Life360 app has no problem updating my location properly on my iPhone X and my wife's Note 8.
The issue is that the Life360 location updates don't always show up on the Hubitat side of things and only way to correct it right now is to open the Life360 Connect app on the Hubitat and click "Done" to force a refresh of Life360 data to fix the incorrect status.