Automated Life: Master A Schedule with Total Launcher & Macrodroid Taxonomy

A very interesting project once the world of taxonomy is understood. Simplistically, it is

A more fully rounded understanding can be reviewed in this article by Enterprise Knowlege (2022). Use this background to turn a device (phone, tablet, computer) from a simple list of reminders into a dynamic, categorized ecosystem.

Total Launcher is the interface to display automation results. It does not have automation capabilities built in. Macrodroid, available at the Google Play Store, is the automation app which does the hard work with Google Calendar. Total Launcher visually displays these results.

The procedure is a step-by-step with “test trials” along the way to verify successful status. It offers one (1) taxomony category:

But others can easily be replicated using the same steps, just varying the taxomony key word and message content … such as

Every user may not have a need for these categories, but the procedure is a shell with new categories and notification keyword and content injected for meet user need.

Enjoy!

Procedure: Google Calendar Widget in Total Launcher with Gesture + Macrodroid Integration (with Taxonomy)

A. Create a Pop‑Up Calendar Window in Total Launcher

  1. Long‑press an empty area to enter Edit On mode
  2. Tap + > Graphic > Image > Window to open the “Window Portrait” dialog
  3. Tap + to begin adding a specific window: name it calendar_window. Press OK.
  4. Locate that item in the list and tap it's action icon to open it in edit mode.
  5. In the top menu row, tap the Edit icon to open the window full screen.
  6. In the lower right corner is the Option
  7. Tap the center of the screen to reveal the Object Edit icon to reveal the manual size and positioning dialog
    1. To briefly resize the window, enter X as 165; Y as 1050; Width as 695; Height as 800. Press OK.
    2. - These measures are a good start but will later allow for resizing the window by tap/drag which is visually easier. Manual entry is for more refined adjustments.
    3. The new window has been initally created with basic options. Swipe right-to-left to close it and return to the “Windows Portrait” dialog. Locate the window in the list and tap it's “name” to add the window to the launcher screen.
      1. What is viewed is the default window image within it's boundaries.
    4. To get acquainted with the window, tap outside of the boundaries to de-select it:
      1. Tap the window image to open the window and note the inital resizing and position performed.
      2. Tap/hold/drag the window center to move the window
      3. Tap/hold the center of the window to reveal the Option icon in the lower right corner. Tap it to open the Option dialog shown here.
    5. Full review of the dialog can be found at the Windows Dialog Secion of this wiki. This procedure will only deal with a limited number of options.
    6. The background of the window may be visible due to the final sizing of the Google Calendar widget. Decide the styling desired, be it solid color, imagery, blurring of the wallpaper, etc. Here, a solid color is selected:
      1. The Background option defaults to an off white cloud. Here a hue of yellow, non-transparent, will be used.
      2. Tap the “square” to the right of the Background text to open the launcher's “Color Picker utilikty”.
      3. In the “ARGB” dialog enter FFFFD700 recognized as “Gold”
      4. Back out (swipe right-to-left) to view the window now with it's gold background.
    7. Notice the window is selected (note the each boundary has “handle” on the center edge).
      1. If missing, tap the center of the window to select it).
      2. Alternately, select the Edit icon in the top menu bar.
    8. Holding the center move the window slightly. Now drag a selected “handle” to see how visual re-sizing is performed.
      1. This can at times be tricky and require re-activating the window by tapping the default window icon and repeating the above.
    9. The window is now positioned and open.

B. Now to add the Google Calendar widget inside the window.

  1. In the Page Design menu (top), tap + and select Graphic > Image > Application to open the Application dialog listing. Select Calendar (technically Google Calendar) to open a second dialog listing activities:
    1. Launch app (select this) ☚
    2. New event
    3. New task
  2. Preference is to show the calendar event listing which will scroll by day in the widget within the window
  3. Resize the calendar widget and the window to meet design needs.
    1. The window background (now 'gold') can be changed in the window option dialog.
    2. The Calendar widget does have an Option dialog /style to match your Material theme.

C. Assign a Gesture to open the Calendar

  1. In Edit On mode select Main Menu → Launcher Options → Keys & Gestures.
    1. The long dialog is shown here in 3 images. Scroll down to the Gestures tab to select the desired gesture. In this exercise, Two-finger swip up was selected.
  2. As of now, this is how the Calendar window currently appears. Click here.

C.1 Hide the Window Icon

  1. Since a gesture now opens the Calendar widget in the window, there is no need for the window icon (default) to remain on the screen. The easiest method is to

D. Confirm Google Calendar sync on Android.1)

  1. It is recommended to create a test event for later testing.
    • Create a calendar event with the title Doctor test
      • Assign it a date/time for tomorrow.
      • If Maps navigation is to be used (see Step E.1) then
        • Scroll to “Add Location” and enter the geo-physical address and select it.
        • Save the calendar event.

E. Install and Setup MacroDroid

  1. Macrodroid is to be installed, if not currently on the device.
    1. After installation, open MacroDroid and grant it requested permission, ensuring notification and calendar are granted plus other to receive the automation app's full benefit.
    2. In the device's Android settings select Apps > MacroDroid > App battery usage > Allow background usage (unrestricted)
    3. If prompted, enable any required Accessibility service fr MacroDroid.

F. Create MacroDroid macro for 'Doctor events'

  1. Select the Add Macro tile to open the “Triggers, Actions, Constraints” dialog
    1. Tap the Triggers +
      1. Tap the 3-dot menu in the upper right corner and uncheck Show Categories to reveal the full trigger list
      2. Select Calendar Event to open the Calendar Options dialog
        1. Select the radio-button Event starts
        2. If the Calendar has multiple calendars, select the calendar to be used in this process.
        3. Select Availability: leave it at default Any
        4. Event color: If the selected calendar is to use event color shading for identification, do so here.
        5. Title: Doctor
        6. This completes the trigger (a calendar event starts and contains 'Doctor' in the title)
        7. Tap OK to return to the “Triggers, Actions, Constraints” dialog
      3. In the 3-dot menu check the “Show categories” box
      4. Scroll down to Notifications and tap and select Display Notifications to open it's dialog
        1. Title: Doctor Appointment
        2. Notification Text: This varies by situation, but here will be used Make list for discussion
        3. Tap OK and save

E.1 (Optional) Add the location to open Google Maps prior to the appointment time

  1. Still in the Doctor Event and it's “Add Action” dialog, tape Application
    1. Tap Open Website
      1. In the url field enter https://www.google.com/maps/dir/?api=1&destination=[calendar_location] which will provide turn-by-turn navigation to the location which will be set as a variable. (The location entered in the Calendar Event's “Add location” will be used with this variable in MacroDroid).
  2. Tap “Add Action” > Variables > Set Variable > New Variable > OK
    1. Local: select this since it is only used in this macro
    2. Name: event_location
    3. Variable Type: String
    4. Tap OK
    5. Tap the 3-dot box to enter the “Magic Text”
      1. Scroll to Calendar location and select it. Tap OK.
      2. MacroDroid will insert the text {calendar_location}
      3. Tap OK to save and return to the “Triggers, Actions, Constraints” dialog.
  3. The first taxonomy has been created and associated with “Doctor”

To get an immediate test of this notification, return to the Calendar Event and re-set the date/time to a few minutes from now. The notification should arrive shortly.

1)
To confirm Google Calendar sync:
☛ Open the Google Calendar app.
• Tap the Menu icon (three horizontal lines) in the top left corner.
• Make sure the checkbox next to the calendar to be used is actually checked.
• Look for Sync at the very top and make sure the toggle is turned ON.
- If a sync toggle is not visible it means it is already enabled. Move to the next step.
☛ Enable Android System Sync
• If the phone's master sync is turned off, Google Calendar won't update in the background.
• Open the phone's main Settings app.
• Scroll down and tap Passwords & accounts
• Ensure the master toggle called “Automatically sync data” is turned ON.
☛ Tap the user Google Account.
• Tap Account sync.
- Find Calendar in the list and ensure the toggle next to it is turned ON.
☛ Turn Off Battery Optimization (which may prevent syncing in the background)
• From the App Drawer, locate Calendar and long-press icon. Tap the Info icon (a small “i” in a circle) and scroll to Battery or App battery usage. Ensure the setting is not optimized or restricted, but is unrestricted and will allow background usage.