# Keeping up with Alexa :)

**URL:** <https://discourse.nodered.org/t/keeping-up-with-alexa/24085>\
**Category:** Share Your Projects\
**Created:** [2 April 2020 10:20 UTC](https://discourse.nodered.org/t/keeping-up-with-alexa/24085 "2020-04-02T10:20:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [2 April 2020 10:20 UTC](https://discourse.nodered.org/t/keeping-up-with-alexa/24085/1 "2020-04-02T10:20:22Z")

</div>

One thing (out of many!) that I'd like Alexa to do, is when I set an 8 minute timer on the kitchen echo dot to grill my breakfast bacon, that it sends the alarm out to my other dots (but particularly the one in my cave) so I can hear it wherever I'm at.

Having discovered that node-red-contrib-alexa-remote2 can listen in on requests made to Alexa, I've written a flow to check for requests with timer in them and then parse the message to extract the time asked for.

I then set a delay node to this time and send my own message to all the other echos in house

At this point, you start to realise, how much work Alexa does to interpret the myriad of ways that we humans make the same type of request 🙂

"Alexa, set timer for 10 minutes"  
"Alexa, set a timer for 10 minutes"  
"Alexa, set 10 minute timer"  
etc etc etc ...

I think I've managed to do this but "time" will tell 🙂

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/0/60338aee1b059d30bff53e13d1a480ecba4fe4d7.jpeg)

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [2 April 2020 10:42 UTC](https://discourse.nodered.org/t/keeping-up-with-alexa/24085/2 "2020-04-02T10:42:10Z")

</div>

Hi @cymplecy Have you looked at payload.domainAttributes

```auto
{"deviceType":"A3S5BH2HU6VAYF","durationHours":0,"recurringPattern":null,"durationSeconds":0,"notificationType":"TIMER","triggerTime":1585824373409,"deviceId":"G090LF1182850C6D","notificationLabel":null,"durationMinutes":10,"provider":null,"timezoneId":"Europe/London","notificationId":"63ebe405-54aa-3ba3-abcc-6f7643958205","musicEntity":null,"status":"ON"}

```

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [2 April 2020 10:47 UTC](https://discourse.nodered.org/t/keeping-up-with-alexa/24085/3 "2020-04-02T10:47:28Z")

</div>

#LOL 🙂

Well -it kept me occupied for a couple of hours .... 🙂

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [2 April 2020 12:47 UTC](https://discourse.nodered.org/t/keeping-up-with-alexa/24085/4 "2020-04-02T12:47:24Z")

</div>

Modified it to use domainAttributes 🙂

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [1 June 2020 10:25 UTC](https://discourse.nodered.org/t/keeping-up-with-alexa/24085/5 "2020-06-01T10:25:39Z")

</div>

Closed on 1 June 2020 10:25 UTC

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