Life 360 - failsafe logic

(Bobby) #16

Thanks, I looked briefly at @bridaus s app, couple of days ago, but it requires a change of scope for my use case. Brian’s app seems to have been designed around which presence arrives/departs first. In my case, I am looking to build logic around what @cdikland said…when I am “really home” or “really away”. And I don’t really want to use the motion sensor, as I am also thinking to put back my auto garage door opening.

(Marc) #17

It only helps in a “sticky” situation, but not when you have flopping going on. I would say the sticky sensor seems to be the biggest problem where one of my sensors doesn’t register when I am home or away, or doesn’t do it timely.

I tried something like @cdikland suggested with Rule Machine, but ultimately my wife’s 3 presense sensors all are unreliable at various times so I couldn’t count on all of them to be accurate at the same time.

I just wish the mobile presence from ST would work right and we wouldn’t have to resort to this.

(Bobby) #18

I’ve been trying to get reliable and timely presence since day one of my home automation. I had it going pretty well with v1 for a while but then a train wrecked it, and I wasn’t able to get it back. The search continues for #reliablepresence My last resort is to get the onHub and use the wifi, I tried that before but fios routers are wonky to set up

(Marc) #19

I have a FIOS router with an Asus router. All you need to do is disable the Wireless radios on the FIOS router, plug the On-Hub into your lan port of FIOS router and you should be fine. Just a word of advice, your plan will work assuming you have good wireless reception in your house and stay connected to the Onhub. However, if you have other access points in the house and roam to them, this won’t be reliable. I found that out the hard way after setting up DD-WRT and seeing my wife and my phone drop off as we moved to the rear of the house.

(Bobby) #20

Same here, but I didn’t turn off the FIOS. Been thinking to replace my Asus with OnHub…

(Marc) #21

I am very happy with my Asus, especially after installing DD-WRT on it and now using it as a VPN concentrator! I get 50-60mb down when in range. Check out Luma if you have kids, looks like an exciting new router that is going to compete with Eero.

(Bobby) #22

I need to catch up on that? What is it for? It sounds foreign to me :frowning:

(Marc) #23

Check it out…

Basically it’s custom firmware that opens up your router to a ton of possibilities such as leveraging a VPN when in access point mode, which you CANNOT do with the native Asus firmware easily. Also, you can do presence detection…

(Bobby) #24

Thanks, did you install it via “New Firmware File” upload?

(Jason "The Enabler" as deemed so by @Smart) #25

@SBDOBRESCU slugger great thing about the DD-WRT is that you can take an old router added turn it into an actual repeater, but with a bonus.

A repeater/access point cuts your bandwidth in half. Going this route eliminates that and allows you to keep your network without a bottleneck.

(Brian) #26

I suspect the phone is the problem here. Apps depend on the phone location services for location . Do you have high accuracy turned on?

(Bobby) #27

Hmmm, good point. I didn’t check the settings since I’ve got my S7. But then, my wife’s phone also has the default, which I presume is the wifi + gps + cell towers. Can you refresh my memory which is preferable setting?

Weekly Update from Alex - 05/19/16
(Brian) #28

High accuracy. Let the phone manage the location.

Don’t assume. Battery saving modes and some apps sometimes turn off high accuracy and neglect to turn iithem back on.

(Greg) #29

Just to throw another voice in the mix. My android phone never works with ST presence in High accuracy mode. ST presence only works for me in battery saving mode. All my other apps seem to work fine in high accuracy.

So I leave the phone in battery saver mode, but switch to High Accuracy once I am out of the geofence so I can use Waze or something. Then switch back before getting close enough. So much for automation, right?

(Michael Hess) #30

This! I’ve not had any issues with Life360. I only have two locations, home and work, my kids and wife have it on their phones. ST has always done the things I’ve asked of it when the phones leave or come back. All android, SG5, SG3, MotoX 1st Gen and MotoG’s first gen.

You should never use any battery saver apps or set the built in battery saver if you expect behind the scenes GPS tracking to work right. GPS is a low drain device if implemented correctly compared to wifi and cell radio power drain so it shouldn’t have a big effect for Life360.

For me, the ST presence has sucked from day 1, it basically never worked, maybe 2 times did it actually notice when I came home. I don’t believe the ST app is using the GPS correctly AT ALL.

(Bobby) #31

True, I’ll pay more attention the next time it misfires. I now have two data points to check (location & life 360 history). My phone is currently on what google calls high accuracy (wifi + gps + cell towers) but like you said, who knows what happens at certain times. It could be that Samsung’s “My Places” app automatically disables my high accuracy location. We shall see :slight_smile:

UPDATE: found a 3rd data point to check

(Bobby) #32

So you don’t use high accuracy, even though L360 prompts you to do so?

(Michael Hess) #33

No it’s high accuracy. That will actually drain your battery faster than just GPS as it uses cellular, and that’s where the power increase occurs as you get farther from a tower or start hunting for other towers. I’ve not tried it with just GPS and Life360, but in theory there should be little difference.

(Marc) #34

Yes, very easy to install. It’s like setting up from scratch though, but took me 30 minutes as I kept the SSID and password the same.

(Brian) #35

Just some general statements, from my research on this.

  • All radios take more energy when on than off (naturally).
  • GPS generally takes the most in my experience, but certainly could change if you are far from cell towers.
  • Older versions of Android let apps talk directly to the devices, so some badly written apps were terrible battery hogs. Newer versions of Android use an OS location service that manages this much better
  • I don’t know about iOS, but I think they have been the same over time, have not read about improvement on that OS.
  • When using presence, I don’t see how anything other than high accuracy would work unless you commit to a very large geofence. Wifi and cell tower locations are very imprecise (you can look them up).

In summary, if you are not using GPS for location on your phone, you are setting up your apps for failure unless your geofence is huge.