jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.83k stars 462 forks source link

Trying to set input on Speakers #720

Open JDogg016 opened 4 years ago

JDogg016 commented 4 years ago

Perhaps I am inputting the command incorrectly:

XXX.XXX.XXX.XXX:5005/Kitchen%20TV/setavtransporturi/x-sonos-htastream:RINCON%20949F3E22585201400:spdif

I would like this command to change the input back to my TV input.

{Error}

I don’t know why.

I also tried:

xxx.xxx.xxx.xxx:5005/Kitchen%20Overhead/setavtransporturi/x-sonos-htastream:RINCON_949F3E22585201400:spdif/Kitchen%20Overhead/play

Same result.

Any assistance would be excellent.

r4lv commented 4 years ago

Are you sure about the %20 (space) in the x-sonos-htastream ID? I have an underscore in the transport uri. Maybe you could try

XXX.XXX.XXX.XXX:5005/Kitchen%20TV/setavtransporturi/x-sonos-htastream:RINCON_949F3E22585201400:spdif