Bump to .NET 7 causes ValueUpdate and ValueNotification events to not fire #27
Replies: 2 comments 5 replies
-
One more thing to add. I downloaded the latest code from GitHub and set some breakpoints to determine where the problem may be. The WatsonWsClient only appears to be receiving the Node Statistics Update event from the server. So, it may be something with the underlying .NET Websocket library. |
Beta Was this translation helpful? Give feedback.
-
Okay. Not a bug!!!! I'm running both the .NET 6 and .NET 7 apps out of visual studio and using the debugger. When .NET 5/6/7 apps get compiled, the binaries get put into a folder called .net5.0/.net6.0/.net7.0 respectively. My theory is that when the Server.PSI gets downloaded it either creates a new local database or attempts to open an existing one. A new database requires that Server.PSI re-interview all devices on the connected Z-Wave Controller. The devices I am working with are wireless and were sleeping, so no interview was completed. I pressed the button on each of the devices several time and I got an Interview Completed event, and voila, the ValueUpdate and ValueNotification events started firing. Yup, I probably should have known better. Live and learn. |
Beta Was this translation helpful? Give feedback.
-
Not quite sure if this is a bug or not. I have a .NET 6 app that works as expected. I bumped it to .NET 7 and the Node Value Update and Node Value Notification events do not fire. The Node Statistics update and controller events do fire. Took a peek at the code and I don't see anything obvious that would match up with any of the breaking changes introduced in .NET 7. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions