Has anyone figured out how to get the iOS Shortcuts app to work with REST API remotely? The thread below shows how to get it to work locally, but they never were able to get it to work remotely.
What I’m trying to do is operate a light (or any switch) while away from my house. I have verified that it should work by logging into myopenhab.org and testing with the REST API documentation web interface.
Also, I know the url string I’m using should work because I can paste it into the Safari browser on the same iPhone and I get a return status from the openHAB switch item. I used the url string method from the thread below.
I feel like it’s not authenticating properly in the Shortcuts app, but I don’t know why. It doesn’t return any error, it just runs the shortcut indefinitely with no feedback. Any help would be appreciated.
The last time I tried to do something like this on an iOS device it could not work because Apple does not allow one to save a shortcut that includes the basic auth as part of the URL. Without that there is no login information so myopenhab.org rightly blocks the attempt.
You will need to either find some app that allows you to provide/define the basic auth information or find some other way.