Setup edge detection on home sensor