Sonos speakers not found by HomeKit

Hello all,

I’ve been using Hubitat for a while now, but we have recently moved into a new house and I have decided to switch my home automation control to Apple HomeKit. For the most part, I’m installing devices that integrate with HomeKit and they’re working well. When possible, I’m using the Thread standard, but it’s not possible for all devices.

I’d like to add two older Sonos speakers to HomeKit and I am trying to use Hubitat for that purpose. I was able to successfully setup the speakers as new devices in Hubitat. I checked the “HomeKit enabled” box in device settings which then caused Hubitat to produce a QR code and a setup code for HomeKit. I was able to successfully add the Hubitat hub to HomeKit using this code.

At this point, I’m unable to find or add the individual Sonos components to HomeKit. I’ve attempted to add them multiple times, and each time the system searches and never finds the speakers.

What is the correct procedure to allow HomeKit to find the Sonos speakers/players and add them to the appropriate rooms? Am I missing a step or do I need to change something in my configuration?

My Hubitat hardware version is C-8 and I’m running the latest platform version: 2.3.9.180.

I would appreciate any help that I can get.

Thanks,

Dennis

speakers like that aren't shareable to homekit. You would have to connect the speakers directly to homekit.

Thanks for the response! I appreciate it.

If that’s the case, then what’s the purpose of having them added as devices in Hubitat? Are they discoverable in other platforms (not HomeKit)?

Thanks again.

To use in Hubitat of course. Not all devices a shareable. A lot goes into sharing a device class programming wise and then the hardware has to deal with it as well as the API's involved. You can have sonos I believe (do not quote me on this) Homekit (just add it) and Hubitat. For homekit just run the add device and use the code for the sonos. This should allow you to use it in both environments. To add the homekit, make sure they are added to the sonos app (homekit will not find them otherwise).

Open the Apple Home app on your iOS device.
Tap the + in the top right corner.
Tap Add Accessory.
Tap I Don't Have a Code or Cannot Scan.
Tap the product you want to add.
Pick the same room name used in the Sonos app.

Note: Some older Sonos speaker and no longer compatible with the new app.

Also curious given the limited nature of Apple's rule engine, why use that instead of Hubitat's? I could understand bringing devices from Apple or even using the dashboard in Homekit vs Hubitat's, but for myself I can't imagine using their rule engine.

2 Likes

Which speakers?

Here’s a link to the hub documentation article that explains how the Sonos integration works.

Thanks for the responses. I’ll read through the information in the links provided.

Perhaps I’m not yet fully understanding the capabilities of Hubitat and what it can do for me.

My goal is to make home automation simple so that I can use it and my wife can use it. We have many Apple products in our home and we use HomeKit for lights, door locks, thermostats, cameras, etc. We have some Sonos components as well as some Apple HomePods. I’m trying to integrate it all in one simple user interface.

Most Sonos devices made in the last several years support AirPlay 2 and can join the Apple Home app natively.

For the devices that are too old, they may still be able to work with Hubitat’s integration.

But I’m not sure it’s possible to display them in the Apple Home app via Hubitat. @rlithgow1 said it’s not.

That’s why I was wondering which speakers you’re referring to.

I'm honestly not sure either if it can be both...

You can do that fairly easily while letting Hubitat handle more complex rules. A lot of people as I said prefer the Homekit interface. Though you might wanna look at the New EX Dashboards in Hubitat. They look very similar.

Yeah I would be surprised if it’s possible to use Hubitat’s HomeKit integration to add Sonos speakers to the Home app that aren’t HomeKit compatible on their own.

@bertabcd1234 do you know?

I don't see any capabilities for speakers/media players, TTS, etc. for the HomeKit integration, so I don't think so, either.