You can build electronics rat repeller. How to work is based on the frequency ultrasonic wave that make crasy them, its about 25-40kHz. In this frequency the human beeing will not hearing, but not for rat, mosquito, bat ,etc.
The key is IC 555 to generate ultrasonics wave. The schematic available now: