dhleong/wemore

Creating 2 Devices under Same "Friendly Name"

Closed this issue · 6 comments

When Alexa is asked to "discover devices" she finds 2 new devices.. I currently only have 1 WeMor node setup, but Alexa is finding 2. They both appear under the same "Friendly Name." One is showing in Alexa as a "Wemo Plug" the other shows as "Wemo Switch."

I've tried deleting the node, and removing the devices from Alexa. Then adding a new wemore node. Same result. 2 Discovered devices, 1 friendly name, one Switch, the other Plug.

What do you mean "wemore node"? Do you have any code to show what you're doing? If you're referring to the device emulation API, Wemore should just advertise whatever friendly name you specify.

Yes the WeMo Emulator node in Node-Red.

What code would you like? Its a Node in a Node-Red flow.

[
    {
        "id": "bf47c683.556d18",
        "type": "wemo-emulator",
        "z": "954f11bb.0fa6f",
        "name": "WeMo Test",
        "friendlyName": "Wemo Test",
        "serial": "node-red-wemo1",
        "port": "2001",
        "onTopic": "msg",
        "onPayload": "on",
        "offTopic": "msg",
        "offPayload": "off",
        "x": 330,
        "y": 252,
        "wires": [
            []
        ]
    }
]

And in the Amazon Alexa app, under "Smart Home" it shows device "Wemo Test" (WeMo Switch) "WeMo Test" (WeMo Plug)

image

Node-Red dev didn't make the node. And this git is linked in the description of the node info.

I don't doubt it depends on this project, but as I didn't develop the node, there's nothing I can do to fix it. I don't use Node-Red or anything related to it for my home automation; I use this project directly, and don't have any problems like the one you've described, so it must be a problem with the implementation of the node you're using.