Get push when doorsensor is activated at a sertain time

In my opinion, it is not possible to give a general answer to this question. Both methods have their advantages but also disadvantages.
For my requirements, GPS works better, for others perhaps Smart Presence (WiFi). Others use BLE beacons or a simple button/switch. Therefore, you should find out for yourself what is the best method.

If you use a working method for presence detection, the flows mentioned in post #2 and #3 will work.