recognize turned off pi