Man in court after breaking into home armed with knife at Pe