Where do I put an mp3 to play via webcore (using Sonos)


#1

1) Give a description of the problem
(PUT YOUR INFO HERE)

2) What is the expected behaviour?
(PUT YOUR INFO HERE)

3) What is happening/not happening?
(PUT YOUR INFO HERE)

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

Anywhere your speaker can access.


#3

I have sonos speakers around the house.
How do I tell webcore to play on sonos and which speakers?


#4

I’ll step aside and let one of our Sonos gurus step in…


#5

I have sonos all around the house.
Do you mean where should you HOST the mp3 files??


#6

Yes where do I host the mp3 files for webcore to find them and what’s the resultant url? Right now all my music is in the cloud on Google play music for example.


#7

OK so my music is in Google play and sonos plays it all fine.
Inside webcore how do i refer to the track and tell sonos to play it?


#8

Play track is what you need…
But where ever you are hosting, you need an mp3 URL…

Here is an example:


#9

I’m sorry still don’t get it.
Sonos plays all my music just fine including tracks from Google play music. But all within sonos space.
Is there a webcore address space in the ide? I’m using the core pistons app in smarthings classic.


#10

Sorry man I’m not getting what you are asking???
Can you tell me what it is you want to do with webcore and mp3s maybe I can be more helpful…


#11

OK I have an mp3 of a dog barking.
I have sonos around my house.
I have door and window sensors.
When the door sensor accelerometer goes off ie someone is knocking or pushing my door, have the sonos play the dog barking mp3.
Then when the sensor stops detection movements. Wait one minute and stop the audio.
That’s what I want to do.


#12

ok great
thank you for the explanation, I get it now (little slow these days:)))))
There are few different ways to do that…
1 - Find your mp3 file from the internet. But you will need an mp3 extention.
www.somewebsite.com/dogsounds/bark.mp3 (i just made it up)
Once you get this URL you can use this in your piston with PLAY TRACK
IF motion gets activated
With
Sonos speaker
Play track “example url above”

With this method, if somehow website changes anything with that mp3 file you will not hear a dog barking.
I actually just found one for you
http://soundbible.com/mp3/labrador-barking-daniel_simon. mp3 (delete the space between simon. and mp3)
(no affiliation or anything just did a google search and got the link from page resources)
atleast you can try and play with it…

2 - You can upload your mp3 file to one of the services like spotify ( I believe it’s possible but I haven’t done this)

3 - You can just get a free webhosting.
Create an account, upload your mp3 file and you have your own URL link.

4 - You can host your file in your computer. You just need to spend some time that’s all.

In my opinion the easiest way is having your own hosting space.