A cautionary word..
I tried those things that pulse some kind of ions (I made that up, don't know what they do) to keep rodies away. They were expensive and did no damn good at all.
Or, while they may have done
something, I saw mice while those things were plugged in nearby.