Grikath
Usually to dissuade the local usual suspects from a quiet visit when they've a feeling you're away for an extended time.
Plenty of homebuild solutions printed in the golden days of electronics mags...
And in 18th/19th century Britain, before a Tyrannical Government brought in Nanny State laws to stop the Right To Bear Spring-Guns there were other options...