Skip to content
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

NodeNew Event not raised #21

Closed
markolb81 opened this issue Jul 26, 2018 · 1 comment
Closed

NodeNew Event not raised #21

markolb81 opened this issue Jul 26, 2018 · 1 comment

Comments

@markolb81
Copy link

Hi, I noticed that the NodeNew Notification does not occur, when adding new nodes via Inclusion Mode to the ZWave Network.

As far as I understood, the event is a virtual event, thrown by OpenZWave as soon as it detects a node which is not in the ozw-config-xml file.

My observation in detail:

  • If you delete the configuration while a node is still paired to the network, restart the application, then "NodeNew" occurs (for both the controller and other nodes)
  • If you remove and re-connect a device to the network while the application is running, the NodeNew Event does not occur.
  • If you start the application, let it initialize existing nodes and then add a new node to the network, the NodeNew event does not occur.

Is it possible that the configuration is being updated too early, so that the check if the device already exists will always deliver "already exists"?

Unfortunately, I'm not good at c++ programming, otherwise I'd resolve it myself. I believe the problem is in Driver.cpp in "HandleSerialAPIGetInitDataResponse"

@dotMorten
Copy link
Member

Since this library is just wrapping the native OpenZWave library, and you confirmed the event can actually fire (confirming the wrapper works), this is probably better to ask in the OpenZWave repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants