# Ring door bell flow with restore media player state

**URL:** <https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540>\
**Category:** General\
**Created:** [12 May 2021 11:35 UTC](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540 "2021-05-12T11:35:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjpriest79](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@sjpriest79](https://discourse.nodered.org/u/sjpriest79)\
**Post date:** [12 May 2021 11:35 UTC](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540/1 "2021-05-12T11:35:00Z")

</div>

Hi

Apologies if this has already been answered. I am trying to setup a flow that casts a URL to all my devices when the doorbell is pressed which is fairly simple. Here is the tricky part i want to check each media play first record/store its current state and return it back after the URL is played.

I have the URL playing but super annoying that i have to keep restarting the internet radio or spotify playlist each time the bell is run 😡

Thanks in advance  
Steve

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [12 May 2021 14:53 UTC](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540/2 "2021-05-12T14:53:39Z")

</div>

> [@sjpriest79](#):
>
> Here is the tricky part i want to check each media play first record/store its current state and return it back after the URL is played.

I admit it is not really clear what your question is.  
I also do not understand above sentence.

---

<div class="post-metadata">

**Author:** ![sjpriest79](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@sjpriest79](https://discourse.nodered.org/u/sjpriest79)\
**Post date:** [13 May 2021 08:52 UTC](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540/3 "2021-05-13T08:52:56Z")

</div>

Hi Janvda  
Thanks for the response and sorry if it doesn't make sense. Let me try and explain

I have a Google Max playing Internet radio and somebody rings the door bell my Node-red flow then casts a bell sound to the speaker and its played. However after it is played i then have to manually restart the internet radio on the Google Max.

What i would like to be able to do is check what the Google Max is doing before I cast the media store that information and then restore it say 20 seconds after I initiate the bell sound.

Hope this helps

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [13 May 2021 09:03 UTC](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540/4 "2021-05-13T09:03:47Z")

</div>

This seems to be more of a question for a google support forum than node-RED, as ability to interact in this way is restricted by google, not node-RED.

---

<div class="post-metadata">

**Author:** ![sjpriest79](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@sjpriest79](https://discourse.nodered.org/u/sjpriest79)\
**Post date:** [13 May 2021 09:14 UTC](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540/5 "2021-05-13T09:14:24Z")

</div>

Not sure how it would be a Google issue as i have cast something new to the device.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [13 May 2021 09:44 UTC](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540/6 "2021-05-13T09:44:00Z")

</div>

What command or sequence of commands would you "say" to google to get it to do what you want ? Can you say "pause playback - play bell sound - resume previous playback" ?

---

<div class="post-metadata">

**Author:** ![sjpriest79](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@sjpriest79](https://discourse.nodered.org/u/sjpriest79)\
**Post date:** [13 May 2021 14:06 UTC](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540/7 "2021-05-13T14:06:29Z")

</div>

No. I am just casting a weblink to the mp3 file i want it to play.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 July 2021 14:07 UTC](https://discourse.nodered.org/t/ring-door-bell-flow-with-restore-media-player-state/45540/8 "2021-07-12T14:07:06Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
