Right now I'm using a combination of Light Switch with tap side to unlock and then pattern launcher to launch this new gassist app. Combined with Tasker, Google Routines, and Smart Lock on the Android phone it's actually a fairly seamless experience already. But a system wide way to initiate it on the Bangle might be convenient.
In order for Google Assistant to use Tasker we need give it the "Write Secure Settings" permission through ADB that can be granted or revoked with a helper app on a PC from the main dev of Tasker here.
Google Routines needs to be configured with the starters and actions. For me this is done by opening the Google app > profile pic > "Settings" > "Google Assistant" > "Routines".
Starter is the word or phrase that initiates the task. Action should contain "Run" or "Start" followed by the name of the task in Tasker followed by "in" or "with" + "tasker".
The Smart Lock can be configured on Android so you don't have to unlock your device when you tell it to start a task.
I have it drafted up in a new branch right now and can do a PR if anyone else will find it useful.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Right now I'm using a combination of Light Switch with tap side to unlock and then pattern launcher to launch this new
gassist
app. Combined with Tasker, Google Routines, and Smart Lock on the Android phone it's actually a fairly seamless experience already. But a system wide way to initiate it on the Bangle might be convenient.In order for Google Assistant to use Tasker we need give it the "Write Secure Settings" permission through ADB that can be granted or revoked with a helper app on a PC from the main dev of Tasker here.
Google Routines needs to be configured with the starters and actions. For me this is done by opening the
Google
app > profile pic > "Settings" > "Google Assistant" > "Routines".Starter is the word or phrase that initiates the task. Action should contain "Run" or "Start" followed by the name of the task in Tasker followed by "in" or "with" + "tasker".
The Smart Lock can be configured on Android so you don't have to unlock your device when you tell it to start a task.
I have it drafted up in a new branch right now and can do a PR if anyone else will find it useful.