datech / node-red-contrib-amazon-echo

Alexa controlled Node-Red nodes supporting latest Amazon Echo devices. NO Alexa Skills required. NO cloud dependencies.
MIT License
140 stars 42 forks source link

alexa discovery not working (NOT USING Home Assistant) #186

Open hamboy75 opened 2 years ago

hamboy75 commented 2 years ago
SUMMARY

I have an alexa echo dot 4th Gen connected to my wifi, I have a linux box with 2 ips, one for my own stuff with apache (192.168.1.70 only) and one for node-red (listening on 192.168.1.71 only). node-red-contrib-amazon-echo is on port 80 on 192.168.1.71.

Running as root.

I'm NOT USING home assistant

ECHO DEVICES
MODULE VERSION
0.1.10
CONFIGURATION
[
    {
        "id": "39f31d24c7dfae5d",
        "type": "amazon-echo-hub",
        "z": "6cc8f080d76fe305",
        "port": "80",
        "processinput": "3",
        "discovery": false,
        "x": 270,
        "y": 280,
        "wires": [
            [
                "c4eaa9dc9fb1c0af"
            ]
        ]
    },
    {
        "id": "c4eaa9dc9fb1c0af",
        "type": "amazon-echo-device",
        "z": "6cc8f080d76fe305",
        "name": "Persianas Salon",
        "topic": "switch2 false",
        "x": 540,
        "y": 280,
        "wires": [
            [
                "79e0f932c3d19140"
            ]
        ]
    }
]
CONSOLE OUTPUT
30 May 14:21:07 - [info] Node-RED version: v2.2.2
30 May 14:21:07 - [info] Node.js  version: v18.0.0
30 May 14:21:07 - [info] Linux 5.15.0-33-generic x64 LE
30 May 14:21:07 - [info] Loading palette nodes
30 May 14:21:08 - [info] Dashboard version 3.1.7 started at /ui
30 May 14:21:08 - [info] Settings file  : /root/.node-red/settings.js
30 May 14:21:08 - [info] Context store  : 'default' [module=memory]
30 May 14:21:08 - [info] User directory : /root/.node-red
30 May 14:21:08 - [warn] Projects disabled : editorTheme.projects.enabled=false
30 May 14:21:08 - [info] Flows file     : /root/.node-red/flows.json
30 May 14:21:08 - [info] Server now running at http://192.168.1.71:1880/
30 May 14:21:08 - [warn]

---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------

30 May 14:21:08 - [info] Starting flows
30 May 14:21:08 - [info] Started flows
30 May 14:21:08 - [info] [tasmota-mqtt-broker:ca68e347c2565417] Connected to broker: mqtt://192.168.1.70:1883
STEPS TO REPRODUCE

Echo dot 4th gen on wifi, node-red on wired computer.

EXPECTED RESULTS

You must be able to find devices, i supposed. I tried with mobile alexa app and echo dot

ACTUAL RESULTS

Maybe it is a problem with packets between wifi and wired computer.