# Alexa Remote2 event nodes not working (again)

**URL:** <https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266>\
**Category:** General\
**Created:** [3 August 2023 00:50 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266 "2023-08-03T00:50:35Z")\
**Posts on this page:** 14\
**Page:** 2

<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:** [5 August 2023 10:30 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/22 "2023-08-05T10:30:22Z")

</div>

Ignore my previous comment - my line 172 with applestrudel installed also already says connectType1() on line 172

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/a/6a85297858488682b9db410bf9285fefb70b2fc8.png)

I had a PEBKAC moment when first posted!

---

<div class="post-metadata">

**Author:** ![stephenn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stephenn/32/66644_2.png) [@stephenn](https://discourse.nodered.org/u/stephenn)\
**Post date:** [5 August 2023 10:59 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/23 "2023-08-05T10:59:24Z")

</div>

My alexa-wsmqtt.js file already says this.connectType1() on line 172. However, it says this.connectType2() on line 174. Should both be this.connectType1()?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/6/c6308c5cc6856626c85e92b8bdbdcbc365039636.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:** [5 August 2023 12:56 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/24 "2023-08-05T12:56:17Z")

</div>

OK I made sure both applestrudel and fork nodes were uninstalled - I then re-installed applestrudel - edited the file - changed line 174 to read this.connectType1() - restarted NR and everything seems to work

By everything I mean

My On device Activity node outputs when I speak to Alexa

My Routine Custom node can be used to make a device speak

and my Routine Text Command node lets me send text to a device as if I'd spoken to it

---

<div class="post-metadata">

**Author:** ![stephenn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stephenn/32/66644_2.png) [@stephenn](https://discourse.nodered.org/u/stephenn)\
**Post date:** [5 August 2023 13:12 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/25 "2023-08-05T13:12:22Z")

</div>

THAT WORKS!!!! Thank you. My room-aware commands are working again!

---

<div class="post-metadata">

**Author:** ![chx0003](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chx0003/32/81732_2.png) [@chx0003](https://discourse.nodered.org/u/chx0003)\
**Post date:** [5 August 2023 14:15 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/26 "2023-08-05T14:15:48Z")

</div>

Well, don't be so picky, line 172 and line 174 are in the same neighbourhood... 😄  
I've edited my first post to the right line number. Thanks

---

<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:** [6 August 2023 23:43 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/27 "2023-08-06T23:43:34Z")

</div>

> [@chx0003](#):
>
> You can use **node-red-contrib-alexa-remote2-applestrudel** instead of **alexa-remote-fork** , only changing a bit of text in the file _alexa-remote2/alexa-wsmqtt.js_ line 174, change `this.connectType2()` to `this.connectType1()` then restart NodeRed and "On Device Activity" and even "Routine Text Command" should work again.

This should be incorporated into a new release soon.

---

<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:** [11 August 2023 23:31 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/28 "2023-08-11T23:31:14Z")

</div>

New version released

> **[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:** ![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 August 2023 10:03 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/29 "2023-08-12T10:03:17Z")

</div>

New version of applestrudel seems to work fine for me  
i.e.

My On device Activity node outputs when I speak to Alexa

My Routine Custom node can be used to make a device speak

and my Routine Text Command node lets me send text to a device as if I'd spoken to it

---

<div class="post-metadata">

**Author:** ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Post date:** [12 August 2023 20:46 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/30 "2023-08-12T20:46:47Z")

</div>

@einfach112 this could be the solution for your question regarding Alexa!?

---

<div class="post-metadata">

**Author:** ![chx0003](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chx0003/32/81732_2.png) [@chx0003](https://discourse.nodered.org/u/chx0003)\
**Post date:** [12 August 2023 21:56 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/31 "2023-08-12T21:56:32Z")

</div>

> [@Sean-McG](#):
>
> `npm install node-red-contrib-alexa-remote-fork`

I'm sorry to report that at least for me this is once again not working... ☹

---

<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:** [12 August 2023 23:41 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/32 "2023-08-12T23:41:08Z")

</div>

I see you posted on the node-red-contrib-alexa-remote2-applestrudel issue. Are you still using node-red-contrib-alexa-remote-fork ?

If so I would suggest swapping back to node-red-contrib-alexa-remote2-applestrudel

```auto
$ cd .node-red/
$ npm remove node-red-contrib-alexa-remote-fork
$ npm install node-red-contrib-alexa-remote2-applestrudel

```

I just double checked and it still works OK for me, so I doubt it's a problem with the node.

---

<div class="post-metadata">

**Author:** ![chx0003](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chx0003/32/81732_2.png) [@chx0003](https://discourse.nodered.org/u/chx0003)\
**Post date:** [13 August 2023 00:38 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/33 "2023-08-13T00:38:44Z")

</div>

No, I'm using node-red-contrib-alexa-remote2-applestrudel v5.0.34 with connection type 1 (also tried with type 2).  
Did you restart NodeRed to see if the node is still working?

---

<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:** [13 August 2023 07:51 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/34 "2023-08-13T07:51:41Z")

</div>

Just to check, I've restarted NR again and after initialisation, applestrudel v5.0.34 is definitely working for me

---

<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:** [27 August 2023 07:52 UTC](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266/35 "2023-08-27T07:52:29Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/alexa-remote2-event-nodes-not-working-again/80266.md?page=1)
