SEPIA-Framework / sepia-docs

Documentation and Wiki for SEPIA. Please post your questions and bug-reports here in the issues section! Thank you :-)
https://sepia-framework.github.io/
236 stars 16 forks source link

Wake word doesn't work (android 11) #118

Open ladifaahri opened 2 years ago

ladifaahri commented 2 years ago

Describe the bug The android app doesn't pick up the wake word, if the app is not in the foreground. This is likely because android 11 doesn't let me set microphone permissions to "allways allowed". The option isn't even there, only to deny it completly, ask everytime or on active app use.

SEPIA client and server versions

fquirin commented 2 years ago

There is an option in the settings called "allow background activity" which will try to keep the app running, but usually every Android version I've tried will kill the app eventually. Wake-words like "Ok Google" or "Hey Bixby" that work in the background all the time can unfortunately only be implemented by Google, the smartphone vendor or some custom Android versions (though I've never seen one). Currently the wake-word feature of the Android app is meant to be used together with the Always-On mode where you see the SEPIA avatar. This mode also prevents your phone from switching to standby. For quick access you can configure your Android home button (or Bixby button) to open SEPIA (settings - apps - default apps - default assistant app). The new version will support some Bluetooth headphones as well if they have the "assistant" button implemented.