# Listen to alexa from nodered

**URL:** <https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840>\
**Category:** General\
**Created:** [31 October 2024 20:50 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840 "2024-10-31T20:50:53Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [31 October 2024 20:50 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/1 "2024-10-31T20:50:53Z")

</div>

Hello

I am looking at integrating some devices into Amazon Alexa. For example if device X turns on, it will communicate to Alexa.

However is there a way for Alexa to securely push this notification so that it is available in node-red, without node-red having to ping Alexa for status? There's lots of info online about node-red pushing commands to Alexa.

Just wondering if someone can point me to some further reading.

---

<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:** [1 November 2024 00:30 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/2 "2024-11-01T00:30:58Z")

</div>

Ther are some examples in this topic [Pure fun with Alexa and Alexa Skills](https://discourse.nodered.org/t/pure-fun-with-alexa-and-alexa-skills/46867) the most reliable is to set up virtual devices.

---

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [1 November 2024 00:59 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/3 "2024-11-01T00:59:28Z")

</div>

Thanks for that. I’ll take a read through the large thread. Is all of this based on having an Alexa hub though? Like an echo? I don’t have an echo, I just have a bunch of devices that can communicate with Alexa. So was wondering if they could communicate directly with Alexa cloud then I could revert those notices to nodered from cloud

---

<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:** [1 November 2024 08:01 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/4 "2024-11-01T08:01:09Z")

</div>

I think your option are limited to vitual devices , you can set up routines in alexa for those alexa enabled devices and get them to send a diming level to node-red, you could then use that dimming level to determine what the notice should be.  
e,g, dimming level 1 of virtual device 1, means notification 1 form alexa device 1.  
I have not read of any other method, but there maybe, I am just not aware of any.

---

<div class="post-metadata">

**Author:** ![Johnnybegoode](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/johnnybegoode/32/88032_2.png) [@Johnnybegoode](https://discourse.nodered.org/u/Johnnybegoode)\
**Post date:** [1 November 2024 08:17 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/5 "2024-11-01T08:17:33Z")

</div>

> [@Sirhc](#):
>
> Is all of this based on having an Alexa hub though? Like an echo?

You will be limited without a hub but you can still get notifications on the phone where you have the Alexa app.

---

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [1 November 2024 08:24 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/6 "2024-11-01T08:24:40Z")

</div>

I set this up. All is running in node-red. Ended up using the applestrudel fork ([node-red-contrib-alexa-remote2-applestrudel (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel))

I have setup a remote event node and I have my device setup in my Amazon Alexa app on my iphone. However, when I trigger the device in the Alexa app, I get nothing on the remote event node in node-red? The event node help file says "Listens to Push events. Events must be enabled for this account.". Is this the issue? Does anyone know how to enable these :\

---

<div class="post-metadata">

**Author:** ![Johnnybegoode](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/johnnybegoode/32/88032_2.png) [@Johnnybegoode](https://discourse.nodered.org/u/Johnnybegoode)\
**Post date:** [1 November 2024 10:26 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/7 "2024-11-01T10:26:31Z")

</div>

Understand your point now, which of course you had acually named in the OP. If you are using only devices paired to Alexa, haven´t really looked at it , but these devices will not push notifications. As soon as you have any devices paired to another manufacturer´s hub or system, these will notify, from Tasmota, MQTT, Sonoff, Hue , Tuya, Smartthings etc. Each has its own palette node and these can be tied in to send notifications to Alexa. This is what I have and I get announcements from the Echo nearest to me, or notifications on the phone if I´m out. Otherwise, as commented above, a partial solution would be to look into virtual devices.

---

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [1 November 2024 10:49 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/8 "2024-11-01T10:49:55Z")

</div>

I think I can get it all to work using routines and Alexa. The issue I am having now is that I cannot get node-red-contrib-alexa-remote2-applestrudel (node) to pickup on events from my iphone, where the app is installed. I also have Alexa installed on a Windows PC and I can see commands firing into Nodered. I cannot even see my iphone in the routine node device list the in NR.

---

<div class="post-metadata">

**Author:** ![Johnnybegoode](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/johnnybegoode/32/88032_2.png) [@Johnnybegoode](https://discourse.nodered.org/u/Johnnybegoode)\
**Post date:** [1 November 2024 11:11 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/9 "2024-11-01T11:11:53Z")

</div>

You don´t see this?

 ![Alexa](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/0/f0afdfb64b70e41b618aee10d9b6b2acac0ba57b.jpeg)

---

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [1 November 2024 11:35 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/10 "2024-11-01T11:35:49Z")

</div>

Yep I have it communicating with all devices now. I can also poll the device from NR and get status using the Smarthome query node. However this is limited to 5 mins which is not practical.

I'm trying to work out why when I change the device status, it is not showing up via the Event node. I have even deployed the event node to listen to every possible "command".

The only way I can get an event to fire is to say something from Alexa installed on my PC. If my IOT device changes state I get nothing. Also, if I speak into my ipad or iphone, I get nothing.

I have tried to setup a routine on the ipad Alexa app as @E1cid mentioned and tried multiple outputs upon detection of lock change, but still nothing showing up in NR

---

<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 November 2024 18:42 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/11 "2024-11-01T18:42:06Z")

</div>

Afaik, Amazon don't let phones , I'm an android user and mine acts like your iphone, act as full equivalent alexa echo devices.

---

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [1 November 2024 22:53 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/12 "2024-11-01T22:53:06Z")

</div>

That's interesting. It would still be nice to have this IoT device trigger on the listener function in the contrib.

Otherwise maybe there's a way to create a custom skill in Alexa developer and AWS lambda to communicate to NR via an API. If anyone has done that please let me know lol

---

<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:** [30 January 2025 22:53 UTC](https://discourse.nodered.org/t/listen-to-alexa-from-nodered/92840/13 "2025-01-30T22:53:38Z")

</div>

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