Added relay functionality to PIR shield