I had a great plan: When I get home I park my car in front of my house. My smartphone iphone connects via wifi to the network and my openhab knows: ah, he is home - i ll turn on the light for getting in.
More or less this works.
But my problem is: my smartphone keeps to get offline and online again and so my light in front of my house turns on and because of my .rules-file automaticly after some minutes off.
My theory: Apple tries to save power to put my smartphone into a low-wifi-mode…?
I was unable to see that Behaviour by watching the unifi-controller. There my phone seems to stay awake and online (but I am not 100% sure, since the timing is quite complicate…).
I do not post my items and things-file, since its nearly the same as the unifi-binding-docs.
I don’t have this issue with my controller. You could try disabling UAPSD on your wireless network. What do you have your “Consider Home” interval set to? Mine seems to work very well with the default 180 value.
No, I am sorry - not solved yet; but i also did not invest so much more time, since i planned to upgrade to V3 first… but if you have any further clue - let me know
Patrick
I suddenly have the issue with unifi controller. Did someone find a solution for this?
[edit] I’ve enabled the UAPSD option, seems that the phone goes into ‘energy save’ mode. but gets disconnected because of it’s unsupported (unchecked) in the controller.