Agreed, I believe it has to do with Marshmallow’s new Doze setting. SmartThings needs to update the app to better handle this.
I’ve had to turn off the presence system as it’s basically useless now, constantly triggering when I leave my phone alone for an hour or two.
As an aside: why doesn’t the app offer the ability to use WiFi networks as “present”? If I’m connected to my home WiFi, it should be pretty obvious I’m home.
Funnily enough, I’m on a nexus 5 with marshmallow. My presence appears to come and go all night long, whole my wife’s galaxy s4 on Android 4.2 stays pretty stable.
@Fourier - Please appeal to the ST team on this! I have been saying for a while that local presence could be better handled if things like Bluetooth, ICMP Ping and Wifi were utilized. The Hub can do all three!!
I’m having this issue with my Nexus 5. I found these instructions for disabling battery optimizations for individual apps. Not sure yet if it will work, I just flipped the switch on the ST app a few minutes ago. Fingers crossed.
EDIT: It did not work. 30m later ST marked the device as away when it isn’t
My Nexus 5 also updated to Marshmallow and now have the same problem when the device sleeps and puts me into away mode where it has been working pretty descent for over a year. Even though Im on the home wifi it still shows me away and Im triggering false alarms for every door and motion sensor I use. My wife has a Nexus 4 on latest Lollipop with no issues and her geo fence and presence sensor works perfectly fine. Only major difference between our devices other than OS is LTE on the Nexus 5.
I’ve gone into the Battery Optimization and set a few services to Not Optimize to see if this helps. I’ll try to update as I see what works. I’ve attached a screenshot of the services that might be preventing the location from being determined while the device is Dozing. If it works, I’ll start eliminating one by one to see if I can track which service might be doing it.
We’ll my tests showed no difference in results when setting Not Optimize for the new Doze feature on Marshmallow.
When I first set all the apps to Not Optimize, SmartThings showed my device as home. I let the device go to sleep for about 30 minutes which is past the Geofence delay of 20 minutes that I have set. When I checked SmartThings Dashboard, it showed I was Away which is the behavior I have been getting with the Marshmallow updates. I checked the dashboard every 15-20 minutes to see if it would update but it did not.
The only way I can get it to recognize that I am home is to open Google Maps to get my fine location and switch back to SmartThings where it quickly updates.
Jumping to say I have the same problems on my new Nexus 5X. Last night, all the lights turned on at 12PM and 3:15AM, because my phone thought I went away and came back. It woke me up both times!
Yep, just upgraded to Marshmallow last night and same issue.
I am on WiFi. I feel ST could put more time into this. None of my doors opened… So how could my presence go away?
Supposedly Doze does not activate if the phone is plugged in. This behavior happens when it is, which leads me to believe it might be an optimization outside of Doze?
I have change already (for a 3 time) the name of the location of the hub, but in the log there is still that 2 “old places” (Elohim Place/Palace) .
Another thing, i have set a timer “only during a certain time” (when i use the first name) already uninstall, but that didnt work, because the only works with in that timer (the action is to turn on the lights).
Funny thing is that in the log, doesn’t show the name that im using now.
Both my wife and I have Nexus 5 phones and have also noticed presence flakiness recently. What’s weird is that it doesn’t appear to be confined to ST. Earlier this week my wife’s ST presence, Life360 location and Android Smart Lock weren’t working. When I checked her location in Life360 it showed her at home during the middle of the day even though she was at work all day. That night I restarted her phone, and location has been good again for the last few days. Not sure why but it appears a restart is the best (temporary) option for us right now.
I can confirm that doze mode is disconnecting the presence capabilities of SmartThings. Nexus 6P and Nexus 5 running Marshmallow both look as if they have left the house after leaving them on the table for an extended period of time. As soon as I pick them up and turn them, on my lights turn on as if I just arrived at home. I’m more concerned with the fact that everything will turn off as soon as SmartThings thinks we have left the house. This will really mess with routines and lighting. Luckily, I use my phone a lot. However, I foresee a situation when all of the lights go out my kids start screaming an my wife puts an end to SmartThings. This needs a solution or at least a workaround YESTERDAY!!! Any suggestions?