###############################################################################
############### openhabian ##################################################
###############################################################################
## Ip = 192.168.0.17
## Release = Raspbian GNU/Linux 10 (buster)
## Kernel = Linux 5.10.103-v7+
## Platform = none
## Uptime = 48 day(s). 4:20:57
## CPU Usage = 0% avg over 4 cpu(s) (4 core(s) x 1 socket(s))
## CPU Load = 1m: 0.19, 5m: 0.14, 15m: 0.14
## Memory = Free: 0.09GB (10%), Used: 0.85GB (90%), Total: 0.94GB
## Swap = Free: 2.17GB (97%), Used: 0.06GB (3%), Total: 2.24GB
## Root = Free: 21.27GB (76%), Used: 6.57GB (24%), Total: 29.06GB
## Updates = 69 apt updates available.
## Sessions = 1 session(s)
## Processes = 119 running processes of 32768 maximum processes
###############################################################################
I want to play audio to my sonos speakers from a rule. I did a quick test from the rule, but that failed so I tried from the console. I have set one speaker as default audio sink. I still get no audio when I write “openhab:audio play doorbell.mp3”. There is no change if I specify which speaker to play to. No difference if the speaker is paused or is playing from Sonos app.
Loggs:
2022-11-13 15:48:25.684 [DEBUG] [s.internal.handler.ZonePlayerHandler] - playNotificationSoundURI: currentURI x-sonosapi-hls:channel%3a132?sid=235&flags=40&sn=2 metadata <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:r="urn:schemas-rinconnetworks-com:metadata-1-0/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="-1" parentID="-1" restricted="true"><dc:title>P1</dc:title><upnp:class>object.item.audioItem.audioBroadcast</upnp:class><desc id="cdudn" nameSpace="urn:schemas-rinconnetworks-com:metadata-1-0/">SA_RINCON60167_</desc></item></DIDL-Lite>
2022-11-13 15:48:25.687 [TRACE] [port.upnp.internal.UpnpIOServiceImpl] - Invoking Action 'Browse' of service 'ContentDirectory' for participant 'RINCON_347E5CF38BF801400'
2022-11-13 15:48:25.709 [DEBUG] [s.internal.handler.ZonePlayerHandler] - Notification feature not yet implemented while the current media is being played
2022-11-13 15:48:28.121 [TRACE] [re.storage.json.internal.JsonStorage] - deserialized value 'org.openhab.core.thing.internal.ThingStorageEntity@1a3ccc6' from Json
What am I doing wrong?
/BS