A pest deterrent device includes one or more sensors configured to detect a presence of a pest, a controller configured to determine that the pest is detected based on output from the one or more sensors, a repelling array configured to generate a repellant in response to the controller determining that the pest is detected, and a communications array configured to wirelessly communicate with an external device. The communications array is configured to communicate with the external device to change a type of the repellent that is generated in response to the pest being detected.