Yeah, I didn't want to go the mains powered route. If I had, I would have just added a contact sensor to a relay of a standard IR sensor. I was looking for something more refined and with more capabilities. Definitely found it with this sensor.
The inside / outside corner mount is so helpful too. Really doesn't stick out too much.