Fibaro door/window sensor sending wrong values

Good afternoon,

I am using several Fibaro Z-Wave door/window sensors with Home Assistant and one behaves differently than the others:

  • Node009 behaves as expected: Opening the window, Node009 sends value 22 (open) and when closing it some 15 seconds later, Node009 sends value 23 (closed). Log output included below.
  • Node010’s behaviour makes no sense: When opening the garage door, Node010 sends value 23 (closed) and within 2 milliseconds value 22 (open). Closing it, Node 010 sends value 22 (open) and within 3 milliseconds value 22 (open). Log output included below.

Any idea what can cause this?

Auke

Relevant system specs: Raspberry Pi 4, Aeotec Z-Stick Gen5 (ZW090-C), Fibaro System FGDW002 Door Opening Sensor 2+, Home Assistant 0.103.3

Log output device Node009 when opening and then closing the window:

2019-12-23 15:34:30.797 Detail, Node009,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x09, 0x02, 0x98, 0x40, 0x20
2019-12-23 15:34:30.797 Info, Node009, Received SecurityCmd_NonceGet from node 9
2019-12-23 15:34:30.798 Info, Node009, Sending (Send) message (Callback ID=0x01, Expected Reply=0x00) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x09, 0x0a, 0x98, 0x80, 0x94, 0x97, 0xaa, 0x49, 0xc6, 0x49, 0x54, 0x30, 0x05, 0x01, 0xe9:
2019-12-23 15:34:31.086 Detail, Node009,   Received: 0x01, 0x23, 0x00, 0x04, 0x00, 0x09, 0x1d, 0x98, 0x81, 0x4d, 0x7c, 0x3b, 0xfa, 0x3e, 0x64, 0xe0, 0x24, 0xe1, 0x30, 0xd1, 0xa0, 0xe4, 0x83, 0xe5, 0x85, 0xfe, 0x48, 0x94, 0x91, 0x7f, 0x5f, 0x90, 0xab, 0x25, 0x6c, 0xe3, 0x1e
2019-12-23 15:34:31.086 Detail, Node009, Decrypted Packet: 0x00, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x06, 0x16, 0x00
2019-12-23 15:34:31.086 Info, Node009, Received Alarm report: type=0, level=0, sensorSrcID=0, type:Access Control event:22, status=255
2019-12-23 15:34:31.086 Detail, Node009, Initial read of value
2019-12-23 15:34:31.086 Detail, Node009, Initial read of value
2019-12-23 15:34:31.087 Detail, Node009, Initial read of value
2019-12-23 15:34:31.087 Detail, Node009, Initial read of value
2019-12-23 15:34:31.087 Detail, Node009, Notification: ValueChanged
2019-12-23 15:34:31.091 Detail, Node009, Notification: ValueChanged
2019-12-23 15:34:31.095 Detail, Node009, Notification: ValueChanged
2019-12-23 15:34:31.099 Detail, Node009, Notification: ValueChanged
2019-12-23 15:34:46.194 Detail, Node009,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x09, 0x02, 0x98, 0x40, 0x20
2019-12-23 15:34:46.194 Info, Node009, Received SecurityCmd_NonceGet from node 9
2019-12-23 15:34:46.195 Info, Node009, Sending (Send) message (Callback ID=0x01, Expected Reply=0x00) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x09, 0x0a, 0x98, 0x80, 0xfc, 0x00, 0xd3, 0x54, 0x30, 0x6f, 0xf5, 0xeb, 0x05, 0x01, 0xd8:
2019-12-23 15:34:46.409 Detail, Node009,   Received: 0x01, 0x23, 0x00, 0x04, 0x00, 0x09, 0x1d, 0x98, 0x81, 0xe6, 0x53, 0x31, 0xb2, 0xdb, 0x26, 0x25, 0xe2, 0x0e, 0xa9, 0x34, 0x8c, 0x1f, 0x30, 0xdb, 0x96, 0xe3, 0x9c, 0xfc, 0xde, 0x82, 0x15, 0xef, 0x3c, 0x64, 0x7a, 0xf3, 0x50
2019-12-23 15:34:46.409 Detail, Node009, Decrypted Packet: 0x00, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x06, 0x17, 0x00
2019-12-23 15:34:46.409 Info, Node009, Received Alarm report: type=0, level=0, sensorSrcID=0, type:Access Control event:23, status=255
2019-12-23 15:34:46.409 Detail, Node009, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 15:34:46.409 Detail, Node009, Changes to this value are not verified
2019-12-23 15:34:46.409 Detail, Node009, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 15:34:46.409 Detail, Node009, Changes to this value are not verified
2019-12-23 15:34:46.410 Detail, Node009, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 15:34:46.410 Detail, Node009, Changes to this value are not verified
2019-12-23 15:34:46.410 Detail, Node009, Refreshed Value: old value=22, new value=23, type=byte
2019-12-23 15:34:46.410 Detail, Node009, Changes to this value are not verified
2019-12-23 15:34:46.410 Detail, Node009, Notification: ValueChanged
2019-12-23 15:34:46.419 Detail, Node009, Notification: ValueChanged
2019-12-23 15:34:46.428 Detail, Node009, Notification: ValueChanged
2019-12-23 15:34:46.438 Detail, Node009, Notification: ValueChanged

Log output device Node009 when opening the garage door:

2019-12-23 16:49:05.777 Detail, Node010,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0a, 0x02, 0x98, 0x40, 0x23
2019-12-23 16:49:05.778 Info, Node010, Received SecurityCmd_NonceGet from node 10
2019-12-23 16:49:05.779 Info, Node010, Sending (Send) message (Callback ID=0x01, Expected Reply=0x00) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x0a, 0x0a, 0x98, 0x80, 0x7a, 0x2b, 0x9c, 0x86, 0x9e, 0x98, 0x3b, 0xd4, 0x05, 0x01, 0x43:
2019-12-23 16:49:05.969 Detail, Node010,   Received: 0x01, 0x23, 0x00, 0x04, 0x00, 0x0a, 0x1d, 0x98, 0x81, 0xc7, 0x65, 0x00, 0xd4, 0x16, 0xf7, 0x29, 0x48, 0x41, 0x09, 0xf7, 0x0c, 0x6b, 0x10, 0xd7, 0xa4, 0x6b, 0xd9, 0x7a, 0x1b, 0xc5, 0x21, 0x5d, 0x35, 0x6c, 0x1c, 0x7c, 0xc8
2019-12-23 16:49:05.969 Detail, Node010, Decrypted Packet: 0x00, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x06, 0x17, 0x00
2019-12-23 16:49:05.970 Info, Node010, Received Alarm report: type=0, level=0, sensorSrcID=0, type:Access Control event:23, status=255
2019-12-23 16:49:05.970 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:49:05.970 Detail, Node010, Changes to this value are not verified
2019-12-23 16:49:05.970 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:49:05.970 Detail, Node010, Changes to this value are not verified
2019-12-23 16:49:05.970 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:49:05.971 Detail, Node010, Changes to this value are not verified
2019-12-23 16:49:05.971 Detail, Node010, Refreshed Value: old value=22, new value=23, type=byte
2019-12-23 16:49:05.971 Detail, Node010, Changes to this value are not verified
2019-12-23 16:49:05.971 Detail, Node010, Notification: ValueChanged
2019-12-23 16:49:05.981 Detail, Node010, Notification: ValueChanged
2019-12-23 16:49:05.990 Detail, Node010, Notification: ValueChanged
2019-12-23 16:49:06.003 Detail, Node010, Notification: ValueChanged
2019-12-23 16:49:06.015 Detail, Node010,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0a, 0x02, 0x98, 0x40, 0x23
2019-12-23 16:49:06.016 Info, Node010, Received SecurityCmd_NonceGet from node 10
2019-12-23 16:49:06.017 Info, Node010, Sending (Send) message (Callback ID=0x01, Expected Reply=0x00) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x0a, 0x0a, 0x98, 0x80, 0x12, 0x19, 0xec, 0x2b, 0x7b, 0x39, 0xd3, 0x4a, 0x05, 0x01, 0xf6:
2019-12-23 16:49:06.229 Detail, Node010,   Received: 0x01, 0x23, 0x00, 0x04, 0x00, 0x0a, 0x1d, 0x98, 0x81, 0x78, 0xde, 0xcd, 0xdf, 0xc5, 0x69, 0x6a, 0xd7, 0x76, 0xd2, 0x56, 0x3f, 0x76, 0xe8, 0xf8, 0x3e, 0xe8, 0xc2, 0x12, 0x84, 0x4b, 0xbc, 0x3c, 0xaf, 0x90, 0x13, 0x53, 0xee
2019-12-23 16:49:06.229 Detail, Node010, Decrypted Packet: 0x00, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x06, 0x16, 0x00
2019-12-23 16:49:06.230 Info, Node010, Received Alarm report: type=0, level=0, sensorSrcID=0, type:Access Control event:22, status=255
2019-12-23 16:49:06.230 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:49:06.230 Detail, Node010, Changes to this value are not verified
2019-12-23 16:49:06.231 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:49:06.231 Detail, Node010, Changes to this value are not verified
2019-12-23 16:49:06.231 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:49:06.232 Detail, Node010, Changes to this value are not verified
2019-12-23 16:49:06.232 Detail, Node010, Refreshed Value: old value=23, new value=22, type=byte
2019-12-23 16:49:06.232 Detail, Node010, Changes to this value are not verified
2019-12-23 16:49:06.232 Detail, Node010, Notification: ValueChanged
2019-12-23 16:49:06.242 Detail, Node010, Notification: ValueChanged
2019-12-23 16:49:06.247 Detail, Node010, Notification: ValueChanged
2019-12-23 16:49:06.252 Detail, Node010, Notification: ValueChanged

Log output device Node009 when closing the garage door:

2019-12-23 16:50:09.667 Detail, Node010,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0a, 0x02, 0x98, 0x40, 0x23
2019-12-23 16:50:09.667 Info, Node010, Received SecurityCmd_NonceGet from node 10
2019-12-23 16:50:09.669 Info, Node010, Sending (Send) message (Callback ID=0x01, Expected Reply=0x00) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x0a, 0x0a, 0x98, 0x80, 0x5c, 0xe0, 0x58, 0xd0, 0xa8, 0x09, 0x41, 0xc7, 0x05, 0x01, 0xf2:
2019-12-23 16:50:09.857 Detail, Node010,   Received: 0x01, 0x23, 0x00, 0x04, 0x00, 0x0a, 0x1d, 0x98, 0x81, 0x39, 0x56, 0x7b, 0x78, 0x2f, 0x7e, 0x75, 0xf5, 0x99, 0xa9, 0x94, 0x86, 0xd2, 0xa9, 0x12, 0x26, 0xb8, 0x51, 0x5c, 0x89, 0x0f, 0x2a, 0x34, 0x91, 0xd2, 0xaa, 0xf3, 0x31
2019-12-23 16:50:09.858 Detail, Node010, Decrypted Packet: 0x00, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x06, 0x16, 0x00
2019-12-23 16:50:09.858 Info, Node010, Received Alarm report: type=0, level=0, sensorSrcID=0, type:Access Control event:22, status=255
2019-12-23 16:50:09.858 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:50:09.859 Detail, Node010, Changes to this value are not verified
2019-12-23 16:50:09.859 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:50:09.859 Detail, Node010, Changes to this value are not verified
2019-12-23 16:50:09.859 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:50:09.859 Detail, Node010, Changes to this value are not verified
2019-12-23 16:50:09.860 Detail, Node010, Refreshed Value: old value=22, new value=22, type=byte
2019-12-23 16:50:09.860 Detail, Node010, Changes to this value are not verified
2019-12-23 16:50:09.860 Detail, Node010, Notification: ValueChanged
2019-12-23 16:50:09.870 Detail, Node010, Notification: ValueChanged
2019-12-23 16:50:09.879 Detail, Node010, Notification: ValueChanged
2019-12-23 16:50:09.889 Detail, Node010, Notification: ValueChanged
2019-12-23 16:50:09.900 Detail, Node010,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0a, 0x02, 0x98, 0x40, 0x23
2019-12-23 16:50:09.901 Info, Node010, Received SecurityCmd_NonceGet from node 10
2019-12-23 16:50:09.903 Info, Node010, Sending (Send) message (Callback ID=0x01, Expected Reply=0x00) - Nonce_Report - 0x01, 0x11, 0x00, 0x13, 0x0a, 0x0a, 0x98, 0x80, 0xa0, 0xd6, 0x4e, 0x38, 0x32, 0x9c, 0x1c, 0xac, 0x05, 0x01, 0xff:
2019-12-23 16:50:10.107 Detail, Node010,   Received: 0x01, 0x23, 0x00, 0x04, 0x00, 0x0a, 0x1d, 0x98, 0x81, 0x85, 0x37, 0x99, 0x31, 0x27, 0x14, 0x6e, 0xa4, 0x76, 0x3d, 0xf6, 0x36, 0x82, 0x94, 0xd2, 0xd8, 0x1b, 0x24, 0xa0, 0xba, 0x87, 0x43, 0x1b, 0x85, 0xc2, 0xdb, 0x41, 0x85
2019-12-23 16:50:10.108 Detail, Node010, Decrypted Packet: 0x00, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x06, 0x16, 0x00
2019-12-23 16:50:10.108 Info, Node010, Received Alarm report: type=0, level=0, sensorSrcID=0, type:Access Control event:22, status=255
2019-12-23 16:50:10.109 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:50:10.109 Detail, Node010, Changes to this value are not verified
2019-12-23 16:50:10.109 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:50:10.109 Detail, Node010, Changes to this value are not verified
2019-12-23 16:50:10.109 Detail, Node010, Refreshed Value: old value=0, new value=0, type=byte
2019-12-23 16:50:10.110 Detail, Node010, Changes to this value are not verified
2019-12-23 16:50:10.110 Detail, Node010, Refreshed Value: old value=22, new value=22, type=byte
2019-12-23 16:50:10.110 Detail, Node010, Changes to this value are not verified
2019-12-23 16:50:10.110 Detail, Node010, Notification: ValueChanged
2019-12-23 16:50:10.120 Detail, Node010, Notification: ValueChanged
2019-12-23 16:50:10.130 Detail, Node010, Notification: ValueChanged
2019-12-23 16:50:10.139 Detail, Node010, Notification: ValueChanged

compare the z wave configuration settings of the two nodes, it’s probably a diffenece in settings.

Hi Mutt, thank you, that is good point. I checked and verified all Z-Wave configuration settings for Node009 and Node010 and they are identical. Specifically, the “1. Door/window state” parameter is set to “Closed”, which means it considers the door or window closed when the magnet is close to the sensor.

The sensor sending two values (rather than one) upon detecting a change suggests to me something is wrong regardless of the parameters. Come to think of it, the sensor’s body and magnet are both stuck to metal underground. I suppose that may be confusing the sensor altogether, not sure. I shall see if I can find a different spot with less iron less close.

Sounds resonable.
Node Config Options for fibaro devices are usually ‘around’ parameter 13 to 17 so you talking about parameter 1 makes me think you are looking at (maybe) some of the read only values.
However, you have it in front of you - I do not, so …
Please feed back anything you learn, good luck