Binary sensor is always off

Discussions about RaZberry - Z-Wave board for Raspberry computer
simmarn
Posts: 3
Joined: 02 Nov 2021 14:19

Binary sensor is always off

Post 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
cwilms
Posts: 4
Joined: 30 Dec 2022 15:34

Re: Binary sensor is always off

Post 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
lanbrown
Posts: 279
Joined: 01 Jun 2021 08:06

Re: Binary sensor is always off

Post by lanbrown »

Most likely you need to enable the option to "accept report commands without encryption"
cwilms
Posts: 4
Joined: 30 Dec 2022 15:34

Re: Binary sensor is always off

Post 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.
lanbrown
Posts: 279
Joined: 01 Jun 2021 08:06

Re: Binary sensor is always off

Post by lanbrown »

You'll need to post your z-way-server.log for the timeframe in question.
cwilms
Posts: 4
Joined: 30 Dec 2022 15:34

Re: Binary sensor is always off

Post 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.
cwilms
Posts: 4
Joined: 30 Dec 2022 15:34

Re: Binary sensor is always off

Post 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.
Villan_Johain
Posts: 1
Joined: 27 Jan 2023 15:05

Re: Binary sensor is always off

Post 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)
simmarn
Posts: 3
Joined: 02 Nov 2021 14:19

Re: Binary sensor is always off

Post 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.
Rudi56
Posts: 12
Joined: 05 Apr 2016 11:34

Re: Binary sensor is always off

Post 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
Post Reply