James Barnes, 40, went on to to try the door of another property nearby, and was discovered after he was recognised on CCTV footage.