After a recent update I can no longer access my Sonos devices via AirSonos. I have tried restarting router, i have restarted the Sonos devices and uninstalled and reinstalled component but still can’t get it to work. My log looks like this:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Hass.io Add-on: AirSonos
AirPlay capabilities for your Sonos (and UPnP) devices.
-----------------------------------------------------------
Add-on version: 2.0.1
You are running the latest version of this add-on.
System: Raspbian GNU/Linux 9 (stretch) (armv7 / raspberrypi3)
Home Assistant version: 0.92.0
Supervisor version: 162
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] airsonos.sh: executing...
[cont-init.d] airsonos.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[10:33:46] INFO: Starting the AirSonos server...
[10:33:46.789876] main:1280 Starting airupnp version: v0.2.8.0 (Mar 17 2019 @ 17:47:58)
[10:33:46.791390] Start:1016 Binding to 192.168.0.73:49152
[10:33:46.998803] AddMRDevice:920 [0x95fa4]: adding renderer (Landing)
[10:33:47.005224] MasterHandler:615 [0x95fa4]: subscribe success
[10:33:47.020982] ProcessEvent:414 [0x95fa4]: UPnP Volume local change 100
[10:33:47.247526] AddMRDevice:920 [0x97ed0]: adding renderer (Kitchen)
[10:33:47.253374] MasterHandler:615 [0x97ed0]: subscribe success
[10:33:47.268101] ProcessEvent:414 [0x97ed0]: UPnP Volume local change 40
[11:08:47.441741] CheckAndLock:220 device is NULL
[11:08:47.495146] CheckAndLock:220 device is NULL
[11:08:47.545553] CheckAndLock:220 device is NULL
[11:08:47.598144] CheckAndLock:220 device is NULL
[11:08:47.647582] CheckAndLock:220 device is NULL
[11:08:47.702024] CheckAndLock:220 device is NULL
[11:08:47.776263] CheckAndLock:220 device is NULL
[11:08:47.826847] CheckAndLock:220 device is NULL
[11:08:47.877495] CheckAndLock:220 device is NULL
[11:08:47.928232] CheckAndLock:220 device is NULL
[11:08:47.982762] CheckAndLock:220 device is NULL
[11:08:48.036787] CheckAndLock:220 device is NULL
[11:08:48.115941] CheckAndLock:220 device is NULL
Just to say I installed this last night and it works great.
Is there any way to link this add on to the spotify playlist type work being done so that Sonos speakers can be seen from the Spotify API as currently Sonos is not supported?
I saw this mention on github that it’s possible to exclude speakers:
Speakers can now be excluded in v0.6.0, using custom configuration file tweaking.
However, I don’t see a way to do this in the documentation. I look at the airsonos.xml and tried changing <enabled>1</enabled> to <enabled>0</enabled> (from 1 to 0) but the change doesn’t do anything and my changes are reverted. What is the right way to do this?
Dear,
I am trying to use this add-on to get my Play:1’s included.
However, I managed to get the plugin started, but since then, I only see endless log messages
I saw that it might be a possibility to cancel the power supply of the speaker for a minute. This does not work for me.
Might it be realted that my Sonos speakers are in another WiFi segment? (hass is in 192.168.1.XXX and the speakers are in 192.168.20.XXX). If so, how can I get the addon to check the other segment (192.168.20.XXX) as well?
Hi @Connor, did you get this working?
I posted this issue once on github but it was classified as not being an issue of airsonos, just system related.
My system has two network adapters, one being the vlan where all the robots live.
At the Moment I try to move to a more simple setup with one nic in the network where all the smarties are.
The internet isn‘t helping with error 208
Best, Bernd
My Sonos media players are in a different network. Is it possible to pre specify the Sonos media players in the xml file? The hassio Raspberry PI has connectivity to the Sonos media players since the Sonos platform is working perfectly!
My Sonos media players are in a different network. Is it possible to pre specify the Sonos media players in the xml file? The hassio Raspberry PI has connectivity to the Sonos media players since the Sonos platform is working perfectly!
Thanks!
Great add-on btw Frenck!
\\edit
Got it working! I needed to enable IGMP.
Another question: Does anybody know what port is used from AirSonos to the client device?
Hi. Sorry for my question, I’m newbe in HA.
AirSonos Add-on find my speaker and show commands what I press on it:
[16:52:01.342279] Start:1108 Binding to 10.0.0.36:49152
[16:52:04.438800] UpdateThread:809 Error obtaining description http://10.0.0.40:49152/description.xml – error = -204
[16:52:10.852957] AddMRDevice:992 [0x7fab279010]: adding renderer (Kitchen)
[16:52:10.906746] MasterHandler:656 [0x7fab279010]: subscribe success
[16:54:16.157346] ProcessEvent:451 [0x7fab279010]: UPnP Volume local change 12:-1 (master)
But how to setup speaker in HA to send TTS messages? It is not recognised by SONOS integration and I can’t find any AirPlay integrations to connect to AirSonos.