-
Notifications
You must be signed in to change notification settings - Fork 0
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
After hard resetting a controller, the integration page lists "no devices or entities" #3
Comments
We call this when we get the hard reset request before we initiate the hard reset: https://github.com/zwave-js/zwave-js-server/blob/master/src/lib/server.ts#L595C1-L625. I am unclear why this issue is happening, when we close the websocket server in Either that |
Related to zwave-js/zwave-js-server#1216 |
What's the status? We've changed things around this in the server during August I believe. What's left to do? |
After the recent server change, HA no longer notices when the controller is hard reset. Also prior to that change, the flow was very awkward. Considering it gets executed about 200-300 times during certification by hand, we should make sure it is smooth. |
I think we should find out what to do, ie how to react to the hard reset, before the Hackaton. What messages are sent from the server to the client after the hard reset? |
@raman325 Can you answer that? |
After hard resetting the Z-Wave controller, e.g. by sending
to
zwave-js-server
, the integration page shows "no devices or entities" for that instance, although the controller should be listed as a device.The information does not come back when reloading the integration.
It does however come back when:
reload_integration.mp4
Describe the behavior you expected
The device information should be up to date after reconnecting to zwave-js-server.
Steps to reproduce the issue
zwave-js-server
running in a way that you can send it custom commands, ideally from the repository on a dev machine.{ "command": "driver.hard_reset" }
to the server, e.g. by putting this file in thezwave-js-server
repo assrc/bin/hard_reset.ts
, then execute it usingts-node src/bin/hard_reset.ts
.The text was updated successfully, but these errors were encountered: