# Alexa 'On Device Activity' not working

**URL:** <https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901>\
**Category:** General\
**Created:** [30 August 2023 08:33 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901 "2023-08-30T08:33:53Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![s1nbad](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/s1nbad/32/74345_2.png) [@s1nbad](https://discourse.nodered.org/u/s1nbad)\
**Post date:** [31 August 2023 05:07 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/21 "2023-08-31T05:07:09Z")

</div>

Same here - Thailand

---

<div class="post-metadata">

**Author:** ![franz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/franz/32/71949_2.png) [@franz](https://discourse.nodered.org/u/franz)\
**Post date:** [31 August 2023 10:55 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/22 "2023-08-31T10:55:55Z")

</div>

same problem from italy, for a few days now, no longer receiving voice commands. Thank you for reporting the anomaly I didn't understand if the problem was on my node-red.

---

<div class="post-metadata">

**Author:** ![fishman](https://avatars.discourse-cdn.com/v4/letter/f/839c29/32.png) [@fishman](https://discourse.nodered.org/u/fishman)\
**Post date:** [5 September 2023 17:41 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/24 "2023-09-05T17:41:52Z")

</div>

Same problem with me, listener not reacting but speech fine. Glad i saw this as I have already spent a few hours faulting

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [5 September 2023 18:42 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/25 "2023-09-05T18:42:18Z")

</div>

We just need to hope someone comes up with a solution/fix.

---

<div class="post-metadata">

**Author:** ![sicampbell82](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sicampbell82/32/82616_2.png) [@sicampbell82](https://discourse.nodered.org/u/sicampbell82)\
**Post date:** [5 September 2023 22:09 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/26 "2023-09-05T22:09:52Z")

</div>

Just found this after looking for a few days and trying reported fix's with no success.  
following for new updates.

---

<div class="post-metadata">

**Author:** ![franz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/franz/32/71949_2.png) [@franz](https://discourse.nodered.org/u/franz)\
**Post date:** [8 September 2023 10:35 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/27 "2023-09-08T10:35:16Z")

</div>

in the logs I found that it redirects the service to a new domain, does this seem normal to you ?`Authentication checked: true 8 Sep 12:19:29 - [debug] [alexa-remote-account:opt] Alexa-Remote: Sending Request with {"host":"alexa.amazon.it","path":"/api/endpoints","method":"GET","timeout":10000,"headers":{}} 8 Sep 12:19:29 - [debug] [alexa-remote-account:opt] Alexa-Remote: Response: {"alexaApiUrl":"https://api.eu.amazonalexa.com","awsRegion":"eu-west-1","retailDomain":"amazon.it","retailUrl":"https://www.amazon.it","skillsStoreUrl":"https://skills-store-eu.amazon.it","websiteApiUrl":"https://eu-api-alexa.amazon.it","websiteUrl":"https://alexa.amazon.it"} 8 Sep 12:19:29 - [debug] [alexa-remote-account:opt] Alexa-Remote: Change Base URL for API calls to eu-api-alexa.amazon.it 8 Sep 12:19:29 - [debug] [alexa-remote-account:opt] Alexa-Remote: Initialize WS-MQTT Push Connection`  
I am trying with wireshark to capture alexa-remote traffic but cannot decode the TLS data

---

<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:** [8 September 2023 18:25 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/28 "2023-09-08T18:25:24Z")

</div>

I think a fix is coming but not quite here yet.

Patience people 🙂

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [8 September 2023 22:34 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/29 "2023-09-08T22:34:52Z")

</div>

Seems to be fixed now with new version -

> **[node-red-contrib-alexa-remote2-applestrudel](https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel)**
>
> node-red nodes for interacting with alexa

---

<div class="post-metadata">

**Author:** ![sicampbell82](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sicampbell82/32/82616_2.png) [@sicampbell82](https://discourse.nodered.org/u/sicampbell82)\
**Post date:** [8 September 2023 23:04 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/30 "2023-09-08T23:04:04Z")

</div>

I can confirm this

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [8 September 2023 23:05 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/31 "2023-09-08T23:05:26Z")

</div>

Better still audio player state change is now working again, so my music player flow is back in action 😃

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [9 September 2023 08:07 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/32 "2023-09-09T08:07:36Z")

</div>

I can confirm that v5.0.40 works for me.  
Glad to report... 'onDeviceActivity' is working again.  
HUGE thanks to whoever fixed the issue. 👏 👏 👏

**Note** :  
I found on my system, I needed node v16 or greater for this update to install.  
(I'm actually using v18.16.0)

---

<div class="post-metadata">

**Author:** ![franz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/franz/32/71949_2.png) [@franz](https://discourse.nodered.org/u/franz)\
**Post date:** [9 September 2023 08:17 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/33 "2023-09-09T08:17:20Z")

</div>

now works again ,

- In the Alexa account node you have to activate Events because by default it is switched off.

- There must have been some problem with the type of events as the selection box has disappeared in the new version.

---

<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:** [9 September 2023 08:55 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/34 "2023-09-09T08:55:41Z")

</div>

Unfortunately for me, V5.0.40 is not showing in my palette

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/4/e4fb54ce817363d7a2ee0a20a9d2dc606bbb0ea8.png)

I tried it last night and it wasn't there but after all of you saying you've got it - I'm suprised I can't see it

Did you install via palette or command line?

And yes- I've tried switching off/on and clearing cache 🙂

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [9 September 2023 09:03 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/35 "2023-09-09T09:03:26Z")

</div>

I went to 'Manage palette' and clicked the Install button then entered "alexa" as the node name.  
Then scrolled down and selected version 5.0.40

 ![alexa_install](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/d/4d12478b0c87766f0b63eb3fd9312eecd30b7010.png)

---

<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:** [9 September 2023 09:06 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/36 "2023-09-09T09:06:48Z")

</div>

Same on install screen

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/d/4d3a849ce127b11f5cf2d8edd623f74b83c1e450.png)

Must be a local issue then - I'll just have to type it out on the command line!

This is NOT what I pay the big bucks for 🙂

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [9 September 2023 09:08 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/37 "2023-09-09T09:08:14Z")

</div>

Have you tried just entering 'alexa' **(without the quotes)** in the search box?  
It should bring-up all the alexa nodes including v 5.0.40

---

<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:** [9 September 2023 09:12 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/38 "2023-09-09T09:12:43Z")

</div>

🙂  
I could see the node - it just wasn't the right version 🙂

All OK once I used npm install from command line

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/5/05a346e40de154e3b6ca44ed91586c65e77591c8.png)

---

<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:** [10 September 2023 09:30 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/39 "2023-09-10T09:30:24Z")

</div>

I'm noticing some unreliability - I seem to be having to re-initialise often to keep things working

Haven't managed to come up a repeatable sequence of events - all a bit random at the moment

I'm on v5.0.41

Update - redoing cookie seems to have sorted it

> <https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues/142#issuecomment-1712802791>
>
> https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/1

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [12 September 2023 06:13 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/40 "2023-09-12T06:13:23Z")

</div>

I've just update my version of Node-RED (running on a RPi-4B) and noticed that the issue with 'On Device Activity' not firing has returned. Can I ask what settings people as using - this is my old/current setting.

 ![applestrudel](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/f/af74f4118a0c99af8882225262abfb46f2d62e7d.png)

---

<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:** [12 September 2023 06:22 UTC](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901/41 "2023-09-12T06:22:49Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/d/8d61020b1139460556737c4e593a4c63227130cf.png)

Did you try deleting your cookie and re-authorising?

[Previous page](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901.md?page=1)

[Next page](https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901.md?page=3)
