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

How to reset? Accessory Already in Another Home? #168

Open
davemen opened this issue Feb 14, 2025 · 3 comments
Open

How to reset? Accessory Already in Another Home? #168

davemen opened this issue Feb 14, 2025 · 3 comments

Comments

@davemen
Copy link

davemen commented Feb 14, 2025

How do I remove an accessory? I can't seem to reset. Help?

@Diggory
Copy link

Diggory commented Feb 14, 2025

(If I remember correctly...) That happens when you already have an accessory with that serial number and/or setup code installed in HomeKit.

You may also have to remove the hub/bridge that your HAP project installs in your HomeKit home. That also has a serial number.

@davemen
Copy link
Author

davemen commented Feb 14, 2025 via email

@davemen
Copy link
Author

davemen commented Feb 14, 2025

This line that calls out the JSON file. If you update it, it'll let you keep working. I can't find where this thing is stored to delete it but at least you can keep trying...

let device = HAP.Device(
bridgeInfo: bridgeInfo, // ✅ FIXED
setupCode: "801-70-700",
storage: FileStorage(filename: "configuration12.json"),
accessories: accessories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants