I am struggling with the recent version of the Z-Wave-Dev-Branch (Dev-Snapshot 201710241752). I am using several FGK001 Fibaro Door/Window-Sensors which used to work well with the Dev-Snapshots.
I just reincluded one device with the current binding and since then it does not report the door status anymore to OH. The item (Channel sensor_door) does not get any updates any more. To be sure I reconfigured the device to indicate door status changes by LED and it does. I can also see in the logs that the device tries to send data to OH but it does not arrive where it should. Here is a typcial (reproducable) section of my Z-Wave debug logs (NODE 181):
However the battery values are updated correctly (channel battery-level), but the main purpose of the device does not work anymore. @chris Can you have a look, please?
I deleted the xml, woke up the device and a new xml was created. However, the triggering of the Door-Open-Event still does not arrive in OH, only in the logs (NODE 181):
Thanks, but unfortunately this only starts toward the end of the initialisation - either it was a restart without deleting the XML, or the logs cycled maybe and the first part is in another log?
Just to be sure that we talk about the same: I just deleted the node WHILE OH was running. Should I shutdown OH, then delete the XML and then restart OH with the new binding version?
Ok, I tested now intensively the last different versions of the DEV binding in my test environment (same controller type, same FGK101 door sensor version, same OH2 snapshot version but only one node to speed up test cases) .
The finding: FGK101 works only if included in the network with network wide inclusion with DEV Snaphot version 20170918 or older. In this case the sensor reports the channel sensor_door correctly to the associated item. Even after updating the DEV Snaphot version to newer builds (without reincluding the device) the channel sensor_door still reports correctly.
However, if the FGK101 is included in the network with network wide inclusion with DEV Snaphot version 20171024 it does NOT report the channel sensor_door (only channel battery-level is still updated). Downgrading the DEV Snaphot version back to 20170918 does not help either. The sensor won’t report the channel sensor_door if included with the newer DEV version.
Conclusion: it is the binding version in the moment of inclusion which makes the difference (similar as it used to be with Fibaro double relay switch FGS223 or some Qubino devices).
Finally I also produced the debug log you are waiting for. It should include the (faulty) inclusion process with DEV Snaphot version 20171024 completely (NODE 4).
and here the xml generated by the DEV Snaphot version 20170918 which works perfectly (with all binding versions if inclusion took place with DEV Snaphot version 20170918) (NODE 182):
@chris
I think I run into the same problem. I’m on OH 2.3 stable. I prepare for the migration to 2.4. For this I delete one sensor thing and added it again (no exclude/include). Now the sensor is not working as before. There must be a change in the database. Some of the channels are no longer there
Now only battery-level work as before. I played around a little bit and get the door/window magnet to work again, but this is now a switch and no longer a contact and has a different channel name.
This is the XML-file from another one which is still working. But this one was not deleted and readded, config was from z-wave binding version 2.0. maybe this help. node58.xml (9.9 KB)