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

Alexa discovery updates #87

Closed
wants to merge 7 commits into from
Closed

Conversation

Quanghoster
Copy link
Contributor

I@ve just synchronised my fork and noticed that the Alexa discovery was still not working in the main repository. I've included the necessary changes to correct this, namely a new function that formats the returned json to alexa on discovery and corrected the case of one of the SSDP attributes, as observed on the network

Trying to update my fork
Added AddSingleLightJson method which corrects a json structure issue when the amazon echo tries to discover what lights are present.
Adjusted case of "urn:schemas-upnp-org:device:basic:1" references as to what has been observed on the network
@dtila
Copy link
Contributor

dtila commented Oct 20, 2017

Hi @Quanghoster . This pull request overrides mine #85

If you revert your changes and merge from master, you will be able to see the hue by Alexa. I can say that since I had an Alexa meanwhile

@Quanghoster
Copy link
Contributor Author

Quanghoster commented Oct 20, 2017 via email

@dtila
Copy link
Contributor

dtila commented Oct 20, 2017

You can see 6c63513#diff-e15aea686d057abe4787cdfd553060f8R1040 . Along with your suggestions, I added support for dimmable light.

Have a look at the link, and make a comparison please.

@Quanghoster
Copy link
Contributor Author

Ok, I must have completed the fork sync incorrectly. I'm managed to get it in sync and it now works without modification. Thanks 👍

@probonopd
Copy link
Owner

So how should we proceed with this PR?

@Quanghoster
Copy link
Contributor Author

Quanghoster commented Oct 21, 2017 via email

@Quanghoster
Copy link
Contributor Author

Quanghoster commented Oct 21, 2017 via email

@probonopd
Copy link
Owner

Closing this PR as suggested by @Quanghoster. Please open a new one. Thanks.

@probonopd probonopd closed this Oct 21, 2017
@Quanghoster
Copy link
Contributor Author

Quanghoster commented Oct 21, 2017 via email

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

Successfully merging this pull request may close these issues.

3 participants