# Plex flow and alexa announcement

**URL:** <https://community.homey.app/t/plex-flow-and-alexa-announcement/151647>\
**Category:** Flows\
**Tags:** flow, homey-shs\
**Created:** [February 24, 2026, 7:17pm UTC](https://community.homey.app/t/plex-flow-and-alexa-announcement/151647 "2026-02-24T19:17:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Welshsmarthome](https://avatars.discourse-cdn.com/v4/letter/w/df705f/32.png) [@Welshsmarthome](https://community.homey.app/u/Welshsmarthome)\
**Post date:** [February 24, 2026, 7:17pm UTC](https://community.homey.app/t/plex-flow-and-alexa-announcement/151647/1 "2026-02-24T19:17:57Z")

</div>

Hello all.  
I have the Plex app all set up and running, managed to find the player ID and ive got flows to work depending on which device i watch a film on.

In one room my flow dims certain lights and Alexa announces “enjoy your movie”

However, if i press pause and then play again. The flow re-triggers.  
Thinking about it, id expect that behaviour and Homey is doing what its supposed to. But i dont want the flow to trigger each time. Just the first time.  
Is that possible?

Likewise if I close plex or stop playback, i want rhe lights to come back on.

Thanks in advance

 ![IMG_8358](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/0383ebaf12777f2f000de947b3edb58a30aafa3f.jpeg)

---

<div class="post-metadata">

**Author:** ![Welshsmarthome](https://avatars.discourse-cdn.com/v4/letter/w/df705f/32.png) [@Welshsmarthome](https://community.homey.app/u/Welshsmarthome)\
**Post date:** [February 24, 2026, 7:19pm UTC](https://community.homey.app/t/plex-flow-and-alexa-announcement/151647/2 "2026-02-24T19:19:34Z")

</div>

I did try using a Yes/No variable but it didnt work, or i did it wrong

---

<div class="post-metadata">

**Author:** ![Anoniemand](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anoniemand/32/120697_2.png) [@Anoniemand](https://community.homey.app/u/Anoniemand)\
**Post date:** [February 24, 2026, 8:37pm UTC](https://community.homey.app/t/plex-flow-and-alexa-announcement/151647/3 "2026-02-24T20:37:46Z")

</div>

I think a yes/no variable could help. Like streamstarted, default value"no".

When a player started streaming and streamstarted equals “no” you can use the rest of the cards in your screenshot and add an action to also set streamstarted to “yes”.

Another flow would be when a player stopped streaming. You can set the variable back to “no” and set the lights how you’d like it.

---

<div class="post-metadata">

**Author:** ![staeff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/staeff/32/79712_2.png) [@staeff](https://community.homey.app/u/staeff)\
**Post date:** [February 25, 2026, 5:04pm UTC](https://community.homey.app/t/plex-flow-and-alexa-announcement/151647/4 "2026-02-25T17:04:55Z")

</div>

A player started streaming will give you a “Media” tag containing the name of whatever you are playing. You can store this in a variable and then compare to only run the rest of the flow if the media name is different from the one in the variable. Alternatively you can store the last time this flow was run in a variable and check if it was already ran today (or in the last x hours or something).
