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

Deleted pairing in Apple TV now can't repair. #12

Closed
Glec6 opened this issue Nov 5, 2023 · 5 comments
Closed

Deleted pairing in Apple TV now can't repair. #12

Glec6 opened this issue Nov 5, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request support request Technical support is required.

Comments

@Glec6
Copy link

Glec6 commented Nov 5, 2023

How to repair or unpair to repair device. Tried uninstalling on homebridge plugin, still "detects" then has error. Tried resetting the Apple TV, still same issue. Is there a way to unpair to repair?

@maxileith
Copy link
Owner

maxileith commented Nov 5, 2023

To reset the plugin completly, you need to delete the plugin storage folder at /var/lib/homebridge/appletv-enhanced assuming your homebridge storage path is /var/lib/homebridge.

If you want to delete only one Apple TV, you can just delete the folder /var/lib/homebridge/appletv-enhanced/AABBCCDDEEFF/ assuming the Apple TVs MAC-Address is AA:BB:CC:DD:EE:FF. If you just want to repair and want to preserve the configuration you just need to delete the credentials at /var/lib/homebridge/appletv-enhanced/AABBCCDDEEFF/credentials.txt.

Additionally you need to delete ~/.pyatv.conf.

@maxileith maxileith added the support request Technical support is required. label Nov 5, 2023
@maxileith maxileith self-assigned this Nov 5, 2023
@maxileith
Copy link
Owner

However, this is definetly a good issue that you are raising here. The plugin should definetly detect when the credentials are not valid anylonger and then initiate a pairing request.

@maxileith maxileith added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Nov 5, 2023
@maxileith
Copy link
Owner

maxileith commented Nov 5, 2023

@Glec6 fixed in v0.3.1-beta.1

Please reopen if the issue is still there after updating and restarting.

@johnlietzke
Copy link

johnlietzke commented Nov 16, 2023

On a Pi 4 running Raspberry Pi OS and have deleted ~/.pyatv.conf. Have one ATV paired 3 not promoting for the pin and one throwing an error. All on Static IP in the subnet.

Removed the credentials and deleted the appletv-enhanced folder?

@maxileith
Copy link
Owner

Hi @johnlietzke ,

if the issue is still present, please open a bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request support request Technical support is required.
Projects
None yet
Development

No branches or pull requests

3 participants