DispatchPi part 4 : an iOS shortcut 📱
Installing the shortcut
The last tutorial step streamlines picture sharing with an iOS shortcut that allows you to select a picture from your camera roll, add a message to superimpose on top, and share it to another frame.
Email is a reliable way to share an image, as it will sit in the iOS Mail app's outbox in case you have limited connectivity.
You can download and customize the DispatchPi iOS shortcut here.
Notes :
Email is a reliable way to share an image, as it will sit in the iOS Mail app's outbox in case you have limited connectivity.
You can download and customize the DispatchPi iOS shortcut here.
Notes :
- The “FROM” email field should be edited to display the email account your are using with the iOS Mail app.
- The earth frame owner can send images from any email address, whereas the satellite frame must use the address added to line 69 of the `/server/main.py` file. This is the web app distinguishes between the two frames.
And just like that, we’ve wrapped everything together into a single action, abstracting away all of our complicated pipeline!
I hope you enjoyed this tutorial. Let me know on Github or on Reddit if you managed to implement DispatchPi ! Cheers.
Further reading
- simplegmail would be an alternative way of connecting to our Gmail inbox
- A good explanation of the Gmail Python API
- You could try replicating the whole server script in N8N, an automation tool that ressembles Zapier