Shelly in a dumb intercom, possible?

Anyone could tell me if it is possible to achieve this: I have an intercom with two buttons. I would like to receive notifications when someone presses the button. I know it is possible with esp8266 but I would prefer to stay away from soldering. All I know is when I press the button downstairs, the pins 5 and 7 go from 0 to 16v. I can bring 220v to the shelly if I put it inside the phone. I have no idea if this is possible or if the house finally explodes. Appreciate any help.

Hi how did you solve this, i have sort of the same setup on my intercom and looking also to use a shelly for it

I solved this with a shelly uni