Motion-activated sprinklers may be effective against various pests including dogs depending on how early you install them before the offending behavior begins e.g excessive territorial urine marking from stray males roaming through residential landscape during mating season.