Play Musaic audio when Weather Underground detects rain
This Action will replace the Musaic players queue with the audio from the given URL and start playback. The URL can be for a local music server or internet radio stream.
Developer info
- API endpoint slug
- musaic.play_audio_from_url
- Filter code method
- Musaic.playAudioFromUrl.skip(string?: reason)
- Runtime method
- runAction("musaic.play_audio_from_url", {})
Action fields
Room player Dropdown list
- Label
- Which room?
- Helper text
- The room (i.e. Musaic player) where the audio will play.
- Slug
- room_player
- Required
- true
- Can have default value
- false
Audio url Text input > Other
- Label
- Which audio stream?
- Helper text
- A static URL path that points to the audio stream that should be played.
- Slug
- audio_url
- Required
- true
- Can have default value
- true
- Filter code method
- Musaic.playAudioFromUrl.setAudioUrl(string: audio_url)
Audio name Text input > Other
- Label
- The audio streams name
- Helper text
- The name to display when playing the audio URL.
- Slug
- audio_name
- Required
- false
- Can have default value
- true
- Filter code method
- Musaic.playAudioFromUrl.setAudioName(string: audio_name)
Player volume Dropdown list
- Label
- What volume level?
- Helper text
- Optional volume setting to use, if not set the player uses its present volume.
- Slug
- player_volume
- Required
- false
- Can have default value
- true
- Filter code method
- Musaic.playAudioFromUrl.setPlayerVolume(string: player_volume)