Securifi Community Forum

Securifi Products => Almond+ => Topic started by: battags on September 03, 2014, 06:03:01 pm

Title: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on September 03, 2014, 06:03:01 pm
My Sonos Bridge was previously detected but no longer seems to be accessible to the controller.  I did a factory reset of the bridge and I still can't locate it.

I am also noticing that the bridge was assigned an IP address (if you go to where you can assign static leases, the MAC address appears with an IP address next to it) but the device itself does not show up under the active leases where things like the laptops and phones show up.  Is this to be expected?  Are there any logs I can send you to help diagnose this?  Otherwise I'm going to have to switch back to my old router.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: Lameth on September 03, 2014, 06:27:21 pm
Got the same problem myself. I found 2 solutions.

First one: You have to plug your bridge on the Almond+, therefore the IP address the Bridge will get will be delivered by the Almond+ and it should work again. Of course you need to have your Phone/computer on the same network (the Almond+) as well.
Second one: If you have 2 WiFi/LAN networks, plug the Almond+ on you first network and put it in AP mode, like this everything will be on the same network and your Bridge will be detected again.

You might have to reconfigure every devices of your Sonos config to detect everything again.

Good luck.

Lameth
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on September 03, 2014, 11:52:51 pm
Thanks for the reply.  Its not clear to me how what I had already set up is different than your first suggestion.

My Almond+ was my primary (and only router).  The bridge was connected to it directly via cable (and I could see that it got an IP address but never showed up under the list of devices).  The Android Controller was unable to find the bridge (tried both 2.4Ghz and 5Ghz networks).  I just changed back to my old router, and everything works perfectly. At the moment I'm using my old router as I prefer having my Sonos functionality.

Thanks
Scott
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: Lameth on September 04, 2014, 03:37:06 am
Thanks for the reply.  Its not clear to me how what I had already set up is different than your first suggestion.

My Almond+ was my primary (and only router).  The bridge was connected to it directly via cable (and I could see that it got an IP address but never showed up under the list of devices).  The Android Controller was unable to find the bridge (tried both 2.4Ghz and 5Ghz networks).  I just changed back to my old router, and everything works perfectly. At the moment I'm using my old router as I prefer having my Sonos functionality.

Thanks
Scott

Hey Scott,

I'm pretty sure your problem is due to the IP address. By plugging your Bridge and configuring it on your old router you probably worked on the IP range of 192.168..... When you switched to the A+ the IP range changed to 10.10.... If the Bridge does not assign an IP address dynamically each time and keeps the old IP address it got assigned from your old router setup it could explain why it works on your old network but not the new one when plugged in.

My advice: once everything is plugged on the A+ you should go through the connecting process of your Sonos network again. Do not hesitate to power off/on the bridge and the speakers you have, I noticed sometimes it needs to reboot entirely to work properly on a reconfiguration.

Hope it helps,

Lameth
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on September 04, 2014, 07:32:10 am
Lameth,

I actually did do a factory reset on the bridge, as well as also setting my Almond+ to use the 192.168.1.x range.  Neither worked.  I'm not sure what else to do.  Any ideas?

Thanks
Scott
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: Lameth on September 08, 2014, 04:56:43 am
Hey battags,

I did some testing on my system, and I found out that even though I'm on AP mode for whatever reason it is not working perfectly.

Basically I have my old router from which the internet is coming from. This old router is emitting a WiFi (lets call it WiFi "Old"). Then I plugged the Almond+ on it through ethernet and the almond+ is emitting a WiFi too (lets call it WiFi "A+"). The Almond+ is in AP mode.
All my equipments are plugged on the Almond+ through Ethernet (NAS, Sonos, etc...).

It seems that when trying to access the equipments from the WiFi Old it does not work even though it should. Of course when connected to the WiFi A+, I've got no problem trying to access my equipments. I will test the other way around in the afternoon (equipments on the old router in ethernet and accessing it from WiFi A+).

In your case did you make sure the Bridge was connected on the same router that was emitting the WiFi on which you are trying to connect from? it might be the solution for you.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: poshul on September 09, 2014, 08:48:22 am
So this is just a guess (since I don't have any Sonos' on hand to test), but I'm betting that the Almond+ is discarding spanning tree protocol(STP) packets (http://forums.sonos.com/showthread.php?t=16973). You can check if STP is enabled on your LAN side, go to the web interface -> Advanced ->OpenWRT-> Network -> Interfaces -> LAN -> edit -> Physical settings tab -> Enable spanning tree protocol on this bridge.

Let me know if that helps.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: joltdude on September 09, 2014, 10:58:09 am
I wonder if Sonos is also doing some mDNS/Zeroconf/Bonjour type stuff... I have lost count the number of AP's that have problems handling mDNS... or don't pass it through!....
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: ja3hawk on September 09, 2014, 02:08:10 pm
I wonder if Sonos is also doing some mDNS/Zeroconf/Bonjour type stuff... I have lost count the number of AP's that have problems handling mDNS... or don't pass it through!....

It most definitely does... The devices send out some sort of broadcast or multicast packet when they are initially setup. This allows the controller app see other Sonos devices. I currently have all of my Sonos gear disconnected so I haven't been able to test. I sure hope the Sonos hardware plays nice with the A+ though as I intend to have them all on the same network.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on September 11, 2014, 01:50:15 pm
In your case did you make sure the Bridge was connected on the same router that was emitting the WiFi on which you are trying to connect from? it might be the solution for you.

Yes, my bridge was connected directly to the Almond+ (which was the only router plugged in and active)
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on September 11, 2014, 01:50:44 pm
So this is just a guess (since I don't have any Sonos' on hand to test), but I'm betting that the Almond+ is discarding spanning tree protocol(STP) packets (http://forums.sonos.com/showthread.php?t=16973). You can check if STP is enabled on your LAN side, go to the web interface -> Advanced ->OpenWRT-> Network -> Interfaces -> LAN -> edit -> Physical settings tab -> Enable spanning tree protocol on this bridge.

Let me know if that helps.

I will try it when I get home tonight and let you know.  Thanks for the suggestion.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: mwbelsaas on September 13, 2014, 08:37:27 pm
Let's rule the Bridge out as a problem. Can you try to directly connect one of your Sonos speakers (or zone player/amp) to the A+ via ethernet and see if you are able to connect? The recent Sonos software update renders the Bridge unnecessary, but it's still a better signal if one part of its network is hardwired.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on October 11, 2014, 06:04:50 pm
I could try ruling out the bridge except based on where my router is I would need it, plus it works perfectly fine with my old router.  I tried the spanning tree protocol tip and that didn't make a difference.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on October 11, 2014, 06:05:51 pm
I also just updated to the most recent firmware with no improvement.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on October 11, 2014, 06:15:49 pm
Just for completeness I managed to get a Play:5 next to the router temporarily with no improvement in my ability to access the system.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on October 11, 2014, 06:49:49 pm
I also tried connecting with controllers on both Android and iOS.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on October 11, 2014, 11:01:16 pm
I'm still not seeing my Sonos devices under "Active Lease" for DHCP.  If I go to static leases, I can see that the router knows about the devices (I matched the MAC address to Sonos' range) and they have an IP address.  Creating a static lease of that MAC to the same IP address doesn't make them any more discoverable.

I also can't do the usual http://<IP ADDRESS>:1400/status to get to Sonos' status page for the device.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on October 11, 2014, 11:35:11 pm
Some information about the network:

root@AlmondPlus:~# brctl show
bridge name   bridge id      STP enabled   interfaces
br-lan      8000.e4718530a3e1   yes      eth1
                     wlan00
                     wlan10

root@AlmondPlus:~# brctl showmacs br-lan
port no   mac addr      is local?   ageing timer
  1   00:0e:58:19:50:f8   no         0.99
  1   00:0e:58:8d:74:60   no         1.84

<snip /> <-- I removed all of the non-Sonos ones when I copied this in



root@AlmondPlus:~# brctl showstp br-lan
br-lan
 bridge id      8000.e4718530a3e1
 designated root   8000.000e581950f8
 root port         1         path cost       100
 max age         6.00         bridge max age         6.00
 hello time         1.00         bridge hello time      1.00
 forward delay         4.00         bridge forward delay      4.00
 ageing time       300.00
 hello timer         0.00         tcn timer         0.75
 topology change timer      0.00         gc timer        71.29
 flags         TOPOLOGY_CHANGE_DETECTED


eth1 (1)
 port id      8001         state           forwarding
 designated root   8000.000e581950f8   path cost       100
 designated bridge   8000.000e581950f8   message age timer      5.19
 designated port   8001         forward delay timer      0.00
 designated cost      0         hold timer         0.00
 flags         

wlan00 (2)
 port id      8002         state           forwarding
 designated root   8000.000e581950f8   path cost       100
 designated bridge   8000.e4718530a3e1   message age timer      0.00
 designated port   8002         forward delay timer      0.00
 designated cost    100         hold timer         0.77
 flags         

wlan10 (3)
 port id      8003         state           forwarding
 designated root   8000.000e581950f8   path cost       100
 designated bridge   8000.e4718530a3e1   message age timer      0.00
 designated port   8003         forward delay timer      0.00
 designated cost    100         hold timer         0.77
 flags         

Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on October 11, 2014, 11:48:43 pm
More debugging...

if I run arp -n

I see this for the Sonos devices:
? (10.10.10.105) at <incomplete>  on br-lan

(I also flushed the cache with "ip neigh flush dev br-lan")
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: Monomakh on October 13, 2014, 04:44:13 pm
I, too, am having Sonos problems since beginning to use the Almond+.

I currently have the A+ set up as an AP. With the Sonos bridge connected directly to the A+, I am able to connect to the Sonos components maybe 1/4 of the time. If I put the bridge back on the main router, I am able to connect but of course the remote components have a spotty connection, which was the whole point of using the AP.

So, the A+ has to be blocking something even in AP mode, right? How can I diagnose this?
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: biznews on January 10, 2015, 05:15:25 pm
Did anybody ever come up with a fix for this ?   My Almond works fine with Sonos but the Almond + doesn't connect at all.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: Rahaman on January 12, 2015, 06:20:04 am
any active user on this thread ?

I would like to solve this issue ................
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: buddybar on January 23, 2015, 08:34:43 pm
I don't have any solution.  I am in the same boat.  Using my android phone and the new almond+, I cannot "find" my sonos.  This did not happen with the first almond or with other routers.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: LGNilsson on January 23, 2015, 11:22:33 pm
Please PM/work with Rahaman so we can solve this issue, he's part of our test team and will be working with you guys on this.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on January 24, 2015, 03:22:03 pm
I've been periodically plugging my Almond+ back in and updating to whatever the latest beta firmware is and seeing if any of the controllers can find a Sonos device.  It fails EVERY time, which is highly disappointing.

I hadn't tried in a while and just installed the latest beta and it doesn't work still so I will be unplugging the Almond+ again and enabling my previous router.  This hasn't worked since Day 1 which is highly disappointing.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on January 27, 2015, 03:23:14 pm
Any update?  I sent a PM with no response yet.  I've posted a good amount of information from my own debugging.  What else do you guys need?
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: mrv777 on January 27, 2015, 03:50:08 pm
I'm not sure if my issue is related to the Almond+, but every few days the Sonos app on my phone can't find my Sonos3.  I have to unplug my Sonos3, re-plug it in, and then everything with it works fine.  The Sonos3 directly connects to the Amond+'s wifi
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: battags on April 15, 2015, 09:40:53 pm
I just wanted to update this thread in case anyone searches for Sonos support.

I worked over the phone with the support team (who were great and spent *a lot* of time with me) and we were unable to figure out why the Sonos Bridge did not work (their test one worked for them).  I was able to get my Sonos working with the Almond+ by *NOT* using the Sonos Bridge and using Sonos' new WiFi connection/support.  That works perfectly for me due to the fact that the WiFi signal is pretty strong in my house.  It may not be a solution for everyone.
Title: Re: Sonos Bridge Not Detected When Using Sonos Controller
Post by: Monomakh on May 31, 2015, 11:13:51 am
As an update, the problem is the songs bridge. Take the bridge out of the network and connect the play speakers to WiFi directly, and magically everything works again.