I am looking for some guidance, I want to be able to have door sensors that will send alerts to my iPhone should the doors be opened when my phone is not connected to the WiFi (when I am out) or when I am in bed eg 10pm to 7am. I have seen some smart phone linked alarms but they dont seem to offer much in the way of advanced features.

Thanks for your help