# Use Sonos app to play a file from cifs/nfs share

**URL:** <https://community.homey.app/t/use-sonos-app-to-play-a-file-from-cifs-nfs-share/48896>\
**Category:** Questions & Help\
**Tags:** sonos\
**Created:** [June 28, 2021, 6:50pm UTC](https://community.homey.app/t/use-sonos-app-to-play-a-file-from-cifs-nfs-share/48896 "2021-06-28T18:50:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikael\_Bohlin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mikael_bohlin/32/33852_2.png) [@Mikael\_Bohlin](https://community.homey.app/u/Mikael_Bohlin)\
**Post date:** [June 28, 2021, 6:50pm UTC](https://community.homey.app/t/use-sonos-app-to-play-a-file-from-cifs-nfs-share/48896/1 "2021-06-28T18:50:32Z")

</div>

I tried to find this in the forum and Google but no luck, so here goes.

In my Vera Edge I’ve been able to play any file from my NAS storage using my Sonos system. The format of the URL in this case was “x-file-cifs://192.168.1.123/Media/Klockspel\_klockan\_sju.wav”

Can I do something like that in Homey, by using Play URL in the Sonos app?  
If so, what is the format of the URL when using a local NAS storage?

This has been a great feature over the years, having messages for the kids in the morning reminding them about the bus. I even played the weather forecast in Sonos using Google TTS with the forecast in text from Wunderground.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 29, 2021, 4:20am UTC](https://community.homey.app/t/use-sonos-app-to-play-a-file-from-cifs-nfs-share/48896/2 "2021-06-29T04:20:27Z")

</div>

> [@Mikael\_Bohlin](#):
>
> Can I do something like that in Homey, by using Play URL in the Sonos app?

Try `cifs://192.168.1.123/Media/Klockspel_klockan_sju.wav` (or `nfs://192.168.1.123/Media/Klockspel_klockan_sju.wav`). No idea if it’s going to work, but `x-file-cifs` seems something specific to Vera.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [June 29, 2021, 12:55pm UTC](https://community.homey.app/t/use-sonos-app-to-play-a-file-from-cifs-nfs-share/48896/3 "2021-06-29T12:55:17Z")

</div>

On the old Sonos system, I use:  
Play URL  
[http://192.168.2.22:5080/doorbell.mp3](http://192.168.2.22:5080/doorbell.mp3)

---

<div class="post-metadata">

**Author:** ![Mikael\_Bohlin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mikael_bohlin/32/33852_2.png) [@Mikael\_Bohlin](https://community.homey.app/u/Mikael_Bohlin)\
**Post date:** [June 29, 2021, 6:02pm UTC](https://community.homey.app/t/use-sonos-app-to-play-a-file-from-cifs-nfs-share/48896/4 "2021-06-29T18:02:37Z")

</div>

Tried that, but anything else than http:// causes error “stream url unsupported flow”.

---

<div class="post-metadata">

**Author:** ![Mikael\_Bohlin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mikael_bohlin/32/33852_2.png) [@Mikael\_Bohlin](https://community.homey.app/u/Mikael_Bohlin)\
**Post date:** [June 29, 2021, 6:03pm UTC](https://community.homey.app/t/use-sonos-app-to-play-a-file-from-cifs-nfs-share/48896/5 "2021-06-29T18:03:22Z")

</div>

So in this example the IP 192.168.2.22:5080 is your NAS or where the doorbell.mp3 is located?

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [June 29, 2021, 11:08pm UTC](https://community.homey.app/t/use-sonos-app-to-play-a-file-from-cifs-nfs-share/48896/6 "2021-06-29T23:08:00Z")

</div>

Actualy it is the address of the MiniWebserver app on my Homey

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 30, 2021, 6:39am UTC](https://community.homey.app/t/use-sonos-app-to-play-a-file-from-cifs-nfs-share/48896/7 "2021-06-30T06:39:51Z")

</div>

Sounds like a limitation of the Sonos app. But it does point to a solution: make your files available over HTTP.

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [June 30, 2021, 7:17am UTC](https://community.homey.app/t/use-sonos-app-to-play-a-file-from-cifs-nfs-share/48896/8 "2021-06-30T07:17:43Z")

</div>

Like in a public folder.
