[Huawei P40 Pro Guides, News, & Discussion] GlennBrownie:
Hi everyone,

I thought I would post this as a separate thread for the Tasker project I have started working on. Please see below information and if you have any questions or development ideas for the project, please comment back!

Please Try The New Google Drive link below. I am aware of sharing issues at the moment, I am unsure why this is happening but please try the new link and let me know!

This will listen for "Ok, Google" or "Hey, Google" IF the screen is on and proximity sensor is not covered - this is incase it is triggered in your pocket like it kept doing for me! ?

There's also a task in this project which you can create a tasker task shortcut widget to toggle the Hotword plugin on and off.

This task requires to have AutoInput installed, from the AutoApps made by Taskers developer. You can have it free on a 24hr basis by watching a video though.

Following people's comments about push notification issues, such as Gmail, I've included a "fix" which is a timed event profile which runs a simple task to turn auto sync off and on - this then tricks syncing process and gives you push notifications for Gmail and other Google apps.

It is currently set at 4 hours, to save battery but feel free to change to what ever you need by editing the profile event.

Required Apps:

Tasker

Hotword Tasker Plugin

Working Google Apps/Services on device.

Google Assistant app

Profile Optional Apps:

AutoInput

AutoNotification

Firstly, install "Hotword Tasker Plugin".

[url]https://play.google.com/store/apps/details?id=nl.jolanrensen.hotwordPluginFree[/URL]

Then, install Tasker if you don't already have it. This is a paid app, but totally worth it when you have a look at it.

Also, download the tasker project file I have made for this. See below changelog and download links!

Open the Hotword Plugin app, click the red + circle at the bottom, choose both Google options - so you have "Ok, Google" and "Hey, Google" and press OK.

Edit both options and turn off the "Play ding sound" option. I found it annoying anyway as Google makes its own noise.

Then, click app settings on top right, choose "start listening on boot".

After this, you can click "microphone service" to ON Position, top right of the screen.

This starts the plugin and at same time it interrupts Huawei "Celia" from listening I found.

Then, import Tasker project "Google Hotword" that you have downloaded.

To do this, open Tasker, click the house icon in the bottom, left corner. Then, click "Import Project", navigate to where you've downloaded the project file to and select the file.

Then, soon as that's added, try "Hey, Google" or "Ok, Google". At this point it should all be working!

Changelog:

Version 1.0.3:

Changed action for HotwordPlugin from launching a Voice Command to launching Assistant instead, as it was launching then Google / Voice Command was redirecting itself to a Google news feed page with search bar, thus stopping the voice input.

Version 1.0.2:

Added profile to detect if camera is opened as it interferes with apps which audio, i.e video recording.

**This profile requires AutoNotification to be installed as a plugin, part of AutoApps by Taskers Dev.**

Version 1.0.1:

Scrap all other links, I hadn't put the profile in to the project so no idea if it had it included in the previous exports but try this one guys ?

Downloads:

Version 1.0.3

Google Drive

https://drive.google.com/file/d/1SU_0eoWk9JTt3testJ-i7LfDBFdm56O-/view?usp=drivesdk

Version 1.0.2

Google Drive

https://drive.google.com/file/d/1ArFMF5nXLTPbmz0tsweDXLTDUuabL_HE/view?usp=drivesdk

Version 1.0.1

Google Drive

https://drive.google.com/file/d/13yZVxDfIYv82Htlz4zb-9F8j8H1I8Wh5/view?usp=sharing

If you like what I've done, don't forget to click thanks as I know this is bugging a lot of people!