Occupancy Detection - Dynamic Dashboard

I am wondering if there is a way to have a Dashboard load with devices based on the room you are presently in?

If so - what is the best to detect occupancy presence in a room? I do have Unifi AP’s located throughout my house, as well as Nest Protects.