How to setup Apple IOS Shortcut App to open door via REST-API call
It is required that you have setup beforehand the OTP App on your mobile.
see How_to_setup_OTP_App_on_mobile_phone
Open on iPhone Apple Shortcut app.
Create or navigate to a folder of your choice.
Select
+
to add a new shortcut
name/rename your new shortcut.
type in search
otp
and selectcopy a code
Now search another function in search bar
inhalte abrufen
orrequest content
Insert:
your RPi URL / IP =
http://<RPi hostname or IP in your local wifi net>:<Port e.g. 5001>/open
Method: POST
Header = add Key -> KeyName =
Authorization
Value =Basic <here your base64 encoded WebUsername:Password>
Content
JSON
Add key =
totp
and value =code
> otp code from previous step.
Finished. Try to run it.