Position detection in a room