Node-red and echo

I'm following this https://github.com/datech/node-red-contrib-amazon-echo.
Node-red is running as docker container in ubuntu as root.
Added echo hub node, added echo device node and link it to echo hub node, set a name.
then ask "Alexa, discover devices", but my echo dot can't find anything. did I miss some setting? where should I check for issue/error?

Thanks!

presumably you have set up the docker container networking correctly to allow discovery to happen ?

I'm not sure, :sweat_smile: could you please point me to some document or guide for that?

Google is your friend.

This helped me Amazon Echo Hub
and here https://github.com/datech/node-red-contrib-amazon-echo/issues

1 Like

Really are you sure? a google search my help, but they defiantly are not your friend. LOL

1 Like

feeling dumb still not able to make it work. here is what I have done.

  • run node-red docker in ubuntu under root on port 1880: sudo docker run -itd -u root -p 1880:1880 xxxxx

  • run below to do port forwarding:
    sudo apt-get install iptables-persistent
    sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
    sudo iptables -t nat -A PREROUTING -p udp --dport 80 -j REDIRECT --to-port 8080
    sudo iptables -t nat -L
    sudo sh -c "iptables-save > /etc/iptables.rules"

  • added echo hub and then connected to echo devices. echo hub node shows "connected"

[{"id":"97e2fead.1b45a","type":"amazon-echo-hub","z":"845016a6.b38828","port":"80","processinput":0,"x":140,"y":380,"wires":[["ab1d4c0d.51ee4"]]},{"id":"ab1d4c0d.51ee4","type":"amazon-echo-device","z":"845016a6.b38828","name":"office light","topic":"","x":350,"y":380,"wires":[["82637e37.5cf1d"]]},{"id":"82637e37.5cf1d","type":"debug","z":"845016a6.b38828","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":520,"y":380,"wires":[]}]

  • asked "Alexa, discover devices" but didn't find anyone.

thank you!

Did you ever get to the bottom of this? Currently also stuck with the same thing..