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

Smartthings detection #15

Open
vietquocnguyen opened this issue Feb 12, 2018 · 4 comments
Open

Smartthings detection #15

vietquocnguyen opened this issue Feb 12, 2018 · 4 comments
Labels

Comments

@vietquocnguyen
Copy link

Alexa detected the emulated device just fine. Do you know why Smartthing's isn't picking it up?

@dhleong
Copy link
Owner

dhleong commented Feb 13, 2018

Smartthings probably talks directly to the WeMo servers, where Alexa actually scans the local network. Did you have to link an account for Smartthings?

@vietquocnguyen
Copy link
Author

When you click on add device in smartthings, it just spins searching for a device. And if you explicitly say you want to pair a specific wemo device, it still spins. Not prompting for a wemo login. I think it looks for specific wemo devices.

@dhleong
Copy link
Owner

dhleong commented Feb 13, 2018

Interesting. In that case I couldn't say why it's not working, since I don't have Smartthings myself. Any chance you'd be willing to do some investigation? #14 suggests that the UDN field should be an actual UUID prefixed by the string uuid:. If you feel comfortable changing this line in lib/emulate.js:

https://github.com/dhleong/wemore/blob/master/lib/emulate.js#L178

to maybe:

                  , UDN: 'uuid:416ac246-e7ac-49ff-93b4-f7e94d997e6b' // Echo uses this to identify

and let me know if that fixes Smartthings' detection, that'd be very helpful.

@dhleong
Copy link
Owner

dhleong commented Mar 5, 2018

Hello @vietquocnguyen, I've just released version 0.6.0 which addresses my theory above. I don't know if it'll help Smartthings, but if you could try updating to this new version and giving it a shot, I'd love to know whether it helped at all.

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

No branches or pull requests

2 participants