hardillb / node-red-alexa-home-skill-web

Apache License 2.0
45 stars 28 forks source link

Connection #71

Closed MiguelESP89 closed 5 years ago

MiguelESP89 commented 5 years ago

Hey, I included this Skill in my NodeRed System but the device is not connected. Which ports used the skill?

Thank you Miguel

hardillb commented 5 years ago

The node connects out to the service, you shouldn't need to open any ports.

Please describe in a lot more detail exactly what you are seeing.

MiguelESP89 commented 5 years ago

I created device on the homepage. Then i created a flow in nodered with the device from the site. I discoverd devices in Alexa and the device were found. But the flow in nodered didnt react if I ask alexa to turn the device on. bildschirmfoto 2018-12-17 um 13 53 15

hardillb commented 5 years ago

What platform and what version of nodejs are you running on?

hardillb commented 5 years ago

The node should show a "connected"status message under the node. It will fail to connect the first time on port 8883, then little later try again in port 1883 and succeeded.

The fact that it's not implies that there is a bigger problem, which is most likely because you are running a too old version of nodejs

Also look at the Node-RED logs as the error message there will confirm this

MiguelESP89 commented 5 years ago

I'm using a Raspberry Pi (OS: Stretch) The nodejs version ist v8.12.0

hardillb commented 5 years ago

I still need the logs from Node-RED to see what error messages it is putting out

hardillb commented 5 years ago

I can't help unless you supply the logs. I can re-open the issue if you have them