Clicking noise in wall, every 23 seconds
Typically a main stack vent that is rubbing against a structural stud, sill plate, or drywall.  I have fixed this ticking/clicking noise in two houses by cutting out the offending piece of 3/4" drywall and replacing with 1/2" on top of furring strips to give the pipe some room to expand.