Use Apple Shortcut to trigger your Memento camera, retrieve the captured image, and save it to your iOS Photos app. You can download the Shortcut via the link below or build it out yourself using the steps below.
To set up this shortcut, you'll open the Shortcuts app on your iOS device and create a new shortcut named "Memento Cam."
Select your camera trigger feed
The first action in this shortcut utilizes itsaSNAP to send a trigger value to your Adafruit IO camera trigger feed. This action essentially starts image capture remotely with the Memento camera, initiating the photo capture process.
Adding Wait for Buffer
Following the trigger, the shortcut incorporates a 5-second wait period.
This pause allows time for several important processes to occur on the Memento board: the camera needs to autofocus, capture the image, and then upload it to the designated Adafruit IO feed. Without this wait, the shortcut might attempt to retrieve the image before it's actually available.
After the wait, the shortcut uses another itsaSNAP action, Fetch Feed, to fetch the latest data from your camera image feed on Adafruit IO.
To transform this data into a usable image, the shortcut then employs a Base64 Decode action, followed by a "Get Images from Input" action. These steps convert the raw data into an image format that iOS can understand.
The final step in the shortcut is to save this decoded image to your iOS Photos app.
You can choose to save it to your Recents album or any other album of your preference. This action completes the cycle, directly bringing the captured image from your remote Memento camera into your iPhone.
Page last edited October 16, 2024
Text editor powered by tinymce.