Automation Control

Automation Control

Cover image

Written by

IB

iBanks

Published on

11/19/2024

FC8D8C30-59D1-4123-A599-C215432306AD.webp

Welcome to Automation Control, the app version. This is the app version of my original shortcut Automation Control, which went under numerous updates and changes over the years (there were more previous updates posted on the shortcuts sub on Reddit.

Download Automation Control from the AppStore Now!

Or

Join the TestFlight Beta and the Automation Control Discord

Purpose

The purpose of the app is to give more of a visual aspect of your automations that are in the Shortcuts app. The app doesn’t replace the Shortcuts automation tab but works in conjunction with it.

Image.png

• You can finally identify your Automations •

The app allows you to:

  • Assign a name, description, and icon
  • Run your Shortcuts automations only on specific days, dates or times
  • See the current active status
  • Search through your automations by name
  • Sort your automations
  • Provides a great-looking interface for date and time selection
  • Log when your automations complete successfully
  • Quickly toggle a automation on/off with a double tap or Siri
  • Save and Pass a text variable to and from a Shortcuts automation
  • And more…

How to use

  • Create a Controller or Scheduler Item
  • Open the Shortcuts app - Automation - Select your trigger - New Blank Shortcut
  • Add a Get Controller Status or Run Scheduler Item at the top based on the item you had just created and select the name of the item
  • Add an IF action and in the top section above the Otherwise action, add your run shortcut action or other actions you’d like to run
  • When the automation trigger runs, it will check the status of the Automation Control item within the Automation Control app and if it is on, your shortcut or actions will run; otherwise, it won’t. If it is a Scheduler Item, then it will check if the current hour matches the selected hours in the AC app along with the day, date, and month, and if all matches, it will run your actions and if not, it won’t.

Using the Shortcut Input Field (optional)

This field was added for users that would like to store or pass a variable as input to their Run Shortcut actions in their automation setup. The text that you put here can be retrieved via the Get Controller Variable or Get Scheduler Variable actions and you can also save text from your automations into this field using the Set Scheduler Variable or Set Controller Variable actions.

A good use case for this is if you’d like to store the name of your currently active Focus Mode to be retrieved later.

If you already have automations created, you can just add your Get Controller Status or Run Scheduler Item action at the top, input a IF statement and drag all your other actions into the top part of the IF statement.

IMG_1539.png

Controller Items

Controllers are used to simply toggle on/off automations. Your shortcuts automations still run but first run a check with the Automation Control app, and if your Controller item is turned on, the rest of your actions will run, and if it’s turned off, your automation just stops.

Controller Items are good for automations that don’t rely on a schedule, such as CarPlay, Bluetooth, Charging, etc. In instances where you want to simply stop the running of certain automations, you no longer have to scroll and try to figure out which automation is which to disable it in the Shortcuts app, just simply toggle it in the Automations Control app.

IMG_1533.png

Picsew_20241023212834.png

Scheduler Items

The Scheduler is for your automations that run on a schedule. You can have checks for the Month, Day of the Week, Date, and current hour as conditions that determine if your automation should continue through with running your actions. This relies on your scheduled automations within the Shortcuts app, as there’s no way to replace its functionality, but this approach still presents the same feats as Controller Items mentioned above. One of the key benefits of using scheduler items is that the users that have created 24 automations that run on each hour can now stop the running of all 24 automations from a single button vs going through all 24 automations to disable or enable them one at a time.

Picsew_20241023130906.png

IMG_1535.png

Tips & Tricks

  • If possible, build out your automations as shortcuts vs scripting all your actions within the automation trigger. This allows you to simply use a Run Shortcut action in your automations, which allows you to reuse it or even just edit one shortcut for the benefit of other automation triggers.
  • You can use a Controller Item as a variable to combine a shortcut automation trigger into one, such as Open/Close app automation or CarPlay Connects/Disconnects. Instead of creating, for example, a when app opens trigger and a when app closes trigger, you can create one trigger that runs both, and by using an IF action along with your Automation Control Controller Item, you can make this one.
  • Deep-link into a Personal Automation to enable iCloud sharing of automation shortcuts, rename, and additional "features." : r/shortcuts
  • Use a Focus Mode automation to handle your hourly run shortcuts automations vs creating 24 separate automations for each hour of the day. Create a Focus Mode and in its settings set it up to activate every hour and create an automation in the Shortcuts app that when the Focus Mode activates, runs the shortcut. Add an Automation Control Controller to this automation to simply toggle it on/off as needed.

Picsew_20241023131243.png

Updates Release Notes

*** IMPORTANT ***
Before upgrading to v1.0 (12) or later, be sure that you are on v1.0 (11) and use the Export Data option in the Settings menu. There is a chance you may lose your existing items when updating to v1.0 (12). After you update to v1.0 (12), you can import the data. Unfortunately the Scheduler items date and time data won’t import as of yet but the main info will. Sorry about the inconvenience this may cause.

Join the Automation Control Discord - https://discord.gg/kcYGGDAXrX

v1.5 (5)

Fix: Get Item Details shortcuts action now respects the condition of off Scheduler items and no longer pass them as Conditions Met.

Fix: Dark Mode being so blah looking.

New: View All Items option in tap and hold context menu when list is filtered by a tag.

New: Automatic Toggle Timer now a expandable section.

New: Date & Time Conditions now a expandable section.

New: Expand and Collapse all sections for the Automatic Toggle Timer and Date & Time sections to expand and collapse the sections together.

New: Layout option in the Sort Menu is no longer nested and easily changeable at the top of the list by tapping the icon.

New: Display Status Last Changed toggle in Settings now works with grid items but note that this causes the items to become different sizes due to auto layout and it conforming to the length of text displayed on the item. Leaving the Last Changed Status displayed keeps the items more in uniformity.

Removed: Expanded view as currently it serves no purpose and there were no accommodating recommendations give for it’s usage.

Change: Moved Edit button out of the Item Details section of the Sort Menu and placed it at the root level of the menu.

v1.5 (4)
New: View Layout section in the Sort Menu to choose between List or Grid view

New: Context Menu w/ tap and hold gesture. Now allows you to delete an item and view associated tags with that item. Tapping on a tag will filter the view to all items associated with that tag.

Change: Status Last Changed now displayed with the description

New: Toggle in Settings to display or not display the Status Last Changed detail in the item row (List View only so far, will add to Grid View)

WIP: Unsure what I am going to do with the expanded view, especially for scheduler items. I like the details that are there but it’s missing the hours and I’m not sure I like that it shows the days of the week and the months as numbers but turning them into text causes run over of text. Do share some ideas.

Bug: Currently there may be some UI issues with the grid view as far as different sizes displaying and items expanding after the status changes. I will work on this.

Bug: Dark Mode needs some definition or an alt color to it as it’s just plain Jane right now.

Bug: Just realized I have lost the swipe to delete gesture. Should I add it back or just stick with the tap and hold to delete?

If you’d like to tip for the work, please download the AppStore version to use the IAP system as the TestFlight versions are for testing only and does not process the payment. Thanks to those that have and will donate to the cause.

v1.5 (3)

Updated: Create New Controller/Scheduler Item action now defaults to the On state for the newly created items.

New: Ability to duplicate an item by tap and hold gesture.

Removed: Tap and hold on chevron to expand all items, utilize the sort menu -> Item Details -> Expand All/Collapse All button.

Change: List Controllers/Schedulers action is now named Get Item Details (JSON) and now allows you to get all items at once or by type and retrieves name, type, status, and shortcuts input variable in which is passed in JSON format to be used with the Get Dictionary Value and other ways.

V1.5 (2)

New: Delete Controller/Scheduler Item Shortcuts action

V1.5 (1)

New: Legend in Scheduler view to display the color indicators’ meanings for selected hours.

New: Clear all logs option in Settings.

New: Timer Duration for all items. You can set a length of time in which the item will toggle its status once the timer runs out. This can be iffy due to iOS limitations on apps running in the background. I have it set to take advantage of background app refresh as well as local notifications to let the user know when the timer has run out. Do test this feature heavily as, depending on its reliability, I may just remove it.

This version also includes deployment as low as iOS 17.0 in hopes that it works for those users. The previous deployment requirement was no lower than 17.6.

V1.4 AppStore Release Update

As always, please back up your data via the Export Data button in the Settings section of the app prior to updating. This update introduces a number of new Shortcuts actions that will replace existing ones in a future update. Please take note of the new actions detailed below so that you can begin replacing the existing actions in your shortcuts scripting.

  • New: Tags (Groups) new field where you can group items together using #tagname. All tags are separated by a space. Ex. #Home #School
  • New: Tags section in the Sort Menu
  • New: Compact Sort Menu: Due to the new tags section, I made the Sort Menu more compact as the tags list may get quite long for some users
  • New: Create Automation Prompt: When creating a new item, you are prompted if you’d like to be taken directly to the Shortcuts automation tab to create a new automation or not
  • New: Export option saves tags and all other data for each item
  • New: Conditions Met and Conditions Not Met filter options in the List Controller/Scheduler Items Shortcuts action
  • New: Create New Controller/Scheduler Item Shortcuts action. Selection of date and time details should be done in the Automation Control app.
  • New: Select 12-hr or 24-hr mode as your default setting upon first launch after initial app install
  • New: Warning display in Settings that existing scheduler items will need to be recreated if the user decides to swap their hour mode and has Scheduler Items already saved.
  • New: Select Tags Button that allows you to select from existing tags or create new ones
  • New: Compact menu for Sort Menu -> Item Details -> Edit. The icon presents your options after selecting individual items or doing the Select All option.
  • New: Backup Data Shortcuts action to automate backing up all of your item data.
  • New: Manage Logs for Item Shortcuts action: Will be replacing the Log Last Run for Controller and Scheduler’s actions. Able to get last logged date and time for an item as well.
  • New: Shortcuts Action: Set Status of Item(s). A consolidation of Toggle All Controllers, All Schedulers, Set Controller Item Status, and Set Scheduler Item Status actions. The old actions will be removed in a later update.
  • New: Shortcuts Action: Get Status of Item. A consolidation of Get Controller Status and Run Scheduler Item actions. The old actions will be removed in a later update.
  • New: Shortcuts Action: Manage Item Input Variable. A consolidation of Set Controller and Scheduler Item Variables and Get Controller and Scheduler Item variables. The old actions will be removed in a later update.
  • New: Shortcuts Action: List Controller/Scheduler Items. Pull your Controller or Scheduler items in as a list and filter the list based on All, All On, or All off.
  • Updated: Automation Control Get Icon shortcut to allow searching for shortcuts in your library to get the icon thanks to mvan231. Download the shortcut from the Tools section in Settings.

v1.4 (6)

Fix: Select Tags menu dismissing itself upon first launch. Should now show and remain shown until you dismiss it or tap Done.

Fix: Select Tags menu dismissing itself upon first launch. Should now show and remain shown until you dismiss it or tap Done.

Updated: Automation Control Get Icon shortcut to allow searching for shortcuts in your library to get the icon thanks to mvan231. Download the shortcut from the Tools section in Settings.

New: Conditions Met and Conditions Not Met filter options in the List Controller/Scheduler Items Shortcuts action

New: Create New Controller/Scheduler Item Shortcuts action. Allows you to assign a name, description, tags, icon, and add a Shortcuts Input variable. Recommend adding an Open App action after so that it can open the app. Scheduler items date and time details are much easier to add in the app so that function is not part of the shortcut.

New: Manage Logs for Item Shortcuts action: Will be replacing the Log Last Run for Controller and Scheduler’s actions as they are now combined into this one action. Get last logged date and time for an item as well.

v1.4 (5)

Quick fix to restore hour selector box. I’m pretty sure something else may be broken so please repot it on the Discord. Fixing the missing hour sector broke the Tags implementation and fixing that removed the on and off toggle. All is back now but let me know what you find broken.

v1.4 (4)
Please back up your data prior to updating, as I have no clue what’s going to be broken with this one! This update introduces several new Shortcuts actions that will replace existing actions in a future update.

New: Select 12-hr or 24-hr mode as your default setting upon first launch after initial app install

New: Warning display in Settings that existing scheduler items will need to be recreated if the user decides to swap their hour mode and has Scheduler Items already saved.

New: Select Tags button on the Tags row of each item (For some reason it dismisses itself on initial launch each time, I’m too sleepy to figure this out right now but I will)

New: Compact menu for Sort Menu -> Item Details -> Edit. The icon presents your options after selecting individual items or doing the Select All option

New: Shortcuts Action: Set Status of Item(s). A consolidation of Toggle All Controllers, All Schedulers, Set Controller Item Status and Set Scheduler Item Status actions. The old actions will be removed in a later updated.

New: Shortcuts Action: Get Status of Item. A consolidation of Get Controller Status and Run Scheduler Item actions. Pass your value to the IF statement by using Contains and input the item name or pass as a boolean by tapping where it says Get Status of Item and select Boolean. The old actions will be removed in a later update.

New: Shortcuts Action: Manage Item Input Variable. A consolidation of Set Controller and Scheduler Item Variables and Get Controller and Scheduler Item variables. This single action performs all of those actions in one. The old actions will be removed in a later update.

New: Shortcuts Action: List Controller/Scheduler Items. Pull your Controller or Scheduler items in as a list and filter the list based on All, All On, or All off.

V1.4 (3)
Quick fix for 24-Hour mode not passing correct yes/no value. Please test this to be sure. I will work on everything else mentioned in the Discord between today and tomorrow as I just walked into the house from out of town and made this my first priority.

Be sure to back up prior to updating, just in case.

v1.4

  • New: Tags (Groups) new field where you can group items together using #tagname. All tags are separated by a space. Ex. #Home #School
  • New: Tags section in the Sort Menu
  • New: Due to the new tags section, I made the Sort Menu more compact as the tags list may get quite long from some users
  • New: When creating a new item, you are prompted if you’d like to be take directly to the Shortcuts automation tab to create a new automation or not
  • New: Export option saves tags ad all other data for each item
  • New: Backup Data action. For some reason the action won’t present an Open option to select a folder to store the backup data, it only presents a Cancel button. To work around this, use the Shortcuts default File action, select your folder and pass that as a variable to the Backup Data action

Notes:

  • I attempted to create a Toggle Tag Group action where it’ll combine all Controller and Scheduler items that share the same tag and toggle them all at once but it kept giving too many issues, so I will revisit this.
  • Attempted a new Create Controller and Create Scheduler Item action but that too was giving too many issues. My thought for the scheduler item is that it allows you to select a icon, add a name, description, tags, and shortcut input and then open the Automation Control app to that item for you to select your date and time details. Tried this but I have had no sleep due to life issues and it was too much thinking involved with adding url schemes and matching UUID’s and all that good stuff, so I will revisit this later as well.

V1.3 AppStore Release
Fix: Double Tap gesture on scheduler items properly toggles the status indicator again
Fix: The Expand All button properly displays Collapse All when toggled in the Sort Menu

v1.2 AppStore Release
All that are on beta, this has newer features than the current beta. I needed to make a push to fix two bugs. Here’s what’s new…

*** IMPORTANT ***
Before upgrading, use the Export Data option in the Settings menu. There is a chance you may lose your existing items when updating to this version. After you update, you can import the data.

  • Removed the background from the icon
  • Fixed Get Icon shortcut from hanging (hopefully). New link is in Settings -> Tools
  • Fixed a bug where scheduler items were always passing a Yes value to the shortcuts action, even when they should have passed a No value.
  • Added a Done button to the keyboard to dismiss it when using the Search field.
  • Added a Log view for each item, accessible in Edit Mode -> View Log.
  • Added two new Log Last Run Shortcuts actions to log the last completion of the script into the app under the View Log section for that item.
  • Added Set Controller Variable & Set Scheduler Variable actions to pass a text value from Shortcuts to be stored in the Shortcuts Input field of the item. Could be useful to save a variable to be used at a later time, like maybe the current focus mode name or whatever.
  • Broken is the ability to double tap on a Scheduler item to toggle it, I will fix it soon
  • Documentation will be updated on all the added features and the previous ones

v1.2 (2)
I don’t know why apple has me using this version number scheme but hey!

  • Fix: Added Done button to keyboard to dismiss the keyboard when using the Search field
  • New: Log view for each item. Found in Edit Mode -> View Log
  • Two new Log Last Run Shortcuts actions to be placed at the end of your automation script to log the last completion of your script into the app under the View Log section for that item

v1.1
AppStore Release

V1.0 (21)

  • New: Tools section in Settings. Allows you to open the Shortcuts Automation tab, start the creation of a new automation in the Shortcuts app, or just open the Shortcuts app from the AC app.
  • New: Get AppStore icon or Shortcuts icon via the Select Icon button. When selecting the Get Icon option, it runs a shortcut that you can get from the Tools section, find your icon, and it is copied to the clipboard and opens the Automation Control app for you to paste the icon.
  • New: Get Controller and Get Scheduler Item variable Shortcuts actions. Allows you to pass a text string as a variable to your automation script if needed.
  • New: Filter section in the Sort Menu. Allows you to display all, only all items that are on, or only all items that are off.
  • Fixed: When adding a Scheduler item and not selecting a date and time, it defaults to the current date and time, and changing the date and time did not update on the item row.
  • Sample Shortcuts for when the app is a fresh install.
  • Temp Removal: iPad layout as it needs a lot of work to be done, so for now, use the app in iPhone layout.

v1.0 (19)

  • Bugfix in UI

v1.0 (18)
Preparing for AppStore Release

  • Added In-App Purchase of Tips
  • Added sample Controller and Scheduler items that are displayed upon app install for the firs time
  • Default the sort order to A-Z
  • Added Discord Link
  • Added site to Automation Control

v1.0 (17)

  • Backup your data prior to updating as it is likely you will lose the existing data due to changes that had to be made on how the data was being stored
  • Changed default icon from gray rounded rectangle to photo SF symbol
    -Bug Fixes
  • Start of adding IAP just for tips, the app will be free
  • Preparing for first AppStore release soon but lots more to come

v1.0 (16)

  • Added select all hours for 24-hour mode
  • Added select all am, select all pm and a select all am & pm option for the 12-hour mode

v1.0 (15)

  • Fix for 24 hour option defaulting back to 12 hour if the app was force quit
  • Should now pass a true value for the 24 hour picker to the shortcuts actions if the current time matches the selected time
  • Swapping from 24 hour to 12 hour with already existing items saved is a lot more tricky than I thought. Still a WIP.

v.1.0 (14)

  • Export/Import function now works with Scheduler items time and date details
  • File name for exported file is now Automation_Control_Month_Day_Year_Time
  • No longer need to tap the Edit button to manually drag and drop your apps in Manual mode anymore. Select manual and you can simply invoke the drag action
  • Bug fixes

v1.0 (13)

  • New: Added swipe to delete on item
  • Added Next Run details on scheduler items
  • New: New grid view interface. Swipe down from the middle of the screen where it says Controllers and Schedulers to view. Not sure what I am going to do with that interface just yet, may just have it called via a Shortcuts action or make it as an option to set as the interface to be viewed when the app is launched (if that's possible) I don't know, what do you all think?

Still working on import of schedulers date and time details
v1.0 (12)

  • New: Details view that shows last time the item was changed, groundwork for scheduler items to display the next scheduled run
  • New: Expand All and Collapse All option in the Sort Menu to expand and collapse all items
  • New: Tap the > to expand/collapse the details of an item
  • New: Tap and hold on the > to Expand or Collapse all items
  • New: Haptic response on expand and collapse all function when tap and hold on >
  • New: Added symbols to Sort Menu for visual reference
  • New (WIP): App Intent to get all scheduler item info via a Shortcuts action

v1.0 (11)
Join the Automation Control Discord - https://discord.gg/fGbg75xc

  • Fix for toggle all on\off from select menu, now toggles correctly regardless of current status
  • New: Grouped sort option in the Sort Menu in which it groups items based on on/off status
  • New: Indicator option - a taller bar on the right side of screen
    -New: Haptic feedback on double tap to toggle
    -WIP: Import Export functions fully for Controller items. Scheduler items imports but missing all the selected date/time information.

v1.0 (10)

  • Converted back to single tap to enter edit view
  • Double Tapp item row to turn on/off
  • Option to choose Dot or Bar for battery indicator in the sort menu, default is Bar
  • Import Export is still a work in progress as I am trying to figure out the best way to go about it

v1.0 (9)

  • Moved on/off status to the left of the item row to prevent it from overlapping description text
  • Added Swipe Left gesture on item to delete or edit the item
  • Add Double Tap gesture to toggle on or off status of an item so that you don't have to go into the item to do so
  • Moved the Settings icon to the left side of the Toolbar
  • Moved the Sort button to the right side of the Toolbar
  • Sort button now includes a Edit button to
    • Select Items
    • Select All Items
    • Toggle On/Of selected items
    • Delete selected items

More to come. Please test everything.

v1.0 (8)

  • Changed list layout to fill more of the screen
  • Added swipe gesture to delete items
  • Public TestFlight Release
  • Import/Export still a WIP

v1.0 (7)

  • Toggle all option in app to toggle all Controllers or Scheduler items at once
  • New Toggle All app shortcuts actions to toggle all Controller or Scheduler items at once via Shortcuts

v.1.06
Hopefully fixed the edit items issue where edits weren't being saved. Please test all functionality.

v1.0 (5)

  • Moved add new button to top toolbar
  • Edit button only appears when manual mode is selected
  • Export and Import option still under construction
  • Fixed items missing when searching

v1.0 (4)

  • Changed 12 hour AM color selection to Green
  • Include color breakdown in 12/24 hour info panel
  • Added sorting options of manual (drag and drop), A-Z or Z-A
  • Export and Import option still under construction

v1.0 (3)

  • New App Icon
  • Beginning stages of import/export of Scheduler and Controller items