Hello. I’m totally pilling my hair out over here - I’m using the new Smartthings app, with the new Sonos device handlers (web socket).
I had a text to speak door bell working perfectly until I did this update, and I understand that the new device handler for Sonos soeant support TTS, so I’ve switched to having the doorbell play a mp3 instead.
thanks for the reply - yes I can do it from the new app automation creator, BUT…
I have a webcore piston that triggers the TTS or mp3 when motion is detected at the front door, and then using a local variable, it won’t trigger again for 3 minutes (so say the postman doesn’t trigger it when he leaves, only when he arrives) It works really well to prevent annoying false alarms.
Do I have alternatives to webcore, or is it a sonos device handler issue? I’ve just started looking at sharptools. Hopefully I can fix it.
So my question still remains, what URL do I type in the play track box to play an mp3 from drop box?
That will actually access the file. dropbox.com?dl=1 isn’t going to go anywhere.
A good rule of thumb is, if you can type the URL into your browser and it either brings up a media play window or it downloads the file WITHOUT doing anything else, it will work. If you have to hit a download button or anything else, it isn’t going to work. Github “raw” files work really well too for short clips and a github account is fee.
Ah yes - I have the correct url - the screen shot I sent was done manually on my phone as I couldn’t screen grab the piston via the app (it only showed you half the url). I’ve stripped it down to absolute basics, and it just won’t play the mp3! The sonos app says reports the track playing as ‘smart things audio notification’ but no sound.
If I set sonos to play, say, a radio station, then pause it - then have the piston simply ‘play’ the sonos, it works fine and resumes the radio station…
OK - I’ve tried loads of variation - including using the built in automation tool in the new smart things app. It works. Everything is fine…
BUT - when I try and play a track from dropbox, or a website url, it simply won’t play. If I set the volume at a certain level I can see in my sonos app that the volume changes, but I’m always greeted with ‘Unable to play smart things notification, the audio is not encoded correctly’
Any help gratefully received…I know this should be so simple, and it used to work perfectly, for door bells and other audio notification I had triggered using webcore. Now its all gone to sh!t!
I haven’t been so lucky and can’t get it to work. I’ve created a file in github, which I believe is accessible, but I cant’t get the play track to do any thing. Can someone step me through the GitHub steps to get the proper url to use ? When right click on my rooster file and select copy link it gives me this:
that doesn’t work, neither does this:
I’m relatively new to GitHub and Webcore, and I appreciate the help.
The URL you are using is incorrect. You have to have the RAW file url. So, in Github, click on “Raw File”. That will open a new window. Copy the URL there. If the word “raw” is not in the url it won’t work.