# No more incoming events from alexa-remote2-applestrudel

**URL:** https://discourse.nodered.org/t/no-more-incoming-events-from-alexa-remote2-applestrudel/55511
**Category:** General
**Created:** [21 December 2021 07:41 UTC](https://discourse.nodered.org/t/no-more-incoming-events-from-alexa-remote2-applestrudel/55511 "2021-12-21T07:41:25Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Sylvan](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Sylvan](https://discourse.nodered.org/u/Sylvan)
#### Post date: [21 December 2021 07:41 UTC](https://discourse.nodered.org/t/no-more-incoming-events-from-alexa-remote2-applestrudel/55511/1 "2021-12-21T07:41:25Z")

</div>

I use node-red-contrib-alexa-remote2-applestrudel to implement the connection to Amazon Alexa.  
For a long time, this worked absolutely well.  
However, for about 2 months now, I no longer receive any incoming events.  
All commands sent to amazon work without any problems but e.g. event nodes on device activity or audio player state change etc. no longer forward any messages.

The following test flow illustrates my configuration:

```auto
[
	{
		"id": "556bdc4055c7659f",
		"type": "tab",
		"label": "Alexa Debug",
		"disabled": false,
		"info": "",
		"env": []
	},
	{
		"id": "ac3585474895531f",
		"type": "group",
		"z": "556bdc4055c7659f",
		"name": "initialize",
		"style": {
			"label": true,
			"fill": "#bfdbef"
		},
		"nodes": [
			"66a6c12ac7c7ccd9",
			"11c94597e2326ace",
			"4ef80c2f49ba8f2e",
			"5d9b23edbb2c7b4a",
			"507ed84e4fdac268",
			"a0986e5ac3193d6f",
			"21a40f2ed7883344",
			"dedc44e8d9fdd190",
			"8e72cda5689463a5",
			"2225aae1db80c58d",
			"dea6ac7d9bbd2210"
		],
		"x": 14,
		"y": 19,
		"w": 392,
		"h": 282
	},
	{
		"id": "f230f74dc8de4ab5",
		"type": "group",
		"z": "556bdc4055c7659f",
		"name": "event handling",
		"style": {
			"fill": "#e3f3d3",
			"label": true
		},
		"nodes": [
			"d7258d153d25fb00",
			"3e2f3aac229920db",
			"32e6073940c13931",
			"e2789df8ca57aa2d",
			"6dd484c1a293ea21",
			"728bbf485e82e1d1",
			"02eb376ec106cd79",
			"43c2399ce37f711a",
			"7542fa47d306926b",
			"e64a0c6a08e66907",
			"fef0be751541962e"
		],
		"x": 454,
		"y": 19,
		"w": 552,
		"h": 282
	},
	{
		"id": "6f492b5d9dffce76",
		"type": "group",
		"z": "556bdc4055c7659f",
		"name": "send commands",
		"style": {
			"fill": "#ffefbf",
			"label": true
		},
		"nodes": [
			"008e65163888bc32",
			"8eaf3b6fae000dd7",
			"11e41dec4f744981",
			"d25453ba74ecd5a7",
			"cdded19ab01c71ad",
			"ca4351265bbefdf9",
			"1f371fc0242f078c",
			"2091099bc582a429",
			"a86cf844b14e8e81",
			"09bc0aed66cfb871"
		],
		"x": 14,
		"y": 319,
		"w": 332,
		"h": 282
	},
	{
		"id": "66a6c12ac7c7ccd9",
		"type": "inject",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "",
		"props": [
			{
				"p": "payload"
			},
			{
				"p": "topic",
				"vt": "str"
			}
		],
		"repeat": "",
		"crontab": "00 04 * * *",
		"once": false,
		"onceDelay": 0.1,
		"topic": "",
		"payload": "true",
		"payloadType": "bool",
		"x": 110,
		"y": 100,
		"wires": [
			[
				"11c94597e2326ace"
			]
		]
	},
	{
		"id": "11c94597e2326ace",
		"type": "alexa-remote-init",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "",
		"account": "8d3bc8f2.927af8",
		"option": "initialise",
		"x": 240,
		"y": 100,
		"wires": [
			[]
		]
	},
	{
		"id": "4ef80c2f49ba8f2e",
		"type": "inject",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "",
		"props": [
			{
				"p": "payload"
			},
			{
				"p": "topic",
				"vt": "str"
			}
		],
		"repeat": "",
		"crontab": "00 04 * * *",
		"once": false,
		"onceDelay": 0.1,
		"topic": "",
		"payload": "true",
		"payloadType": "bool",
		"x": 110,
		"y": 140,
		"wires": [
			[
				"5d9b23edbb2c7b4a"
			]
		]
	},
	{
		"id": "5d9b23edbb2c7b4a",
		"type": "alexa-remote-init",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "",
		"account": "8d3bc8f2.927af8",
		"option": "fresh",
		"x": 280,
		"y": 140,
		"wires": [
			[]
		]
	},
	{
		"id": "507ed84e4fdac268",
		"type": "alexa-remote-init",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "",
		"account": "8d3bc8f2.927af8",
		"option": "refresh",
		"x": 260,
		"y": 180,
		"wires": [
			[]
		]
	},
	{
		"id": "a0986e5ac3193d6f",
		"type": "inject",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "",
		"props": [
			{
				"p": "payload"
			},
			{
				"p": "topic",
				"vt": "str"
			}
		],
		"repeat": "",
		"crontab": "00 04 * * *",
		"once": false,
		"onceDelay": 0.1,
		"topic": "",
		"payload": "true",
		"payloadType": "bool",
		"x": 110,
		"y": 180,
		"wires": [
			[
				"507ed84e4fdac268"
			]
		]
	},
	{
		"id": "21a40f2ed7883344",
		"type": "inject",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "",
		"props": [
			{
				"p": "payload"
			},
			{
				"p": "topic",
				"vt": "str"
			}
		],
		"repeat": "",
		"crontab": "00 04 * * *",
		"once": false,
		"onceDelay": 0.1,
		"topic": "",
		"payload": "true",
		"payloadType": "bool",
		"x": 110,
		"y": 220,
		"wires": [
			[
				"dedc44e8d9fdd190"
			]
		]
	},
	{
		"id": "dedc44e8d9fdd190",
		"type": "alexa-remote-init",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "",
		"account": "8d3bc8f2.927af8",
		"option": "reset",
		"x": 230,
		"y": 220,
		"wires": [
			[]
		]
	},
	{
		"id": "8e72cda5689463a5",
		"type": "alexa-remote-init",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "",
		"account": "8d3bc8f2.927af8",
		"option": "update",
		"x": 280,
		"y": 260,
		"wires": [
			[]
		]
	},
	{
		"id": "2225aae1db80c58d",
		"type": "inject",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "",
		"props": [
			{
				"p": "payload"
			},
			{
				"p": "topic",
				"vt": "str"
			}
		],
		"repeat": "",
		"crontab": "00 04 * * *",
		"once": false,
		"onceDelay": 0.1,
		"topic": "",
		"payload": "true",
		"payloadType": "bool",
		"x": 110,
		"y": 260,
		"wires": [
			[
				"8e72cda5689463a5"
			]
		]
	},
	{
		"id": "d7258d153d25fb00",
		"type": "alexa-remote-event",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "",
		"account": "8d3bc8f2.927af8",
		"event": "ws-audio-player-state-change",
		"x": 610,
		"y": 220,
		"wires": [
			[
				"7542fa47d306926b"
			]
		]
	},
	{
		"id": "3e2f3aac229920db",
		"type": "alexa-remote-event",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "",
		"account": "8d3bc8f2.927af8",
		"event": "ws-device-activity",
		"x": 650,
		"y": 140,
		"wires": [
			[
				"6dd484c1a293ea21"
			]
		]
	},
	{
		"id": "32e6073940c13931",
		"type": "alexa-remote-event",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "",
		"account": "8d3bc8f2.927af8",
		"event": "ws-unknown-command",
		"x": 640,
		"y": 100,
		"wires": [
			[
				"e2789df8ca57aa2d"
			]
		]
	},
	{
		"id": "e2789df8ca57aa2d",
		"type": "debug",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "unknown command",
		"active": true,
		"tosidebar": true,
		"console": false,
		"tostatus": false,
		"complete": "payload",
		"targetType": "msg",
		"statusVal": "",
		"statusType": "auto",
		"x": 850,
		"y": 100,
		"wires": []
	},
	{
		"id": "6dd484c1a293ea21",
		"type": "debug",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "device activity",
		"active": true,
		"tosidebar": true,
		"console": false,
		"tostatus": false,
		"complete": "payload",
		"targetType": "msg",
		"statusVal": "",
		"statusType": "auto",
		"x": 840,
		"y": 140,
		"wires": []
	},
	{
		"id": "728bbf485e82e1d1",
		"type": "alexa-remote-event",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "",
		"account": "8d3bc8f2.927af8",
		"event": "ws-unknown-message",
		"x": 640,
		"y": 180,
		"wires": [
			[
				"02eb376ec106cd79"
			]
		]
	},
	{
		"id": "02eb376ec106cd79",
		"type": "debug",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "unknown message",
		"active": true,
		"tosidebar": true,
		"console": false,
		"tostatus": false,
		"complete": "payload",
		"targetType": "msg",
		"statusVal": "",
		"statusType": "auto",
		"x": 850,
		"y": 180,
		"wires": []
	},
	{
		"id": "43c2399ce37f711a",
		"type": "alexa-remote-event",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "Volume Changed Event",
		"account": "8d3bc8f2.927af8",
		"event": "ws-volume-change",
		"x": 640,
		"y": 260,
		"wires": [
			[
				"e64a0c6a08e66907"
			]
		]
	},
	{
		"id": "7542fa47d306926b",
		"type": "debug",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "player state changed",
		"active": true,
		"tosidebar": true,
		"console": false,
		"tostatus": false,
		"complete": "payload",
		"targetType": "msg",
		"statusVal": "",
		"statusType": "auto",
		"x": 860,
		"y": 220,
		"wires": []
	},
	{
		"id": "e64a0c6a08e66907",
		"type": "debug",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "volume changed",
		"active": true,
		"tosidebar": true,
		"console": false,
		"tostatus": false,
		"complete": "payload",
		"targetType": "msg",
		"statusVal": "",
		"statusType": "auto",
		"x": 840,
		"y": 260,
		"wires": []
	},
	{
		"id": "008e65163888bc32",
		"type": "alexa-remote-echo",
		"z": "556bdc4055c7659f",
		"g": "6f492b5d9dffce76",
		"name": "",
		"account": "8d3bc8f2.927af8",
		"config": {
			"option": "command",
			"value": {
				"device": {
					"type": "str",
					"value": "G2A1A60303840492"
				},
				"what": "volume",
				"value": {
					"type": "msg",
					"value": "payload"
				}
			}
		},
		"x": 250,
		"y": 420,
		"wires": [
			[]
		]
	},
	{
		"id": "8eaf3b6fae000dd7",
		"type": "alexa-remote-routine",
		"z": "556bdc4055c7659f",
		"g": "6f492b5d9dffce76",
		"name": "speak",
		"account": "8d3bc8f2.927af8",
		"routineNode": {
			"type": "speak",
			"payload": {
				"type": "regular",
				"text": {
					"type": "str",
					"value": "this is a test"
				},
				"devices": [
					"G2A1A60303840492"
				]
			}
		},
		"x": 230,
		"y": 520,
		"wires": [
			[]
		]
	},
	{
		"id": "11e41dec4f744981",
		"type": "alexa-remote-routine",
		"z": "556bdc4055c7659f",
		"g": "6f492b5d9dffce76",
		"name": "do things",
		"account": "8d3bc8f2.927af8",
		"routineNode": {
			"type": "textCommand",
			"payload": {
				"text": {
					"type": "str",
					"value": "sing"
				},
				"devices": [
					"G2A1A60303840492"
				]
			}
		},
		"x": 240,
		"y": 560,
		"wires": [
			[]
		]
	},
	{
		"id": "d25453ba74ecd5a7",
		"type": "alexa-remote-routine",
		"z": "556bdc4055c7659f",
		"g": "6f492b5d9dffce76",
		"name": "play music",
		"account": "8d3bc8f2.927af8",
		"routineNode": {
			"type": "music",
			"payload": {
				"device": {
					"type": "str",
					"value": "G2A1A60303840492"
				},
				"provider": {
					"type": "str",
					"value": "AMAZON_MUSIC"
				},
				"search": {
					"type": "str",
					"value": "under pressure"
				},
				"duration": {
					"type": "num",
					"value": ""
				}
			}
		},
		"x": 250,
		"y": 480,
		"wires": [
			[]
		]
	},
	{
		"id": "cdded19ab01c71ad",
		"type": "inject",
		"z": "556bdc4055c7659f",
		"g": "6f492b5d9dffce76",
		"name": "",
		"props": [
			{
				"p": "payload"
			}
		],
		"repeat": "",
		"crontab": "00 04 * * *",
		"once": false,
		"onceDelay": 0.1,
		"topic": "",
		"payload": "35",
		"payloadType": "num",
		"x": 110,
		"y": 440,
		"wires": [
			[
				"008e65163888bc32"
			]
		]
	},
	{
		"id": "ca4351265bbefdf9",
		"type": "inject",
		"z": "556bdc4055c7659f",
		"g": "6f492b5d9dffce76",
		"name": "",
		"props": [
			{
				"p": "payload"
			}
		],
		"repeat": "",
		"crontab": "00 04 * * *",
		"once": false,
		"onceDelay": 0.1,
		"topic": "",
		"payload": "true",
		"payloadType": "bool",
		"x": 110,
		"y": 480,
		"wires": [
			[
				"d25453ba74ecd5a7"
			]
		]
	},
	{
		"id": "1f371fc0242f078c",
		"type": "inject",
		"z": "556bdc4055c7659f",
		"g": "6f492b5d9dffce76",
		"name": "",
		"props": [
			{
				"p": "payload"
			},
			{
				"p": "topic",
				"vt": "str"
			}
		],
		"repeat": "",
		"crontab": "00 04 * * *",
		"once": false,
		"onceDelay": 0.1,
		"topic": "",
		"payload": "true",
		"payloadType": "bool",
		"x": 110,
		"y": 520,
		"wires": [
			[
				"8eaf3b6fae000dd7"
			]
		]
	},
	{
		"id": "2091099bc582a429",
		"type": "inject",
		"z": "556bdc4055c7659f",
		"g": "6f492b5d9dffce76",
		"name": "",
		"props": [
			{
				"p": "payload"
			},
			{
				"p": "topic",
				"vt": "str"
			}
		],
		"repeat": "",
		"crontab": "00 04 * * *",
		"once": false,
		"onceDelay": 0.1,
		"topic": "",
		"payload": "true",
		"payloadType": "bool",
		"x": 110,
		"y": 560,
		"wires": [
			[
				"11e41dec4f744981"
			]
		]
	},
	{
		"id": "a86cf844b14e8e81",
		"type": "inject",
		"z": "556bdc4055c7659f",
		"g": "6f492b5d9dffce76",
		"name": "",
		"props": [
			{
				"p": "payload"
			}
		],
		"repeat": "",
		"crontab": "00 04 * * *",
		"once": false,
		"onceDelay": 0.1,
		"topic": "",
		"payload": "25",
		"payloadType": "num",
		"x": 110,
		"y": 400,
		"wires": [
			[
				"008e65163888bc32"
			]
		]
	},
	{
		"id": "fef0be751541962e",
		"type": "comment",
		"z": "556bdc4055c7659f",
		"g": "f230f74dc8de4ab5",
		"name": "no response from these nodes",
		"info": "no response from these nodes",
		"x": 760,
		"y": 60,
		"wires": []
	},
	{
		"id": "09bc0aed66cfb871",
		"type": "comment",
		"z": "556bdc4055c7659f",
		"g": "6f492b5d9dffce76",
		"name": "works as expected",
		"info": "",
		"x": 170,
		"y": 360,
		"wires": []
	},
	{
		"id": "dea6ac7d9bbd2210",
		"type": "comment",
		"z": "556bdc4055c7659f",
		"g": "ac3585474895531f",
		"name": "all done several times",
		"info": "",
		"x": 180,
		"y": 60,
		"wires": []
	},
	{
		"id": "8d3bc8f2.927af8",
		"type": "alexa-remote-account",
		"name": "my alexa account",
		"authMethod": "proxy",
		"proxyOwnIp": "192.168.0.9",
		"proxyPort": "3456",
		"cookieFile": "/data/node_red_applestrudel_connection.txt",
		"refreshInterval": "1",
		"alexaServiceHost": "layla.amazon.de",
		"amazonPage": "amazon.de",
		"acceptLanguage": "de-DE",
		"onKeywordInLanguage": "auf",
		"userAgent": "",
		"useWsMqtt": "on",
		"autoInit": "on"
	}
]

```

I have [\>already created a track\<](https://github.com/bbindreiter/node-red-contrib-alexa-remote2-applestrudel/issues/35) on the Github page.  
However, it may not be a bug on the node side but a configuration problem on my end. Therefore, I am putting this up for discussion here once again.

---

<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: [21 December 2021 07:52 UTC](https://discourse.nodered.org/t/no-more-incoming-events-from-alexa-remote2-applestrudel/55511/2 "2021-12-21T07:52:37Z")

</div>

Which version are you using?  
5.0.7 is the latest version.  
There was an issue with these nodes at the start of October 2021 after Amazon did some changes.

> [@Alexa-remote-event \<\<\< not working](https://discourse.nodered.org/t/alexa-remote-event-not-working/52035):
>
> I've been using alexa-remote-event from node-red-contrib-alexa-remote-fork to listen to responses from Alexa. It's been working fine for months but today it just seems to ignore the verbal responses. Has anyone else encountered this?? [Screen Shot 06-27-21 at 01.10 PM] Would it be worth swapping over to alexa-remote2-applestrudel as that seems a more recent release??

---

<div class="post-metadata">

### Author: ![Sylvan](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Sylvan](https://discourse.nodered.org/u/Sylvan)
#### Post date: [21 December 2021 08:17 UTC](https://discourse.nodered.org/t/no-more-incoming-events-from-alexa-remote2-applestrudel/55511/3 "2021-12-21T08:17:36Z")

</div>

Yes, that's right of course - I forgot to give that information.  
I am of course on 5.0.7 and have always been checking for a new version for the last 2 months.  
But so far only I seem to have the problems.

---

<div class="post-metadata">

### Author: ![mrSidX](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrsidx/32/18935_2.png) [@mrSidX](https://discourse.nodered.org/u/mrSidX)
#### Post date: [14 January 2022 06:52 UTC](https://discourse.nodered.org/t/no-more-incoming-events-from-alexa-remote2-applestrudel/55511/4 "2022-01-14T06:52:39Z")

</div>

> [@dynamicdave](#):
>
> 5.0.7

Any progress on this topic?

I am able to setup the `node-red-alexa-remote2-applestrudel` in NR, and I get it to work when I navigate to the `localhost:3456` to authenticate with the Amazon login page, essentially with the proxy method and cookie method. However, I cannot get this to be persistent, after deployment, I have to reauthenticate, or re-login. This is a pain when power outages may occur, and I am sure this cookie would expire sometime.

Alexa use to play so nice way back in the day.

---

<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: [15 January 2022 08:09 UTC](https://discourse.nodered.org/t/no-more-incoming-events-from-alexa-remote2-applestrudel/55511/5 "2022-01-15T08:09:11Z")

</div>

If it's any help here's a screen-shot of the settings I'm using. Note: I'm using the IP address of my RPi.

 ![Screen Shot 01-15-22 at 08.04 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/b/6b8ea6baf6ed411f109e4711f9f38a5000cc8e3f.gif)

---

<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: [15 January 2022 08:26 UTC](https://discourse.nodered.org/t/no-more-incoming-events-from-alexa-remote2-applestrudel/55511/6 "2022-01-15T08:26:31Z")

</div>

Try this

> [@Alexa-remote2 On HA, on a Pi4 what do I enter for the File Path](https://discourse.nodered.org/t/alexa-remote2-on-ha-on-a-pi4-what-do-i-enter-for-the-file-path/54583/2):
>
> I used to just have cookie.txt, this would save in the home folder, as it is taken a relative path. You couild also use the absolute path from root. I do not set a file path any longer, or auto init and use the init node and save the resulting cookie to a flow context and load the cookie from flow context cookie in the inject. e.g. [{"id":"e63c03b3.745b48","type":"inject","z":"d629013b.18a518","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"86400","crontab":"","once":t…

---

<div class="post-metadata">

### Author: ![jmorris644](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jmorris644/32/31964_2.png) [@jmorris644](https://discourse.nodered.org/u/jmorris644)
#### Post date: [15 January 2022 19:35 UTC](https://discourse.nodered.org/t/no-more-incoming-events-from-alexa-remote2-applestrudel/55511/7 "2022-01-15T19:35:05Z")

</div>

I had the same issue when i was accidentally giving a directory name for the File Path. Once I gave it an actual filename it worked great.

---

<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: [16 March 2022 19:35 UTC](https://discourse.nodered.org/t/no-more-incoming-events-from-alexa-remote2-applestrudel/55511/8 "2022-03-16T19:35:06Z")

</div>

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