[SOLVED] Where to get media id for announce action

I’m trying create an automation that will play a chime sound on the voice pe. I’ve got the chime sound uploaded to “My Media”, and when I set the Voice PE as the destination within the Media tab and click on the item for the uploaded sound, I hear it play out of the Voice PE. So all that works.

However, within the automation, when I select the “Voice Satellite Announce” action, it asks for a “Media ID (The media ID to announce instead of using text-to-speech.)” Where do I get this Media ID from? It’s not listed with the uploaded file under the Media section, which is where I would expect to find it.

Use the visual automation editor and make an automation that contains the “play media” action, use the media picker in the automation to find the audio file you want, then switch to YAML mode and copy the content id (and content type).

1 Like

Aha! That did it. Thanks! And I only needed the media_content_id. The “Announce” automation action doesn’t need/use the “type” for whatever reason. Furthermore, if I only want to play it on one device, the media player action works just as well as the “announce” action.