I did mine with an Ecolink door sensor, which has the contacts as well. Since I have a smoke in the basement, I just did the hardwire there and attached the two components to the beam with some command strips.
Using @obycode’s amazing SmartRules iOS app, I setup a rule that when the “alarms are opened” (since it is a door sensor), turn on all the lights in the house and send both a push and an SMS (just in case).
Very high family approval favor…although not when I was repeatedly testing it.