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

Code for HomeKit #1514

Closed
guussie opened this issue Aug 17, 2022 · 5 comments
Closed

Code for HomeKit #1514

guussie opened this issue Aug 17, 2022 · 5 comments

Comments

@guussie
Copy link

guussie commented Aug 17, 2022

When I want to register a new player, I’m being asked for an 8-number code.

what code should I use?

thanks!
DC25FB1A-0CF2-42D8-8BB1-B6D81C8FE3FC

@mikebrady
Copy link
Owner

Thanks for the post. This should be covered in ADDINGTOHOME.md.

@guussie
Copy link
Author

guussie commented Aug 20, 2022

Thanks for the post. This should be covered in ADDINGTOHOME.md.

Yes, it partly is covered. I used this page to get going.

To be more precise, the Shairplay device is available in the network even without adding it to Home. But this doesn't seem to make the device available to Siri. When I ask Siri to play music in the Kitchen, Siri answers that she doesn't know this device.

I think the solution to that would be to add the device to Home, as described in your md. However, at the end of that process, I get the request to enter the 8 numbers and I don't know which 8-number code I should use.

Thanks for looking into this.

@mikebrady
Copy link
Owner

Thanks. There is no facility for specifying a code for Shairport Sync devices.

Here is what works for me:

  1. The ADDINGTOHOME.md procedure adds the speakers to Home.
  2. I then add the speakers to a room. So in my case I added speakers called "Speaker" to the room "Kitchen".
  3. Now I am able to say to Siri: "Hey Siri, play some music in the kitchen please."

It doesn't recognise the speakers by their own name, but it does recognise them by the room they are in. I don't know if this is a feature of the Home system of a deficiency in Shairport Sync, but the AirPort Express exhibits the same behaviour.
IMG_4532

@guussie
Copy link
Author

guussie commented Aug 27, 2022

Hello @mikebrady,

Just to confirm that I got it working now. Indeed no need for a code. I don't know why it was asking for this code, but it doesn't now.

Thanks for this great AirPlay solution. Working very well now!

@github-actions
Copy link

This issue has been inactive for 45 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.

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

No branches or pull requests

2 participants