HotWord plugin

Post your questions and help other users.

Moderator: Martin

Post Reply
ChrisPBacon
Posts: 3
Joined: 04 Feb 2019 08:16

HotWord plugin

Post by ChrisPBacon » 12 Feb 2019 05:11

Im experimenting with the HotWord plugin as an alternative to Autovoice.

The plugin triggers correctly when i use the trigger word but if i then attempt to use the Input Speech action, IS immediately fails with the message "No network connection in speech recognizer".

Hotword settings:
Stop listening after one word: Off
Turn off service in apps: On

Any ideas/ suggestions ?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: HotWord plugin

Post by Desmanto » 12 Feb 2019 14:47

The problem with the hotword is, it keeps running even after the detection. That will interfere with any app using microphone after the detection. Hence, you must always stop it after detection. Or better use
Hotword settings:
Stop listening after one word: On
Turn off service in apps: Off

That "stop listening" is what I requested to the dev (including to stop the toast message). If you don't enable that setting, you have to add another action Plugin to stop the hotword before the action input dialog. And then enable it back after the flow finish (or can be as soon as the input speech finish). If your flow doesn't have input speech action (or any mic related action), then you can leave this setting off.

For turn off service in apps, that is kinda like blacklist certain app. However, as I tried it, it interfere with Automagic too. Because Automagic has mic access, and hotword will pause when we are editing flow in automagic. Making it not convenient in testing the flow. I will rather make it off and then create another flow with trigger App task started/ended to blacklist certain app (stop hotword listening when opening certain app).
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply