[Tasker Tips & Tricks] trohn_javolta:
I just now realized that your plugin provides a stop and start task for the plugin.

With this it works:laugh: It's awesome that this is possible. Cause as far as I know there's only the shield controller that has this hands free google assistant hotword ability... apart from your awesome smartphone solution of course.

But the alternative method comes with some quirks. Some apps instantly trigger the assistant, for example the android tv playstore. In this case everything crashes again.

Would be really good to have a way to grant this permission on android tv.

I also tried to use "appops set nl.jolanrensen.hotwordPluginFree PACKAGE_USAGE_STATS allow" but this returned something about unknown expression or so.

For Tasker I was even able to grant system write settings with "appops net.dinglisch.android.taskerm WRITE_SYSTEM_SETTINGS allow".

So I think in connection with appops command, PACKAGE_USAGE_STATS is wrong....or it's not possible at all this way.

Would be really nice to somehow grant this permission to your plugin. "Pm grant...." went through just fine so I though: "great, it works!" :(

Maybe you have other ideas. Obviously you have way more insight in all of this.

One idea I had is to make your plugin app a system app.

I didn't try on android tv but there is a magisk module to systemize normal apps which works fine on my phone.

But maybe doing so will bring up other problems..

Apart from that I'm struggling with basic voice input/recognition stuff. I'm very new to all of this.

For one the hotword recognition is off. I was able to connect the pseye cam to my win10 pc and get a driver. On the snowboy website via Chrome the setup worked and all.

But I'm wondering if setup directly on the shield would give a different input :rolleyes: I didn't try yet. I have Chrome browser installed but I think it won't work...maybe it works and snowboy can pickup mic input via chrome on shield...gotta try.

I also did tweak a bit on the sensivity setting in your plugin.

I'm currently in a state where either the hotword gets recognized when it shouldn't (I mean it triggers when it isn't said) or I say the hotword and it doesn't get recognized every time.

Maybe there's no need to record the hotword directly on the shield at all...

It seems that changing the percentage just a tiny bit already makes a huuge impact :D

The other thing is google assistant setup itself. Seems I have to connect apps to it, like spotify to have it play music via it.

Did I miss some google assistant settings app on the shield? Or does this have to happen on my phone via the same google account?

I'm asking because I can't seem to get google assistant to work on my phone currently :D I run lineageos with a small gapps package.

There's this google app and in it's settings I can choose google assistant. But I get some popup saying "connection error, check connection and try again" :(

Also, in the playstore I cannot install the google assistant app...which should be there.

Do you think it's because some google framework stuff is missing?

Makes my think: Maybe I can sideload google assistant app through yalp store on my shield and configure it there...