Closed TheLongAndOnly closed 4 years ago
I created a flow to allow turning my Yamaha amplifier on/off through Alexa:
I'm using iptables to get around the port 80 / admin issue: *filter :INPUT ACCEPT [19503:5794156] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [16918:3841349] COMMIT *nat :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 10080 -A PREROUTING -p udp -m udp --dport 80 -j REDIRECT --to-ports 10080 COMMIT
*filter :INPUT ACCEPT [19503:5794156] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [16918:3841349] COMMIT *nat :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 10080 -A PREROUTING -p udp -m udp --dport 80 -j REDIRECT --to-ports 10080 COMMIT
node-red-contrib-amazon-echo 0.1.9
[{"id":"dc4ad69.3be90a8","type":"amazon-echo-hub","z":"85a56912.9744","port":"10080","processinput":0,"x":110,"y":160,"wires":[["56c24782.5ab5a8"]]},{"id":"56c24782.5ab5a8","type":"amazon-echo-device","z":"85a56912.9744","name":"Yamaha","topic":"","x":300,"y":160,"wires":[["bada4520.6cfb3"]]}]
(only the relevant part is pasted)
No entries in node-red-log during execution
Looks similar to #100
@TheLongAndOnly Have you checked the network interfaces and restart of Echo devices?
Troubleshooting page
SUMMARY
I created a flow to allow turning my Yamaha amplifier on/off through Alexa:
I'm using iptables to get around the port 80 / admin issue:
*filter :INPUT ACCEPT [19503:5794156] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [16918:3841349] COMMIT *nat :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 10080 -A PREROUTING -p udp -m udp --dport 80 -j REDIRECT --to-ports 10080 COMMIT
ECHO DEVICES
MODULE VERSION
CONFIGURATION
(only the relevant part is pasted)
CONSOLE OUTPUT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS