Same question here… You can hard-wire a open/close door sensor which is what my original post suggests for $30 in parts, or if you’re not wanting to spend any cash a vibration sensor might work since the doorbell has a mechanical system (electromagnet).
Ooooh now I follow your question! YES any sensor that has a contact on it that you want a hot wire would work ![]()
Love it! Great solution!
The water leak sensor basically works in exactly the same way as a door or window sensor. All you are doing when you press the doorbell button is closing the loop on a circuit.
In a door/window sensor its done via a magnet, and with a water leak sensor, the contacts are bridged by water.
I stripped the case of an aqara door/window sensor and its now wired up inside the box that holds the doorbell ringer.
Here is my solution to enable a “dumb” solenoid doorbell to work with automation.
I’m using a cheap generic Tuya zigbee door sensor (no need to use the included magnet). Just couple that door sensor with a micro electromagnet. The electromagnet is hot-glued to the door sensor and then wired in parallel to the door solenoid using the screw terminals. Current draw on the electro-magnet is about 300ma, so very low.
The whole thing fits inside the doorbell housing easily with a piece of Velcro. It’s a clean solution and doesn’t require soldering. Simple install.
My automation is done via Smartthings with an Edge driver installed in their V2 hub to enable accessing the Tuya zigbee door sensor. Just posting here because this thread has the most exhaustive collection of solutions to this doorbell challenge. ![]()
FWIW: Those gold tubular “bells” hanging from my doorbell are fake. Just pieces of an aluminum shower rod, cut and painted to look like chimes.
Here are these micro electro-magnets on AliExpress.com. They have many versions, all slightly different. They were rated 12/24v. D20H15-12V is the one I picked.
Suction 0.3~120KG Electromagnet DC 12v Electromagnetic Closed Solenoid Small Electro Magnet 24V Coil Electric Imans 12/24 Volt


