-
Notifications
You must be signed in to change notification settings - Fork 2
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
Question: Will this work with newer Apple TV remotes? #1
Comments
There's a high chance that some of the buttons will work, because the remote model and tv model are interchangeable. Just try it I guess. If it doesn't work at all or partially, there's still hope. |
Great to know! With the Harmony Elite discontinued, I've been thinking about using an Apple TV remote as a Universal Remote connected to a Raspberry Pi as the hub. |
Feel free to close this issue. Thanks for the quick response! |
I'm actually interested if it works or not. Would be nice to support more models. |
@Stuckya any news on this? Have you tried it? |
@Yanndroid I tried it with Siri Remote 3 gen and it fails at writing magic byte:
I don't have 2 gen to check if it's 3 gen specific or not. But I capture connection of 3 gen to Macbook with working RemoteBuddy 2 using PacketLogger, hope this will help. (MAC of Siri Remote is 10:B9:C4:1D:44:59) |
Hi there, |
@Yanndroid Output
If I wrap |
@superpupervlad Doesn't it print anything when you press buttons after that? The battery percentage should also be printed at the beginning (at least mine sends it). You can try commenting out one or more of the lines in remote.py (L.54-59). Or all of them and see if the battery is printed when you plug or unplug the remote. I don't know why your version has so many Report Characteristics in Human Interface Device. Mine only has those for HID:
Something else might be the MTU. I doubt it, but try setting it to 247 instead (remote.py L.50). |
@Yanndroid Interesting thing that without 19-20 lines in new bt.py it will not print any output. It seems that new gen has new button map: Output when it connects to charging:
When it disconnects:
Changing MTU to 247 has no effect. After I fix pairing issues I was able to connect to remote without holding Back and Volume up. It connects immediately after I press any button. But now I have other minor issue: if I stop the program and then quickly start it again it connects to remote and after printing all characteristics if crashes:
If I wait 5 sec before starting it again it works fine. |
@superpupervlad It's weird that you need the L.15-L.21 in bt.py. They only print out the GATT layout. Make sure the remote isn't already connected to the PC when you start the program. You should start the program and then press any key on the remote to make the connection. A couple more questions:
Notes:
|
Some corrections: Without
Output
Sample output where I slide it clockwise
Sample output where I slide it counterclockwise
|
@superpupervlad And, is only the ring touch or also the circle in the middle? |
@Yanndroid
and WOW this works great!
|
@superpupervlad What you can do maybe is uncomment the L.33 in bt.py and see if, while using only one finger, the output is sometimes longer (18 bytes instead of 11). I had the issue that sometimes a second finger is recognized and I removed the fix for this in the gen-3 branch. |
@Yanndroid 2023-09-23_12-00-25.mp4 |
Hello - just wanted to comment that I've just tested your gen-3 branch with a gen2 Siri Remote and that it seems to work exactly the same with it, right down to the skips in @superpupervlad 's video. The skips happen when moving my finger back and forth between the center part of the touchpad and the right side of the outer ring, just as @superpupervlad describes with his gen3 remote. By the way, it would be super nice if you could update the bit in your README that says the device's MAC should start with 48:A9:1C... I spent an embarrassing amount of time monkeying around with bluetoothctl thinking my remote was faulty before finally figuring out its MAC actually started with 60:BE:C4. |
... I don't actually understand why, but I seem to have fixed the touchpad skips like this:
|
@Kate6 sorry for the late reply. I changed the readme according to your suggestion and also added your fix to the code. Thanks. |
First, Awesome project!
Second, Will this library work with the Siri Remote 3rd generation? https://support.apple.com/en-us/HT205329
The text was updated successfully, but these errors were encountered: