I use it for sensing power outage in our house. I made small device see picture bellow. Of course same can be achieved with door/window sensor since it is battery powered (no need for UPS) and can be placed anywhere in the house . All you need is one 230V relay and fuse to protect it and door/window sensor. You can connect relay contacts to door/window sensor input and that's it. That is also good solution and is cheaper than using binary sensor with small power supply. I just used what I had av