Posted June 22, 201510 yr On one button of a Keypad on a Patio that I am trying to simply select Sonos as the source and also select PLAYon press.I can get that to work no problem via On pressSelect Sonos as Source in Front PatioSend Command "Play" to Front Patio On the next press (since Sonos is now playing) I want it to Stop..cant figure that out This button is for IF guests come over and want a simple button to start some music, with ZERO interactivity beyond that...Weird but customers request...
June 22, 201510 yr In device actions, click on the room, you have all the commands available such as 'stop'. If you can 'stop' using the remote then this command will work. Can you tell me more on this request 'ZERO interactivity beyond that'? Do you only want a certain type of music and then turn off the house/other rooms? Matt
June 22, 201510 yr Author After my Play command I can just add also a stop command? No ifs in between?The home owner simply wants a button that a guest would hit and start Sonos which would also start playing the last sourcewhich is a radio station..thats it, except they can adjust volume with up/down buttons...one the second press, it runs off this one room.Its the only room they can do that in via a keypad..
June 22, 201510 yr Change your programming to...If room is on >Turn off room >StopSelect sonosPlay sonosThis will first check if the room is on, if it is it will turn it off. If it's not on it'll start sonos.
June 22, 201510 yr Author Change your programming to...If room is on>Turn off room>StopSelect sonosPlay sonosThis will first check if the room is on, if it is it will turn it off. If it's not on it'll start sonos.This did not work... I had to start the music by hitting Play from a touchscreen to get it to play...then one keypad button it stopped it..but would not start again..
June 22, 201510 yr Yes, since you're only selecting 'sonos' as a source. You need to be more specific on what selection inside sonos you want selected. Matt
June 22, 201510 yr Make sure the room off and stop commands are nested in the if statement. The stop command is a programming stop command not a sonos stop.
June 22, 201510 yr Author Make sure the room off and stop commands are nested in the if statement.The stop command is a programming stop command not a sonos stop.Yes sorry my STOP was a programming STOP, but wasnt nested. I got it now, and thanks all for your help.
Archived
This topic is now archived and is closed to further replies.