adolfintel / OpenPods

The Free and Open Source app for monitoring your AirPods on Android
https://fdossena.com/?p=openPods/index.frag
GNU General Public License v3.0
932 stars 161 forks source link

$200 for Google Assistant Activation #101

Closed mentalisttraceur closed 3 years ago

mentalisttraceur commented 3 years ago

Offering $200 (that's US dollars) over PayPal to whoever implements a way to activate Google Assistant from the AirPods Pro, to be paid once the feature makes its way into a new F-Droid release of this OpenPods app and I have confirmed that it is working.

If the solution works but for some reason the maintainer of this app does not want to merge and release it, I'll still consider paying some or all of that. But I want everyone to play nice and I don't want to encourage hostile forks or anything like that.

I will consider other methods besides PayPal, but no promises so if you can't receive it over PayPal, ask me ahead of time or work something out with an intermediary can take PayPal payments ahead of time.

If multiple people put in work to make it happen I make no promises about how much of the money will go to who, but I will make an effort to split it up in a way that seems fair.

The more time passes the less guaranteed my ability or desire to pay this becomes, so the sooner you act, the better (and if this message is old by the time you see it, ask me if you want to be sure I still stand by).

I encourage others who want this figured out (and made available openly so that the open source world can benefit from it) and who are willing to pay for it to comment below with how much you are willing to chip in in addition to my offer. I also encourage anyone who has permissions to edit this issue's title to update the amount in the title to reflect the combined total of all bounties offered.

mentalisttraceur commented 3 years ago

I presume #58 is relevant here, and this is going to require reverse-engineering of how the AirPods communicate, because I suspect that the work required to achieve Google Assistant activation will overlap with the work needed to achieve all of the other controls and click rebinding and so forth.

adolfintel commented 3 years ago

I'll leave this open in case someone wants to do it

mentalisttraceur commented 3 years ago

Another $50 if I can activate or deactivate speech-to-text from the AirPods Pro the same way that you can by pressing microphone button on the top right of Gboard.

In fact same in the reverse: if you just get the speech to text activation working, but not Google Assistant activation, then $200 for that.

I think it's pretty obvious by now that these bounty amounts are largely whimsical on my part, and are entirely based on the assumption that most of the reverse engineering work once figured out for one thing will readily enable the other.

Which is to say that I can be convinced that the amounts should be different, and simultaneously emphasizes that they are liable to change if enough time passes and how much I want this functionality in an open source solution changes.

moboch commented 3 years ago

https://play.google.com/store/apps/details?id=com.dotarrow.assistantTrigger Just wanted to leave this here because this app can apparently do just that, it's not open source, though. I don't have any Airpods to try but maybe you could give it a try. My decision whether to buy Airpods pro is basically dependent on this feature working so it would be great if you could report how it goes!

mentalisttraceur commented 3 years ago

@moboch Thank you, but I won't be checking that app out - my willingness to spend money on open source development vastly exceeds my willingness to spend money on someone's closed source app. For what it's worth nowadays I use the latest Pixel Buds with my Android phone, and it's working really well. (Bounty offer remains open for now despite that, but I actually might shrink it or revoke it soon unless someone expresses an interest in working on it.)

manindertaggar commented 3 years ago

Is the reward still on? I have implemented the code in my local.

mentalisttraceur commented 3 years ago

@manindertaggar Yes.

fvasco commented 3 years ago

@mentalisttraceur you should post a bounty for this feature

https://www.bountysource.com/

mentalisttraceur commented 3 years ago

[edit for people from the future: the impression I report in this post was wrong]

This seems to be no longer needed. "Hey Google" phrases and speech-to-text seem to just work out-of-the-box now on my Pixel 4 with my Airpods Pro. So I'm closing this specific issue for now.

I may still be interested in paying bounties for open source work towards making Airpods more usable or featureful on Android, the same conditions apply, in particular

to be paid once the feature makes its way into a new F-Droid release of this OpenPods app and I have confirmed that it is working

unless there is good reason for making an exception.

maksim-pinguin commented 3 years ago

This seems to be no longer needed. "Hey Google" phrases and speech-to-text seem to just work out-of-the-box now on my Pixel 4 with my Airpods Pro. So I'm closing this specific issue for now.

I can't confirm "hey Google" working out-of-the-box or elsewise. But I'm using a Xiaomi Poco f2 Pro. Knowing that Xiaomi's Custom ROM is making trouble with background processes I turned of all optimization for openpods and Google assistant. Still no luck.

In my experience 'Hey Google' still only works with the mic of my phone not with the airpod's mic. So calling Google assistant with the phone in my bag/pocket never works.

moboch commented 3 years ago

This seems to be no longer needed. "Hey Google" phrases and speech-to-text seem to just work out-of-the-box now on my Pixel 4 with my Airpods Pro. So I'm closing this specific issue for now.

I can't confirm "hey Google" working out-of-the-box or elsewise. But I'm using a Xiaomi Poco f2 Pro. Knowing that Xiaomi's Custom ROM is making trouble with background processes I turned of all optimization for openpods and Google assistant. Still no luck.

In my experience 'Hey Google' still only works with the mic of my phone not with the airpod's mic. So calling Google assistant with the phone in my bag/pocket never works.

I get the same behavior, "hey google" only works with the phone's mic.

mentalisttraceur commented 3 years ago

I think you guys are right. I think I just got the impression that it was working through my AirPods because my phone was close enough to hear me at the time.

So I might reopen this. Have to do some more testing to see how well it works as-is in a few situations.

maksim-pinguin commented 3 years ago

Is the reward still on? I have implemented the code in my local.

@manindertaggar Any updates on that?