Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating 2 Devices under Same "Friendly Name" #11

Closed
UberSlackr opened this issue Nov 28, 2017 · 6 comments
Closed

Creating 2 Devices under Same "Friendly Name" #11

UberSlackr opened this issue Nov 28, 2017 · 6 comments

Comments

@UberSlackr
Copy link

UberSlackr commented Nov 28, 2017

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.

@dhleong
Copy link
Owner

dhleong commented Nov 28, 2017

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.

@UberSlackr
Copy link
Author

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

@dhleong
Copy link
Owner

dhleong commented Nov 28, 2017 via email

@dhleong dhleong closed this as completed Nov 29, 2017
@UberSlackr
Copy link
Author

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

@dhleong
Copy link
Owner

dhleong commented Nov 29, 2017

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.

@dhleong
Copy link
Owner

dhleong commented Nov 29, 2017

You might be looking for this: https://github.com/biddster/node-red-contrib-wemo-emulator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants