Hi, I’m trying to run a shortcut on my iPhone, which opens the front door when near to an iBeacon (just inside the door). I can see the iBeacon using other software and it is broadcasting over a sufficient distance. Run manually from a button or via Siri the shortcut works.
When running the Pushcut server it seems to be triggered by the iBeacon correctly, but then I get an error that the shortcut failed:
"Request expired before it could be executed. (180.0s).
You have Phone A with you and it has a background location action tied to an iBeacon. When you get in range, this runs a server action on iPhone B running Pushcut server on your local network with the lock and that server action is to run a shortcut that sets the lock to open.
When you get a failure, which phone is getting the error?
Can you set an additional action or two in your shortcut to log when it gets to different points… maybe it is the open lock step that is timing out, or maybe another step, or maybe talking to the server or just running the shortcut.
Is there any chance there are circumstances where the shortcut could require user interaction?
Hi sylumer thanks for your response, sorry if I was not clear enough. I have an iBeacon at a door it is just acting as a location trigger broadcasting to about 5m. I have an iPhone with me, it is running the pushcut server and also has a shortcut to open the door. That shortcut is cloud based and does not need a WiFi connection, it works over 3/4G as well.
The shortcut itself works fine, either by manually pressing the shortcut or by using Siri. There are no confirmation steps in the shortcut.
My only step in my Pushcut is to run the shortcut on arrival at the iBeacon. There are no other devices involved, no other iPhone B.
Pushcut server needs to run in the foreground on an unlocked iPhone. My guess is you are not doing that and so if you are trying to run via that with your phone locked, that would explain the timeout.
See the “dedicated device” refernce in the documentation.