I’d like to get some thoughts from the gang on this. I am using a reed switch connected to a contact sensor on my doorbell chime to capture when the doorbell is pressed. This is working very well overall.
I have a piston that detects when there’s activity on the contact sensor and then does various things. Here’s the minor rub … when the doorbell is pushed it is possible that multiple strikes of the chime happen due to the striker bouncing and this can translate to more than one open/close event on the contact sensor in very close succession.
Because of the above I am getting multiple executions of the piston so, for example, I get multiple text messages, multiple images captured on camera, etc.
Any ideas for just identifying one of the multiple, quick fire events?