Das hat leider nicht direkt geholfen, aber dabei ist mir aufgefallen, dass die doorbell.mp3 in der Sonos Liste während der Abspieldauer so dargestellt wird: Der Name ändert sich bei jedem Abspielen. Ist das normal? Wird die Datei zur Laufzeit auf die Sonos hochgeladen, oder wie kann ich mir das vorstellen?
Was funktioniert ist die Option playStream:
Code: Alles auswählen
openhab:audio stream sonos:Beam:RINCON_48A6000EC6E01400 http://192.168.1.30:8080/static/doorbell.mp3
Hab dann nochmal die Sonos Nothification in die rule eingebaut, und was soll ich sagen, aus irgendeinem Grund funktioniert das gerade

Code: Alles auswählen
rule "Es klingelt an der Haustür"
when
Item Doorbell_Pressed changed from OFF to ON
then
logInfo("Doorbird", "Es hat geklingelt. Jemand steht vor der Tür")
SonosAmpBueroNotification.sendCommand("http://192.168.1.30:8080/static/doorbell.mp3")
SonosBeamKucheNotification.sendCommand("http://192.168.1.30:8080/static/doorbell.mp3")
SonosOneWCNotification.sendCommand("http://192.168.1.30:8080/static/doorbell.mp3")
SonosOneGastNotification.sendCommand("http://192.168.1.30:8080/static/doorbell.mp3")
end