@user57476, your door bell, is it one where you switch the actual power? ...and how much is the door bell drawing, if so?
If it is the old type of door bell where you just power the bell for the time duration of the ring, you may even get away with super cap which your charge with 'parasitic power' over a diode(s) and a resistor. If the the super cap does not make it, a small, rechargeable power pack from cordless phone set could do to. The parasitic power has just to deliver enough voltage...
Multiple diodes may be needed when the door bell power is alternate current, which for the 'old' doorbells it is.
If it is a newer door bell, it is a different story...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@user57476, your door bell, is it one where you switch the actual power? ...and how much is the door bell drawing, if so?
If it is the old type of door bell where you just power the bell for the time duration of the ring, you may even get away with super cap which your charge with 'parasitic power' over a diode(s) and a resistor. If the the super cap does not make it, a small, rechargeable power pack from cordless phone set could do to. The parasitic power has just to deliver enough voltage...
Multiple diodes may be needed when the door bell power is alternate current, which for the 'old' doorbells it is.
If it is a newer door bell, it is a different story...