Yes, most magnetic sensors can be connected to a smart home hub or an associated mobile app that sends alerts to your mobile phone when the sensor detects an opening or closing. It gives you the opportunity to be informed about events in your home even when you are not there.