I find those elctronic devices most effective, I have 2 in the garden and they ward off the numerous cats that we used to get, My one has settings for different animals, including Badgers, raccoons and Moose !!, Doesn't seem to affect the squirrels though.