@Martijn_Hoogenbosch @Retrospected Thanks for the info, but I wanted to use the Unify app and not Smart Presence. Somehow Smart Presence causes a memory leak in my homey.
So i contacted Ubiquiti support at 5th of march. First they suggested to disable some features, didn’t work, had to disable even more features didn’t help. About a week later (11 march) my ticket got a Tier 2 status. I had no confidence that it would work out, but hé we can always try
After a lot of testing and sending a bunch of logs, last week (3 april) Ubiquiti sent me a beta firmware update for my USW en AC AP Pro v.5.43.34. Sunday I upgraded the everything and since then the presence detection is working fantastic . Instead of having a delay for 60 seconds, now i can 10 second delay before marking me away.
And further more in my controller before this version I had only disconnect and connect events when a device switches from an AP, since that version I see roaming events .
If anyone is interested in the firmware link i can send it.