Setup of Symfonisk/Sonos

I’ve tried adding my Ikea Symfonisk bookshelf speaker. According to several posts on the forums it is supported and works.

  1. Binding sonos is installed. I added a callback to the server… http://ip:port. I also opened the port (tcp only).
  2. Settings > Audio > default → sonos

openhab> audio sinks

  • Sonos SYMFONISK (Kitchen) (sonos:SYMFONISK:RINCON_347E5CF2CCD401400)
    System Speaker (enhancedjavasound)
    Web Audio (webaudio)
    openhab>
  1. PaperUI detected and setup the Symfonisk; the UID matches the one stated on the device xml.

Tried the following command from script, and also the documentation example command via the console. No sound is played!

playSound(“sonos:SYMFONISK:RINCON_347E5CF2CCD401400”, “doorbell-2.mp3”, new PercentType(25));

The speaker does attempt to connect, tcpflow log:
> <execution_environment>
> <os_sysname>Linux</os_sysname>
> <os_release>4.19.0-13-amd64</os_release>
> <os_version>#1 SMP Debian 4.19.160-2 (2020-11-28)</os_version>
> x86_64
> <command_line>tcpflow -i any -C -J port 38080</command_line>
> 0
> root
> <start_time>2021-01-24T20:07:11Z</start_time>
> </execution_environment>
>
>
>
> 0
>
>
> 0
>
>
>
>


> <open_fds_at_end>0</open_fds_at_end>
> <max_open_flows>0</max_open_flows>
> <total_flows>1</total_flows>
> <flow_map_size>1</flow_map_size>
> <total_packets>1</total_packets>
>
> 0.018038
> 0.000000
> 10896
> 1246
> 0
> 0
> 0
> 8
> 14.087402
>
>

Seen this in the log once but not since the initial time I attempted to play a sound. PaperUI does not show any additional state info.

2021-01-24 19:22:16.389 [WARN ] [inding.sonos.internal.SonosAudioSink] - Sonos speaker ’
sonos:SYMFONISK:RINCON_347E5CF2CCD401400’ is not initialized - status is INITIALIZING

Edit: doorbell-2.mp3 exists. Also tried with the openhab default file.

Forum mangled quote?

The important part of the tcpflow log:

> <tcpflow startime='2021-01-24T20:07:19.591041Z' endtime='2021-01-24T20:07:19.591041Z' mac_daddr='00:00:00:01:00:06' mac_saddr='34:7e:5c:f2:cc:d4' family='2' src_ipn='192.168.88.15' dst_ipn='192.168.88.11' srcport='46356' dstport='38080' packets='1' len='76' />

192.168.88.15 -> speaker
192.168.88.11 -> server

I’ve come back to this topic again…

  1. Noticed PaperUI added the Symfonisk as a ZonePlayer - this always happens. Tried creating the thing manually as a SYMFONISK, now it is correctly recognised.
  2. Still no sound played.

It doesn’t seem possible to remove the Sonos binding callback URL, even though docu states it is optional??