I don’t know anything about the android part, but that’s a very old smartapp. Can’t you do the same thing now with the official smartlights or smart home monitor feature? And if so, its push notification would probably be faster.
Thanks for the quick reply…
Smart Home Monitor / Configure / Custom will monitor an opening door, but does not appear to distinguish between a vibration and an opening door. Thus if I use this route every time the door is opened I would receive a notification when I only need the notification for a vibration.??
Plus this does not solve the notification delay issue, which I believe started with Android 8 Oreo.
The Smart App called Door Knocker only allows notifications and not a text message which is a pity as a text message comes through immediately.
All ideas appreciated.