SphtKr / homebridge-zway

Homebridge plugin for (better) HomeKit support of RaZBerry and Z-Way Server
ISC License
85 stars 37 forks source link

Z-Way WebSocket support #25

Open SphtKr opened 8 years ago

SphtKr commented 8 years ago

For real-time updates!!!

justnorawr commented 7 years ago

What is the status of this issue? I would be interested in this feature, as well as potentially helping to develop it.

SphtKr commented 7 years ago

I am near finishing 0.5.0 and it's a banner feature for 0.6.0. No work's been done on it yet. A parallel item that I need to make an issue for is better encapsulating the logic to process devices JSON, so that we can run automated tests and compare input/output. Once that logic is a little more modular, it should be easier to hook up to the websocket. I'd welcome assistance with developing this!

SphtKr commented 7 years ago

This is disappointing. It appears the built-in WebSocket support in Z-Way Server doesn't actually publish device status changes 😕 , it only publishes things like system status messages and API errors 😖.

I did find this, which looks like it tries to do this: O7 but haven't looked into it in any depth...not too keen on requiring another piece of middleware.

Other option would be to include a JS plugin that does this as part of the distro for Homebridge-ZWay. But that may be non-trivial.

Considering closing or at least bumping to a later milestone.