I’ve tried adding my Ikea Symfonisk bookshelf speaker. According to several posts on the forums it is supported and works.
- Binding sonos is installed. I added a callback to the server… http://ip:port. I also opened the port (tcp only).
- Settings > Audio > default -> sonos
openhab> audio sinks
- Sonos SYMFONISK (Kitchen) (sonos:SYMFONISK:RINCON_347E5CF2CCD401400)
System Speaker (enhancedjavasound)
Web Audio (webaudio)
- 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:
> <os_version>#1 SMP Debian 4.19.160-2 (2020-11-28)</os_version>
> <command_line>tcpflow -i any -C -J port 38080</command_line>
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.