How do you check/alert about your door sensors status?

I bought two Aqara door sensors for my main door and garden door. I plan to use them with Sonoff Plus ZigBee dongle with Z2M.

My question, how do you design your door sensor status system?

Detecting if the door is open, for how long?

If it is stay open, then send alert (notifiy) your phone?

Repeat the alert every X minutes if still stay open?

Does it also account if someone at home?

Thanks for sharing.