Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google assistant still shows up when I use my headphones assistant button #9

Closed
AloneAlexandros opened this issue Mar 1, 2024 · 9 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@AloneAlexandros
Copy link

First of all, wow, that's a cool plugin you got there, very helpful. It works nicely so far, on feature that would be very nice is being able to wake up chatgpt using my earphones, the assistant button there currently wakes up normal google assistant. Is it even possible?

@WSTxda
Copy link
Owner

WSTxda commented Mar 2, 2024

Hello, thanks for the feedback, unfortunately it is not possible to replace Google Assistant in this sense, many Google Assistant features are possible because it is a system application and has super permissions such as listening to the device's microphone from end to end, which is a conventional app cannot do this.

@WSTxda WSTxda added question Further information is requested wontfix This will not be worked on labels Mar 2, 2024
@AloneAlexandros
Copy link
Author

That's kinda unfortunate. Perhaps you could check open apps and if it detects Google assistant it should open gpt? Does that require system permissions too? (Probably yes but I don't know)

@DrFr33ze
Copy link

DrFr33ze commented Mar 11, 2024

This also applies for the assistant function on wear os?
Have to test Android Auto with the cars voice access button at the steering wheel

@AloneAlexandros
Copy link
Author

This also applies for the assistant function on wear os? Have to test Android Auto with the cars voice access button at the steering wheel

I don't know, don't use Android Auto and I don't have a wearOS device (yet!)

@DrFr33ze
Copy link

This also applies for the assistant function on wear os? Have to test Android Auto with the cars voice access button at the steering wheel

I don't know, don't use Android Auto and I don't have a wearOS device (yet!)

Can confirm now, that both cases do not work. Thanks anyway!

@WSTxda WSTxda closed this as completed May 22, 2024
@arendtio
Copy link

arendtio commented Jun 8, 2024

@WSTxda I am not sure if your assumption is correct.

When I long-press my Bluetooth headphones (Shokz OpenSwim Pro), my phone asks me which app to use (and if I want to use it as the default). Sadly, it only presents me with Bixby, Alexa, and Google. VoiceGPT is not part of that list, even though it is configured as the default assistant app and works excellent when pressing the phone's home button.

I don't know what capability/permission an app needs to be included in that list, but the dialog looks like the normal 'choose a default app for that action' dialog. Once I select an app as the default, I can reset the dialog to ask again by opening the settings of the app that is being opened and deleting the 'Set as default' connections.

It would be a super cool feature to be able to start VoiceGPT via the headphone button ;-)

@arendtio
Copy link

arendtio commented Jun 9, 2024

@WSTxda adding the following line to the default intent filter in the AndroidManifest works with my setup:

<action android:name="android.intent.action.VOICE_COMMAND" />

When I long-press the button on my headset, my phone asks me which app I want to use (when I do it the first time), and now I can choose VoiceGPT. Afterward, I can invoke VoiceGPT via my headset. Now, I want to be able to stop the conversation via the button :D

@AdamPype
Copy link

since the above comment provides a solution, maybe this ticket should be reopened? @WSTxda

@WSTxda WSTxda reopened this Sep 5, 2024
@WSTxda WSTxda added enhancement New feature or request and removed wontfix This will not be worked on labels Sep 5, 2024
@WSTxda
Copy link
Owner

WSTxda commented Sep 5, 2024

Thanks everyone, I'll add this

@WSTxda WSTxda closed this as completed Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants