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
Apple TV 12.1.1 compatibility #59
Conversation
Apple TV OS 12.1.1 now validates the user agent. Set to "Remote/1021"
where do I have to use that command, in the configure.json? |
You update the DacpConnection.js file, changing the User-Agent... it's part of this pull request. |
If anyone wants to rush this into a homebridge running on a pi, the path to the file is /usr/local/lib/node_modules/homebridge-dacp/sr/dacp/ adding the one line from Johninaustin fixes the issue after a reboot of homebridge. |
tested and working. Thank you! |
I've also made the change and it worked like a champ! |
The fix worked for me until today. I have no idea where it comes from, either the Homebridge update or the latest tvOS 12.1.2 but I suddenly get the following error in homebridge and the accessory is shown as not responding in the Home app.
|
I manually edited Dacpconnection.js as described. The DACP switch works in Home app to control play-pause but does not report status change if play/pause activated by bluetooth AppleTV remote or iOS controller. Log reports the same error as CooperCGN when trying to use alternate-playpause-switch.
Log shows playback status changing.
|
Apple now validates the user agent. Use "Remote/1021".