Tutorial

Sonos & Philips Hue Integration

  • 23 April 2021
  • 8 replies
  • 16135 views

Userlevel 7
Badge +18

With the prospect of having parties once more now on the horizon perhaps you're looking for a way to make sure yours are going to be the talk of the town? If you have a Sonos system, a Sonos Port or Connect, a PC and the Philips Hue lighting system in your homehere’s one way of guaranteeing your friends and family will be talking about your parties for some time:

This is a guide on how to use a Port/Connect and a PC/laptop to link your Sonos system and your Philips Hue system together so that you can have your Hue lights react to the music playing on Sonos.

This method does require the Hue Bridge v2 device but does not require the Philips Hue HDMI Sync box.

If you don’t have a Connect or Port, but do have a first-generation Play:5, you could use the headphone socket on it and a 3.5mm to 3.5mm lead. The volume control for the Play:5 would come into play, however.

For now, instructions are for Microsoft Windows 10 and macOS but the troubleshooting/help steps in red are for Windows only. Steps on macOS will be along functionally similar lines.

Instructions

Steps to follow are in green. If you’re able to perform the step, go to the next green box.

If you’re unable to follow the step in the green box, or if something doesn’t work, help will be under a Show Content link. Click on Show Content to expand the help.

Hardware Setup

First, we need to connect the Port/Connect to your computer. To do this, you’ll typically need an RCA-3.5mm jack cable, or an RCA-RCA cable and an RCA to 3.5mm adaptor (if you have a good sound card with extra connections on your computer, you may just need an RCA-RCA cable).

RCA-3.5mm jack cable

Connect the cable to the analogue RCA outputs on your Port/Connect. The other end of the cable should connect to the Line-In jack on your PC - typically in blue plastic as shown:

Line-Out on Connect (top) and Port (bottom)

 

Line In on a PC

If your computer doesn’t have Line-In (typical on a laptop) you might be able to switch your microphone input (coloured red) into a Line-In using the software for your computer’s sound device (usually found in the System Tray at the bottom right corner of your Taskbar. This software may even pop up automatically when you plug something into the microphone or line-in jacks and ask you which type of device is connected).

Software Setup

With the hardware connected, we now need to get the Philips Hue Sync for PC desktop app installed. You might want to install the desktop Sonos app too, so you have full control on one device. Note that the Hue Sync app requires the Hue Bridge v2 device. 

Link the Hue Sync app to your Hue lighting system. Philips have a video guide here.

If you have trouble linking the Hue app to your Hue lights, please visit Philips’ Hue Hardware FAQ page.

 

Once the Hue app is installed and linked to your Hue lights, we want to tell it which audio feed to listen to.

  1. Click on Settings
  2. Click Audio Preferences
  3. Under Audio device selection, click on the drop-down list and select your computer’s Line-In (or Microphone, if you’re using that) input.
  4. Exit the settings.
Select Line In

 

If you are unable to choose Line-In/Microphone because it’s not in the drop-down list, we’ll need to enable the input in Windows.

  1. Please right-click on your computer’s volume icon (bottom right corner of your screen) and click Open Sound settings.
  2. Scroll down to Input and select Line In under Choose your input device.
Windows 10 Sound Settings

If it’s not available there either, click Manage sound devices, then Line-In under Input Devices and click Enable.

Manage sound devices

Go back to the first Sound Settings page and you should now be able to select Line-In as the input (though it will still not show if nothing is physically connected to the Line-In socket, so please double-check).

 

When Windows detects a signal, it fills the grey bar under “Test your microphone” in with green like a meter (as shown in the blue box in the first picture above) showing the input signal level.

With the correct input enabled and selected in Windows, you will now be able to select Line-In in the Hue app’s settings.

 

Play some music through Sonos speakers, and be sure to group the Connect/Port room in with it. Make sure it’s something that won’t stop playing while you’re testing, like radio, in case troubleshooting takes a while.

 

In the Hue app’s main window, you’ll see a place to choose which lights in your Hue system will be included. This is entirely up to you, but if you don’t select any, you won’t see anything happen (though the Hue app may change colours - this means it’s reacting to the input).

Select an Hue Entertainment Area to react to the music in the Hue app.  

The Hue Sync app’s main screen

If you have no Entertainment Areas set up on your Hue system, you’ll need to set them up in the Hue smartphone app (not the Hue Sync app). You can have up to 10 lights in each area.

 

 

Below that, please select Music as the activity

 

Further down, you will see 4 settings for selecting Hue’s level of reaction to the music, and then some selections for the colour palette used. These can be chosen according to taste.

Click the green Start light sync button.

If all has gone well, your selected Hue lights will now react to the music playing over your Sonos system!

 

Testing

Do this at least a day before your party starts - give yourself time to figure things out if it doesn’t work straight away! Test your system beforehand every time you have an event - better safe than sorry!

 

Problems? 

If Hue lights don’t react to the music:

  1. Please right-click on your computer’s volume icon (bottom right corner of your screen) and click Open Sound settings.
  2. Scroll down to Input and select Line In under Choose your input device.
Windows 10 Sound Settings

When Windows detects a signal, it fills the grey bar under “Test your microphone” in with green like a meter (as shown in the blue box in the first picture above) reacting to the input signal level. If this is not happening, check the easy stuff first:

  • Is Sonos still playing?
  • Is the volume on the Port/Connect low? (we recommend Fixed output - see our No sound from Port or Connect page)
  • Is the Port muted?
  • Double-check which PC jack you’ve plugged into.
  • Double-check which RCA connections you’ve used on Sonos.
  • Try another audio cable (if it’s not new). 

 

If the input you’re using is not available in the list shown in the picture above:

  1. Click Manage sound devices
  2. In the Input Devices section, under Line-In, click Enable.
Manage sound devices

Go back to the first Sound Settings page and you should now be able to select Line-In as the input (though it will still not show if nothing is physically connected to the Line-In socket).

 

If Windows displays the incoming signal (the green bar under Test your Microphone in Sound Settings) but the lights don’t react.

  • Have you selected the correct input in the Hue app’s settings?
  • Have you pressed the green Start Light Sync button?
  • Have you selected some lights to react?

 

Additional Info

First, this article would not exist if not for the inspiration and assistance of community member  @attacama40 who’s original thread can be seen here:

Many thanks@attacama40

Our technical support agents are not trained in this. Individual agents may have the skills to be able to help you, but if you have trouble I recommend asking for help here on our Community Forum.

The Connect/Port Line-In connections are completely independent of Line-Out. Therefore, you can use Line-In from an external source on your Connect/Port while simultaneously feeding Hue with what it needs. You could therefore, for example, play a physical CD through your Sonos system via Line-In and use the same Connect/Port to make Hue react.

It may take a combination of varying the Hue sensitivity in the Hue app and the Line-In level on your computer to get the “perfect” reactions. I recommend keeping the Connect/Port Line-Out level at Fixed, to reduce the number of variables - see our Setup up your Sonos Port page.

 

 


This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

8 replies

Would this work for video too if instead of Music I select Video?

Userlevel 7
Badge +18

Hi @combi06 

If you were to group the Port in with a TV audio signal such as once coming from a Beam, Ray or Arc, yes it would work. It may be slightly out of sync with the video, however, and with the HT device playing the audio. Unfortunately, there isn’t a way to get Line-Out perfectly in sync with TV audio - though it may well be acceptable to you, the delay only being roughly 75ms. I’d recommend keeping the HT device muted to avoid echo effects, if the audio is being grouped to multiple rooms (such as for a party). I’d certainly test it all before a party, just in case!

I hope this helps.

Userlevel 7
Badge +17

As long as there's music accompanying it. The system, if I read it right, reacts to sound when set up this way (a Sonos Port, Connect or Five does not do video).

Userlevel 7
Badge +18

@combi06 

If you want the lights to react to the picture on the video, on the other hand, you’d need a Philips Hue HDMI Sync box, and Sonos wouldn’t be able to have much to do with it - though I’m not overly familiar with the device, so you may be able to figure something out.

Userlevel 1
Badge

There really needs to be a partnership for some native integration on this :’(

Sonos has published their API for anyone to use. It can be found at the Sonos partners page. The folks at Hue would likely be quite welcome to integrate, you may want to contact them to suggest it. 

Hi all, another method I found works is the following:

 

  • Port 
  • RCA splitters
  • RCA in to HDMI out adapter - here’s the one I bought: BD&M AV to HDMI Converter, RCA to HDMI, 1080P Mini RCA Composite CVBS Video Audio Converter Adapter Support PAL/NTSC for TV/PC/ PS3/ STB/Xbox VHS/VCR/Blue-Ray DVD Players - Black https://a.co/d/hhWwwrF
  • Hue Sync box

 

Using the Sonos Port’s RCA out, use the Y splitters (only if you also need the RCA signal to go to your receiver) to dedicate a signal path to the adapter.

Then plug in the adapter’s HDMI side with a cable that also goes to the Sync box.  
 

Choose the input option on your Hue app that corresponds with the one you plugged your hdmi cable into, and start the sync process.  Make sure you choose audio instead of video or games for your input mode. 
 

Enjoy!   

Userlevel 7
Badge +18

Hi @mikehanley7 

Thanks for sharing!