Auto Focus Mode Toggle by schedule notification

by Wazer

Version 1 (December 11, 2022)

Download (61 downloads)

This flow is supposed to turn on Focus Mode when a schedule app TimeTune posts a notification that it's time to study, and to turn off Focus Mode when the app posts a notification that it's time for a break. It is supposed to continue running until you turn it off, and should be able to handle the device being locked when the notification changes (Focus Mode will toggle when the device is unlocked).

Occasionally it will stop working properly, and I am not happy with the amount of delay during the toggle process. It still needs a few tweaks but I'd say most of the bones are there for anyone who wants to use or improve it.

An attempt to recreate the success documented here, albeit done quite differently https://www.reddit.com/r/AutomateUser/comments/qddn9r/looking_to_toggle_focus_mode/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button

Made possible with the Interact Block XPath Builder flow by Fran T. See below link for instructions on how to use the XPath Builder flow that is present in this one. https://llamalab.com/automate/community/flows/39656