kanke
2 January 2020 18:32
1
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 ?
kanke
2 January 2020 19:20
3
I'm not sure, could you please point me to some document or guide for that?
E1cid
2 January 2020 20:47
5
1 Like
E1cid
2 January 2020 20:50
6
dceejay:
Google is your friend.
Really are you sure? a google search my help, but they defiantly are not your friend. LOL
1 Like
kanke
3 January 2020 17:56
7
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..