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

Wrong ip in msg-object #71

Closed ChrisStain87 closed 5 years ago

ChrisStain87 commented 5 years ago

Hey!

I have two echo devices, 10.64.110.107 and 108. I've startet testing with device 107. The Msg output is:

{"on":true,"from":"::ffff:10.64.110.107","on_off_command":true,"payload":"on","change_direction":0,"bri":63,"bri_normalized":0.63,"device_name":"Licht","light_id":"5ed54b0bff69c4","port":42053,"_msgid":"b857fdd9.faa7b"}

which is fine. When i try to to the same with the 108 device i get the exact same result.

Any idea? I think the from: part should be different, or am i wrong?

Best regards

wongnam commented 5 years ago

As I know, Amazon Alexa assign only 1 Echo to send the command message to devices. i have 3 echo at home have the same situation.

torinnguyen commented 5 years ago

It is not wrong. The "from:" address is always the first Echo device that discovers this node. It is not the Echo device that you are speaking to. This is just how Alexa system works. They always issue command from the Echo device that discover the node.