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:
[
{
"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< 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.