originallyus / node-red-contrib-alexa-local

An easy-to-use NodeRED node for adding Alexa capability to NodeRED. NO Alexa Skills required.
106 stars 25 forks source link

Do thus supports the Alexa App? #91

Open ghost opened 5 years ago

ghost commented 5 years ago

Hello, i have installed this in my node-red. i only use the Alexa App for testing some things, but i can not find "devices". Do this work with the App? If no, can you write it down to "Not Supported"? Thank you

Barabba11 commented 5 years ago

I suggest you to use this instead: https://github.com/datech/node-red-contrib-amazon-echo and don't forget for Echo 3rd gen communicate only on port 80(!!), and to open ports below 1024 you need root rights, but Node Red should be executed in user mode (not root!), so you need to map the port from 8000 (for example, as you like) to 80 by this:

I think I soved it, I typed the following commands: first I checked it the port is in use already: sudo iptables -L -n (it was empty, so ok I proceeded) I added a listening port: sudo iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8000 save the table and have them automatically after reboot: sudo apt-get install iptables-persistent. Works, thanks :) tomorrow I report if Alexa can find module )

torinnguyen commented 5 years ago

very elegant workaround! please report whether it's working.

On Sun, 17 Feb 2019 at 00:15, Barabba11 notifications@github.com wrote:

I suggest you to use this instead: https://github.com/datech/node-red-contrib-amazon-echo and don't forget for Echo 3rd gen communicate only on port 80(!!), and to open ports below 1024 you need root rights, but Node Red should be executed in user mode (not root!), so you need to map the port from 8000 (for example, as you like) to 80 by this:

I think I soved it, I typed the following commands: first I checked it the port is in use already: sudo iptables -L -n (it was empty, so ok I proceeded) I added a listening port: sudo iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8000 save the table and have them automatically after reboot: sudo apt-get install iptables-persistent. Works, thanks :) tomorrow I report if Alexa can find module )

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/originallyus/node-red-contrib-alexa-local/issues/91#issuecomment-464364084, or mute the thread https://github.com/notifications/unsubscribe-auth/AAu1WGgETF5i2hA3Nmjrq-ePgpWZBl4vks5vODy-gaJpZM4a-1qG .

-- http://originally.us

Barabba11 commented 5 years ago

Sure it works, I've more than 40 devices connected to Echo Plus

alexschwantes commented 5 years ago

I was in the same situation and tried node-red-contrib-amazon-echo but it doesn't seem to work if you only have the alexa app (ie. no Amazon Echo), which is what it sounds @necotec was trying to do.