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

Support for openHAB 2.2 #47

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

leoMehlig
Copy link

This PR adds support for openHAB 2.2 by replacing the WebSocket listener with repeated polling over the REST API.
It also fixes the parsing of the sitemap to work with new responses.
Note:
philklei basically did all the work. I (for now) just removed the Rollershutter changes from his fork and changes the status code check to check for 200.

@tommasomarchionni
Copy link
Owner

tommasomarchionni commented Dec 30, 2017

Thank you for your pull request but i have just released new repository to support openHAB2 coded in Typescript covered by unit test and with the new plugin structure. I also added support for SSE over the REST API instead of polling. For now it supports only switch but in the next days i add more types. This is the link.

@leoMehlig
Copy link
Author

That looks great. Thanks a lot for your work. I'll be sure to check it out as soon as more accessories are supported!

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.

4 participants