iOS Shortcuts (notifications, quiet time, watch prefs, launch app)#119
iOS Shortcuts (notifications, quiet time, watch prefs, launch app)#119asyba wants to merge 2 commits intocoredevices:masterfrom
Conversation
| single { CoreConfigHolder(defaultValue = CoreConfig(), get(), get()) } | ||
| single { CoreConfigFlow(get<CoreConfigHolder>().config) } | ||
| singleOf(::ModelManager) | ||
| singleOf(::CactusTranscriptionService) |
There was a problem hiding this comment.
I have to add this because it was crashing the app when installing, maybe its a bug not yet discovered.
There was a problem hiding this comment.
cc @crc-32 - I guess this is in experimentalmodule, but references from common code?
d37f592 to
9372109
Compare
|
cc @sjp4 |
|
really cool! Really useful |
|
Awesome. I was hoping for Shortcuts support at some point! Thanks for adding it! Would it be possible to add a timeline pin from a shortcut? |
9372109 to
1185084
Compare
|
Added timeline shortcuts
|
|
Thanks for adding Timeline support. I can't wait to try this out. A couple more Shortcut ideas:
|
|
@saltedlolly I'm interested to know what you would use these cases in a real-life situation. |
|
@asyba Off the top of my head... For battery life, perhaps you want to chart battery usage over time with a shortcut that runs ever few hours and logs the current battery to a Google Sheet. Useful to keep track of how battery life deteriorates over time. For Motion backlight, you could have a shortcut that disables the motion back light at certain times of day, or over night. Or when battery gets low. (by running a Shortcut ever 6 hours, that checks the battery first, and then performs other actions if the battery is low) Get watch details, could be useful to identify which of your Pebble watches you are currently using, before running the rest of a Shortcut. It would make it possible to run a shortcut on a particular watch only. (if you own more than one Pebble watch) Get screenshot. Perhaps you want to capture regular data from a particular app each day, or create a tiled image of all the watchfaces you have installed, by screenshotting each of them. Set alarm/timer on watch, there are loads of potential use cases, too many to list. I'm sure you can think of some! Get step count. Ideally, you would want to be able to query the total step count for a particular day (e.g. yesterday), as well as the current running count for today, so far. You could use this to log your daily step count to some external source. Perhaps to a spreadsheet or journal app like DayOne. Just some ideas. |
1185084 to
1cf01d6
Compare
1cf01d6 to
a70c101
Compare
|
did some refactor and added: battery, backlight, watch name, screenshot and step count.
|
|
@asyba This is amazing. Thanks for adding it. My only request concerns the health stats. Would it be possible to query the total_steps_yesterday, or better yet include a date input with the query (default to today), to get the step count for a specific day? This way you could run a daily query to log your daily step count to a Google Sheet or something. That would really useful. And perhaps the same for sleep duration, sleep start, and sleep end. Querying the latest values from last night/this morning. Or querying for a specific date? If you want to keep a log of this stuff over time, it would be really useful. |
|
that will be better exposed as a health API, which is in progress |





iOS support for Shortcuts.
Some possible actions that could be used, for example using Focus modes.
I also added some classes but not implement, to support the equivalent in Android in the future using the Tasker plugin or others.