Hi,
I am trying to control Volumio with Siri, using the new Shortcuts App. My approach is, to use the RestAPI to play/stop Volumio.
So I created a shortcut, where I use this URL
volumio.local/api/v1/commands/?cmd=toggle
and then open the URL in Safari.
That works very well. The only problem is, that every time I run the shortcut, a Safari tab will be opened. Are there any possibilities to trigger the URL without opening the Safari tab?
thanks!
EDIT: Okay I found the solution:
instead of opening the URL in Safari I changed this step to get content from url and used the GET method
Here is a screenshot of the steps needed to play a playlist in Volumio.
It assumes that there is a playlist named “BBC1” which contains the radio stream. Of course it works with normal playlists containing multiple tracks as well.
I also built a Siri shortcut that asks for your volumio host url and the name of your desired playlist. It’s possible to assign a voice command to it as well (in the settings of the shortcut), e.g. „Hey Siri, play BBC Radio 1“. You can download it here: https://www.icloud.com/shortcuts/1e74975c0a574bd7a4a1555395337b06