Here are a few very simple examples of what you can do. This was the first thing I did on my iphone.
I created a shortcut (in the Shortcuts App)
I called it "Start Phantoms" (don't use the word "play", as your phone will start playing music from Phantom of the opera or something !)
Add action "Get Contents of URL" with the URL
Change the method to POST
Save it
Now you can say Hey Siri Start Phantoms
Same thing for pause/stop - use the word STOP, not pause,
with the URL
Now you can say "Hey Siri Stop Phantoms"
"Hey Siri increase Phantom Volume" (need the word phantom in there or Siri will try to increase the volume of the phone)
"Hey Siri Decrease Phantom Volume"
Remember to replace the IP address with the ip address of any one of your phantoms
I created a shortcut (in the Shortcuts App)
I called it "Start Phantoms" (don't use the word "play", as your phone will start playing music from Phantom of the opera or something !)
Add action "Get Contents of URL" with the URL
Code:
http://10.0.1.227/ipcontrol/v1/groups/current/sources/current/playback/play
Change the method to POST
Save it
Now you can say Hey Siri Start Phantoms
Same thing for pause/stop - use the word STOP, not pause,
with the URL
Code:
http://10.0.1.227/ipcontrol/v1/groups/current/sources/current/playback/pause
Now you can say "Hey Siri Stop Phantoms"
"Hey Siri increase Phantom Volume" (need the word phantom in there or Siri will try to increase the volume of the phone)
Code:
http://10.0.1.227/ipcontrol/v1/systems/current/sources/current/soundControl/Up
"Hey Siri Decrease Phantom Volume"
Code:
http://10.0.1.227/ipcontrol/v1/systems/current/sources/current/soundControl/volumeDown
Remember to replace the IP address with the ip address of any one of your phantoms