-
Notifications
You must be signed in to change notification settings - Fork 18
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
base: master
Are you sure you want to change the base?
Conversation
This should make merging easier
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. |
That looks great. Thanks a lot for your work. I'll be sure to check it out as soon as more accessories are supported! |
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.