Here is what i meant.
EDIT2: Ok now:
But the other might work too. I just don’t know if this would also limit another door to not fire the sound. So if 2 doors open at once you might only hear one with MaxL’s solution (or?).