My related story: we have door phone system in our apartment house and I wanted to get a notification whenever our flat got buzzed. I hacked the phone in our flat - attached a circuit directly to the wires leading to the coil of the buzzer and through arduino to the pc. Then I stitched together some code utilizing firebase to send notifications. Worked like a charm until google began to require credit cards for the free stuff.