From a security standpoint, how would one know if such a dog was barking as usual or because of an intruder, or a fire, etc?
It’s more as a deterrent to the potential burglar than an alarm for the dog owner.