Open leoMehlig opened 6 years ago
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.