1. An electronic sensor comprising: a camera configured to capture images of an area monitored by a monitoring system; an electronic storage device configured to store data; a transmitting device configured to send signals to a controller of the monitoring system; and a processing device configured to perform operations comprising: accessing, from the electronic storage device, a rule defining a capture pattern for when the camera is scheduled to monitor for events within captured images; accessing data collected by the monitoring system that includes the camera; comparing the accessed data collected by the monitoring system with the accessed rule defining the capture pattern; based on the comparison, determining whether the accessed rule defining the capture pattern is satisfied; based on a determination that the rule is satisfied, controlling the camera to capture one or more images of the area monitored by the monitoring system; analyzing the one or more images based on configuration data; detecting occurrence of the event based on the analysis of the one or more images; and based on detecting occurrence of the event, controlling the transmitting device to send, to the controller of the monitoring system, a signal that indicates the detection of the occurrence of the event.