Page 1 of 2

Binary sensor is always off

Posted: 30 Dec 2022 15:15
by simmarn
Hi!

I have two Vision Garagedoor tilt sensors who worked perfectly for years. Each time garage door was opened the binary sensors changed value to "on", when door was closed they changed to "off".
For the last couple of months they are always off. I can see when I open the garagedoor that the led will blink once indicating that state was changed. But state in Z-Wave Smart Home GUI stays at "off".

I do not know when this started, maybe upgrade to Raspbian 10 or FW upgrade to 4.0.1.

I have replaced battery and redone device interview. No change.

Why isn't state change received by Razberry?

/Martin

Re: Binary sensor is always off

Posted: 30 Dec 2022 15:37
by cwilms
Hi,

I think I might have observed the same issue. Upgraded to v4.0.2 a couple of days ago and now no longer see status updates for 2 binary door contact sensors (other sensors like motion sensors appear to be working normally).

I can see the updates being received in the z-way-server log but the SmartHome UI doesn't log and updates to the status - the devices are either stuck in either an open or closed state. I've raised a bug here: https://github.com/Z-Wave-Me/z-way-issues/issues/167

FYI I'm also using a Razberry device.

Colin

Re: Binary sensor is always off

Posted: 30 Dec 2022 19:23
by lanbrown
Most likely you need to enable the option to "accept report commands without encryption"

Re: Binary sensor is always off

Posted: 31 Dec 2022 20:34
by cwilms
lanbrown wrote:
30 Dec 2022 19:23
Most likely you need to enable the option to "accept report commands without encryption"
Thanks. The devices are insecure, but I tried changing the security level for reports but that didn't make any difference. The temperature and battery reports still work fine. I can see the contact sensor in zniffer too, but no updates applied to the device visible in SmartHome UI.

Re: Binary sensor is always off

Posted: 31 Dec 2022 22:15
by lanbrown
You'll need to post your z-way-server.log for the timeframe in question.

Re: Binary sensor is always off

Posted: 01 Jan 2023 14:36
by cwilms

Code: Select all

[2022-12-30 12:15:41.661] [D] [zway] RECEIVED: ( 01 0C 00 04 00 17 03 20 01 FF AA 00 00 97 )
[2022-12-30 12:15:41.661] [D] [zway] SENT ACK
[2022-12-30 12:15:41.662] [D] [zway] SETDATA devices.23.data.lastReceived = 0 (0x00000000)
[2022-12-30 12:15:41.663] [D] [zway] SETDATA devices.1.instances.0.commandClasses.32.data.srcNodeId = 23 (0x00000017)
[2022-12-30 12:15:41.664] [D] [zway] SETDATA devices.1.instances.0.commandClasses.32.data.srcInstanceId = 0 (0x00000000)
[2022-12-30 12:15:41.664] [D] [zway] SETDATA devices.1.instances.0.commandClasses.32.data.level = 255 (0x000000ff)
[2022-12-30 12:15:45.692] [D] [zway] RECEIVED: ( 01 0C 00 04 00 17 03 20 01 00 AB 00 00 69 )
[2022-12-30 12:15:45.694] [D] [zway] SENT ACK
[2022-12-30 12:15:45.695] [D] [zway] SETDATA devices.23.data.lastReceived = 0 (0x00000000)
[2022-12-30 12:15:45.696] [D] [zway] SETDATA devices.1.instances.0.commandClasses.32.data.srcNodeId = 23 (0x00000017)
[2022-12-30 12:15:45.696] [D] [zway] SETDATA devices.1.instances.0.commandClasses.32.data.srcInstanceId = 0 (0x00000000)
[2022-12-30 12:15:45.697] [D] [zway] SETDATA devices.1.instances.0.commandClasses.32.data.level = 0 (0x00000000)
Device 23 is the Fibaro door contact sensor FGK-101. Door is being opened then closed.

Re: Binary sensor is always off

Posted: 07 Jan 2023 15:11
by cwilms
I managed to resolve this issue by updating the device setting mapBasicSetToSpecificReport=true.

Contact sensor updates were then interpreted as instance0.SensorBinary updates.

Re: Binary sensor is always off

Posted: 27 Jan 2023 15:09
by Villan_Johain
all set to “off” state during the first seconds of HA startup, and restored to proper state ~30 seconds afterwards (when HA finishes it startup)

Re: Binary sensor is always off

Posted: 19 Feb 2023 16:53
by simmarn
cwilms wrote:
07 Jan 2023 15:11
I managed to resolve this issue by updating the device setting mapBasicSetToSpecificReport=true.

Contact sensor updates were then interpreted as instance0.SensorBinary updates.
Thanks, this solved it for me too.

Re: Binary sensor is always off

Posted: 12 Aug 2023 19:27
by Rudi56
cwilms wrote:
07 Jan 2023 15:11
I managed to resolve this issue by updating the device setting mapBasicSetToSpecificReport=true.

Contact sensor updates were then interpreted as instance0.SensorBinary updates.
Sorry to bother you, but my English is even worse than my z-wave skills.
Where can/should I set this "mapBasicSetToSpecificReport" ?

I have a ZD2102EU 2013 door window sensor with firmware version 4.84
So without Gen5 and security support. :(

Can you help me?

Greetings Rudi