Mains doorbell receiver ESP32s

Hi there,

I’m in the Uk and have a wireless doorbell receiver that plugs in the mains. See pictures






I am wanting to see if I can use an esp32 to send notifications via ESPHome on home assistant. I don’t know the best route, but could I perhaps intercept current going to the speaker which triggers when the doorbell is pressed? And could i power an esp from the receiver PCB if the voltage is within the right ranges?