Working on communicating with a Sonos player through the Maker API. I have most of it working but I'm having a problem sending 2 commands
- playText
- playTrack
Can someone provide me with an example of each of these commands?
Also, I noticed that when playing with the device page for the Sonos player that if I have something playing and use the playText tile to send it a string to "speak" that the sonos player says the text and then goes back to playing what was previously playing. However, if I do the same thing with the playTectAndRestore tile it says the text but doesn't go back to playing the previously selected music. Given the names of these 2 commands I would expect them to work the opposite way. Thoughts?
Thanks in advance for the help