Adults can move up into buildings via small cracks in the foundation as they search for prey. Once exposed inside a building they must quickly return to a humid habitat to avoid desiccation. Since their search image is probably moving prey, they are not likely to feed on baits. This means that setting out sticky traps is probably the best first line of defense. These traps will not only attract and capture centipedes but will strongly indicate population levels and potential routes of access.
Experience shows that traps placed at floor level in moist areas do best.
Traps do have to be kept fresh because it takes a good sticky trap to hold the larger species of centipede. The use of pesticides as either an outside perimeter spray or as an interior perimeter spray will only have minimal effect. The centipedes will still travel for a time and the sight of a dead centipede on the floor or trapped in a bathtub is not much better than seeing a fast one flee to safety at night. Dead centipedes that accumulate inside a building will serve as a food source for carpet beetles and other urban pests. Therefore it is really best to capture specimens, reduce moisture and seal out routes of entry.