Skip to main content
Trending Lyricist I
July 8, 2012

HTTP Post Command Reference for Tasker

I'm new to Sonos, but would like to setup some Tasker tasks in Android to automate playing my favourite radio station, launching playlists, etc.

Is there a reference for http POST commands that I could work from? Could someone point me in the right direction?

My aim is to use Tasker with NFC tags to activate theses common tasks without the need to go into the app.
    This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

    27 replies

    Lyricist III
    November 11, 2015
    http://pastebin.com/CbnHmVs2
    Lyricist III
    November 11, 2015
    I just executed the command and it didn't do anything on my sonos. my other commands like play, pause and queue are all working.
    Headliner II
    November 11, 2015
    If that is the exact XML you are sending, then you have a typo. It's called <setAVTransportURI>, not <uetAVTransportURI>
    Lyricist III
    November 11, 2015
    Yes that was the exact xml. I've changed that now but I still get nothing. I just tried the following, this is everything I've used:
    http://pastebin.com/QWgCqCg0
    Headliner II
    November 11, 2015
    Well, you can't just play a YouTube url either. It needs to be a direct link to a well known file format, like an mp3.
    Lyricist III
    November 11, 2015
    I replaces youtube URL with an MP3 on my computer still didn't work. But it worked with my queue command. Not sure why it's not working?
    Lyricist I
    July 1, 2019
    Hello,

    I am triying to create the HTTP commands for a Sonos connect device in order to control it with an Elan system. I would like to know what are the requirements and the procedure. I am new in this .
    (Sorry for my english).

    Diego