As much as I've loved using pushover over the past couple of months, IOS Automations don't support parsing pushover notifications. They do however support parsing SMS messages, but Verizon email messaging has been unreliable. So a couple of weeks ago I set out to get approved for a 10DLC SMS campaign through Twilio and was successful.
For my first automation, I wanted to "Find my Car" - something I've been doing through pushover, but requires a single screen click. Preface - I previously wrote a driver that pulls my car's data from Toyota, including latitude and longitude everytime I park.... and it is reliable.
The setup:
First, on my iPhone, I disabled notifications for texts received from my twilio number.
Second, I have a 32-button virtual button device on my HE that I expose for HomeKit.
Third, I set up a simple IOS shortcut called "Find My Car" that just closes one of the 32 buttons
Fourth, a webcore piston triggers on that button and using twilio, texts my phone a message - "Find My Car" with the vehicle's Latitude and Longitude.
Fifth, I have an IOS automation that runs immediately (without confirmation) that triggers on messages from my twilio number that contain the phrase "Find my Car", parses the latitude and longitude and opens Apple maps with directions from my current location to the vehicle's location.
So, I just ask Siri to find my car and within 10 seconds, directions to my car pop up. After this worked, I did the same with my camper... don't tell my wife I told you, but she tends to get a bit intoxicated at music festivals and struggles to find her way back to the camper.
This was my first simple project... but I'm thinking this could be used for actionable iPhone notifications... and now I can push data from my HE to iPhone and automate actions based on that data.