node-red-contrib-amazon-echo: Cannot Detect Device

SUMMARY

Using latest node-red docker image and simplest possible flow including node-red-contrib-amazon-echo, my Echo Dot Gen 2 does not detect the new device.

ECHO DEVICES

Echo Dot Gen 2

CONFIGURATION
[
    {
        "id": "b086970.b6efa68",
        "type": "tab",
        "label": "Test Amazon Echo Hub",
        "disabled": false,
        "info": ""
    },
    {
        "id": "ab63c24f.c22c3",
        "type": "amazon-echo-hub",
        "z": "b086970.b6efa68",
        "port": "8001",
        "enableinput": true,
        "x": 228.4002456665039,
        "y": 72.00000762939453,
        "wires": [
            [
                "5ed91aba.792fc4"
            ]
        ]
    },
    {
        "id": "5ed91aba.792fc4",
        "type": "amazon-echo-device",
        "z": "b086970.b6efa68",
        "name": "Test Device",
        "topic": "/cmd/test",
        "x": 507.40000915527344,
        "y": 73.00000667572021,
        "wires": [
            [
                "3c366ba2.471924"
            ]
        ]
    },
    {
        "id": "3c366ba2.471924",
        "type": "debug",
        "z": "b086970.b6efa68",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "x": 744.4002075195312,
        "y": 73.00000762939453,
        "wires": []
    }
]

CONSOLE OUTPUT
node-red2   |
node-red2   | > node-red-docker@1.0.0 start /usr/src/node-red
node-red2   | > node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data"
node-red2   |
node-red2   | 4 Oct 18:38:51 - [info]
node-red2   |
node-red2   | Welcome to Node-RED
node-red2   | ===================
node-red2   |
node-red2   | 4 Oct 18:38:51 - [info] Node-RED version: v1.0.0
node-red2   | 4 Oct 18:38:51 - [info] Node.js  version: v10.16.3
node-red2   | 4 Oct 18:38:51 - [info] Linux 4.4.132-1075-rockchip-ayufan-ga83beded8524 arm LE
node-red2   | 4 Oct 18:38:52 - [info] Loading palette nodes
node-red2   | 4 Oct 18:38:52 - [debug] Module: node-red-contrib-amazon-echo 0.1.8
node-red2   | 4 Oct 18:38:52 - [debug]         /data/node_modules/node-red-contrib-amazon-echo
node-red2   | 4 Oct 18:38:52 - [debug] Module: node-red-node-rbe 0.2.5
node-red2   | 4 Oct 18:38:52 - [debug]         /usr/src/node-red/node_modules/node-red-node-rbe
node-red2   | 4 Oct 18:38:52 - [debug] Module: node-red-node-tail 0.0.3
node-red2   | 4 Oct 18:38:52 - [debug]         /usr/src/node-red/node_modules/node-red-node-tail
node-red2   | 4 Oct 18:38:56 - [info] Settings file  : /data/settings.js
node-red2   | 4 Oct 18:38:56 - [info] Context store  : 'default' [module=memory]
node-red2   | 4 Oct 18:38:56 - [info] User directory : /data
node-red2   | 4 Oct 18:38:56 - [warn] Projects disabled : editorTheme.projects.enabled=false
node-red2   | 4 Oct 18:38:56 - [info] Flows file     : /data/flows.json
node-red2   | 4 Oct 18:38:56 - [debug] loaded flow revision: 93850d7fe56209be08a6fce2f4d91543
node-red2   | 4 Oct 18:38:56 - [debug] red/runtime/nodes/credentials.load : no user key present
node-red2   | 4 Oct 18:38:56 - [debug] red/runtime/nodes/credentials.load : using default key
node-red2   | 4 Oct 18:38:56 - [debug] red/runtime/nodes/credentials.load : keyType=system
node-red2   | 4 Oct 18:38:56 - [warn]
node-red2   |
node-red2   | ---------------------------------------------------------------------
node-red2   | Your flow credentials file is encrypted using a system-generated key.
node-red2   |
node-red2   | If the system-generated key is lost for any reason, your credentials
node-red2   | file will not be recoverable, you will have to delete it and re-enter
node-red2   | your credentials.
node-red2   |
node-red2   | You should set your own key using the 'credentialSecret' option in
node-red2   | your settings file. Node-RED will then re-encrypt your credentials
node-red2   | file using your chosen key the next time you deploy a change.
node-red2   | ---------------------------------------------------------------------
node-red2   |
node-red2   | 4 Oct 18:38:56 - [info] Starting flows
node-red2   | 4 Oct 18:38:56 - [debug] red/nodes/flows.start : starting flow : global
node-red2   | 4 Oct 18:38:56 - [debug] red/nodes/flows.start : starting flow : b086970.b6efa68
node-red2   | 4 Oct 18:38:56 - [info] Started flows
node-red2   | 4 Oct 18:38:56 - [info] Server now running at http://127.0.0.1:1880/

##### STEPS TO REPRODUCE
Docker container started using the following docker-compose.yml:

version: '3.7'
services:
  node-red:
    container_name: node-red2

    image: nodered/node-red

    user: root

    volumes:
      - /docker/node-red2/config:/data

    network_mode: host

    restart: unless-stopped

##### ACTUAL RESULTS

Node-Red gui shows Amazon Echo Hub as being "online" but no new devices detected when I initiate a scan either from the Alexa app or the Dot.

What am I doing wrong here?

Thanks

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Comments: 23 (3 by maintainers)

Most upvoted comments

Can someone who has figured this make a walkthrough showing how they did it. Everyone is talking way over my head. I have no idea where these commands are coming from or going to.