-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
[bug] Do not start ZJS Server before the driver ready
event
#602
Comments
An alternative could be that we update I have a draft PR to update |
Let me fix this :) |
Thanks! |
@zwavejs/server 1.0.0-beta.7 will now raise if the driver is not ready when the server starts. |
Version
Build/Run method
zwavejs2mqtt version: 1.1.1
zwavejs version: 6.4.0
Describe the bug
Z-Wave JS 2 MQTT will start the Z-Wave JS Server before the Driver object has emitted the
driver ready
event. This is causing bad information to be sent by Z-Wave JS Server. This is not supported.Related bugs:
home-assistant/core#46180 (comment)
home-assistant/core#46279
home-assistant-libs/zwave-js-server-python#102
Bugs are closed because we now handle it from a Python side correctly if we receive bad data. Better would be if we didn't had the error to begin with.
CC @MartinHjelmare
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The WS server should not come up until the driver is ready to serve data.
The text was updated successfully, but these errors were encountered: