Hi,
I’m already somewhat desperate trying to get an openHAB2 <-> Sonos doorbell running.
What works is defining a sound, upload it into my GooglePlay Music account and play it on the fly over the web. However, in case internet is not available the doorbell is not ringing, so I need to play something on my local machine (despite the fact, that streaming delays the doorbell by multiple seconds which is not convenient).
What I tried to do is define a playURI Sonos item for my “thing”:
In fact, the server is the same as openhab is located, so localhost should be fine (I can replace it with 127.0.0.1 just in case).
Which service is expected to run there? Publicly readable samba?
the openhab server sends the command to SONOS … now SONOS starts to stream from //ip/path/file.mp3
it would be localhost if the MP3 would be stored on the SONOS
SERVER → SONOS → STREAM from SERVER
so take the IP and make sure SONOS has access to the file… this will work
how would the URI to a samba share look like? I don’t seem to have any luck with:
//IP/directory/file.mp3
[Edit] does seem to work even though I’m not sure if I access my ftp or my samba server
Sorry for resurrecting this thread but I’d have a question related to this. I want to play a sound on my Sonos speakers for the door bell, but whenever I send a sound to the notification or playUrl channel, the current audio is stopped and not resumed after the doorbell notification is played.
Is there a way to play the door bell notification as “overlay” to the normal audio that is playing, so it does not interrupt it? I envisage that like in my car, when the navigation system just reduces radio volume while telling me where to drive and then turns volume back to where it was and I continue listening to what I was listening before.