Step one: burn down half the house. If the beeping stops, the device was in the first half. If not, burn down the other half of the house.