Place the magnetic sensor on your frame from your window and use the sensor as a burglary protection device. Send a notification to your smartphone when the window is opened and then sound a siren. Do you want to use it through scene activation? That is also possible. For example, place the sensor on a door frame and let the light in a room switch on automatically in the evening.