Devolo motion sensor isn't changing, just staying 'On'

Hey,

So I just integrated a motion sensor into Home Assistant and it seems to be working fine, however, the binary sensor isn’t changing for it, it’s just staying as ‘On’.

That’s strange because I looked in the Z-Wave logs and it is reporting that the sensor should be on when it detects motion (I checked if this changed when it was triggered and it did), however, the state is never going ‘Off’, so it never actually changes.

2017-08-22 13:59:23.190 Detail, Node003,   Received: 0x01, 0x1f, 0x00, 0x04, 0x00, 0x03, 0x19, 0x8f, 0x01, 0x04, 0x03, 0x80, 0x03, 0x64, 0x04, 0x30, 0x03, 0xff, 0x0c, 0x05, 0x31, 0x05, 0x03, 0x01, 0x06, 0x06, 0x31, 0x05, 0x01, 0x0a, 0x00, 0x49, 0x11
2017-08-22 13:59:23.191 Detail, 
2017-08-22 13:59:23.191 Info, Node003, Received encapsulated multi-command from node 3
2017-08-22 13:59:23.191 Info, Node003, Received Battery report from node 3: level=100
2017-08-22 13:59:23.191 Detail, Node003, Refreshed Value: old value=100, new value=100, type=byte
2017-08-22 13:59:23.191 Detail, Node003, Changes to this value are not verified
2017-08-22 13:59:23.191 Info, Node003, Received SensorBinary report: Sensor:12 State=On
2017-08-22 13:59:23.191 Detail, Node003, Refreshed Value: old value=true, new value=true, type=bool
2017-08-22 13:59:23.191 Detail, Node003, Changes to this value are not verified
2017-08-22 13:59:23.191 Info, Node003, Received SensorMultiLevel report from node 3, instance 1, Luminance: value=6%
2017-08-22 13:59:23.191 Detail, Node003, Refreshed Value: old value=6, new value=6, type=decimal
2017-08-22 13:59:23.191 Detail, Node003, Changes to this value are not verified
2017-08-22 13:59:23.192 Info, Node003, Received SensorMultiLevel report from node 3, instance 1, Temperature: value=73F
2017-08-22 13:59:23.192 Detail, Node003, Refreshed Value: old value=73, new value=73, type=decimal
2017-08-22 13:59:23.192 Detail, Node003, Changes to this value are not verified
2017-08-22 13:59:23.192 Info, Node003, End of encapsulated multi-command from node 3
2017-08-22 13:59:23.192 Detail, Node003, Notification: ValueChanged
2017-08-22 13:59:23.210 Detail, Node003, Notification: ValueChanged
2017-08-22 13:59:23.229 Detail, Node003, Notification: ValueChanged
2017-08-22 13:59:23.247 Detail, Node003, Notification: ValueChanged

Does anyone know what the issue here is?

I have the same issue with my Devolo motion sensors. The sensors stays ‘On’ forever … Can someone give me a hint how to fix this?

I solved it. Setting the parameter 7 to a decimal value of 22, which results in the on/off behaviour, see below.

2018-08-15 08:32:07.670 Info, Node003, Received encapsulated multi-command from node 3
2018-08-15 08:32:07.670 Info, Node003, Received Battery report from node 3: level=100
2018-08-15 08:32:07.670 Detail, Node003, Refreshed Value: old value=100, new value=100, type=byte
2018-08-15 08:32:07.671 Detail, Node003, Changes to this value are not verified
2018-08-15 08:32:07.671 Info, Node003, Received SensorBinary report: Sensor:12 State=On
2018-08-15 08:32:07.671 Detail, Node003, Refreshed Value: old value=false, new value=true, type=bool
2018-08-15 08:32:07.671 Detail, Node003, Changes to this value are not verified
2018-08-15 08:32:07.671 Info, Node003, Received SensorMultiLevel report from node 3, instance 1, Luminance: value=93%
2018-08-15 08:32:07.671 Detail, Node003, Refreshed Value: old value=94, new value=93, type=decimal
2018-08-15 08:32:07.671 Detail, Node003, Changes to this value are not verified
2018-08-15 08:32:07.672 Info, Node003, Received SensorMultiLevel report from node 3, instance 1, Temperature: value=77F
2018-08-15 08:32:07.672 Detail, Node003, Refreshed Value: old value=76, new value=77, type=decimal
2018-08-15 08:32:07.672 Detail, Node003, Changes to this value are not verified
2018-08-15 08:32:07.672 Info, Node003, End of encapsulated multi-command from node 3
2018-08-15 08:32:07.672 Detail, Node003, Notification: ValueChanged
2018-08-15 08:32:07.681 Detail, Node003, Notification: ValueChanged
2018-08-15 08:32:07.690 Detail, Node003, Notification: ValueChanged
2018-08-15 08:32:07.701 Detail, Node003, Notification: ValueChanged
2018-08-15 08:32:31.169 Detail, Node003, Received: 0x01, 0x0e, 0x00, 0x04, 0x00, 0x03, 0x08, 0x8f, 0x01, 0x01, 0x04, 0x30, 0x03, 0x00, 0x0c, 0x4a
2018-08-15 08:32:31.169 Detail,
2018-08-15 08:32:31.169 Info, Node003, Received encapsulated multi-command from node 3
2018-08-15 08:32:31.169 Info, Node003, Received SensorBinary report: Sensor:12 State=Off
2018-08-15 08:32:31.170 Detail, Node003, Refreshed Value: old value=true, new value=false, type=bool
2018-08-15 08:32:31.170 Detail, Node003, Changes to this value are not verified
2018-08-15 08:32:31.170 Info, Node003, End of encapsulated multi-command from node 3
2018-08-15 08:32:31.170 Detail, Node003, Notification: ValueChanged