Closed jvolkman closed 6 years ago
Thanks - the logs would be useful when you get them...
I've attached two files.
The first is exclusion of node 15. At this point the device had been part of the network for a while. The second is exclusion of node 19, after I re-added it. Notably, there's a message in the second log that says "Device excluded during initialisation!", presumably due to not letting the init phase finish. The stack trace seems the same in both cases, though.
A fallout of this, I think, was that a bunch of entries were left in the ItemChannelLink jsondb that I had to clean up manually. I was getting messages such as:
2017-03-21 08:12:11.286 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update '0' for item 'FrontSensor_BatteryLevel' to handler for channel 'zwave:device:d3d50f00:node15:battery-level', because no thing with the UID 'zwave:device:d3d50f00:node15' could be found.
This is fixed in the development version. It's caused by the node being removed, then the handler being disposed but the handler still tried to serialise the node. null check is now in place to avoid this.
This exception is logged when I remove my Aeotec Multisensor 6 from my ZWave network using the exclusion procedure.
OH2 Version: 2.0.0
Binding Version: Git master from a few days ago - I was updating some thing definitions (but didn't touch the Aeotec definition)
Link to [database]: http://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-list/devicesummary/73
I did have debug logging on at the time. I'll try to grab some contextual logs when I get back to my OpenHAB device.