I’m having an issue.
I’m running a pushcut server on an old iphone that is always up and running and the pushcut server is always on.
I’m using the shortcuts URLs to make calls from homebridge, the shortcuts are running a MiHome scene, to turn on a light or a TV or such.
The problem that i’m seeing is that when the api URL is being called - the pushcut server receives the call and executes the shortcut but the MiHome app isn’t doing what it suppose to do.
When i run the shortcut manually everything works.
I’ve tried to put a sleep (Wait for 3 seconds) in the shortcut - and this makes it more reliable, but the response is slow and i wanted to consult this forum to see if there is a better solution.
Any tip would be appriciated.