Looking for ideas for a commute tracker. I’m moved from smartthings recently and am slowly working on recreating some of my automations and routines.
I had one that more for fun, but I enjoyed.
When I leave home, work, or any map location I’ve set up (pretty much work and home, haha) I marked a left time and an arrival time. Then did the math, and sent the data to a google spreadsheet using IFTTT.
So I sent three bits of info to the spreadsheet
Total time, starting location, and ending location
So I know that my tracking device knows when I’m home and when I’m at work, so it seems pretty easy, just don’t know where to look for history
So it would be something like when I arrive at a marked location, Get the following info and do some math, and send it to IFTTT.
So the trigger would be arriving at a marked location
What I would want to know is what was my last “marked” map location, and what time was I at that location, and what time is it now. Subtract those times. There’s my commute time.
Then send last location, current location, and commute time to IFTTT.
Any tips to get started on how to get history from a device