Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Discussions about Z-Way software and Z-Wave technology in general
DesT
Posts: 39
Joined: 07 Mar 2020 17:04

Re: Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Post by DesT »

@poltos,

For the last 4-5 days, almost everyday I have a couple of devices with this issue!

DesT
Posts: 39
Joined: 07 Mar 2020 17:04

Re: Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Post by DesT »

I can confirm that everyday for the last 3 days, I'm having at least 3-4 nodes that are no more working 'cause of the "CRC16" or "Security" class that show up!

rafale77
Posts: 115
Joined: 23 Jun 2018 19:26

Re: Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Post by rafale77 »

I just had one device do this. I literally have had one device with this problem in 2-3 months. It is still annoying and I learned how to recover it using a JS API command. @PoltoS, I know you are waiting to reproduce it and figure out what the exact mechanism is but in the meantime, could you not implement my suggestion of not allowing new command classes to be added to the device configuration without the a user manual interview? I am very convinced that it is from a false packet coming from a noisy zwave environment passing the CRC check.

DesT
Posts: 39
Joined: 07 Mar 2020 17:04

Re: Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Post by DesT »

I agree with @rafale77 too, for the moment, at least our environment will work perfectly for more than a couple of days!

piet66
Posts: 123
Joined: 04 Feb 2017 17:00

Re: Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Post by piet66 »

I also think it has something to do with the z-wave traffic. A few months ago I reduced the traffic in my network considerably and since then this problem has not reappeared.
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster)
RaZberry by Z-Wave.Me ZW0500 6.82.01 05.39/35498 1024/2
Z-Way version v3.1.0 from 2020-09-01

User avatar
PoltoS
Posts: 5887
Joined: 26 Jan 2011 19:36

Re: Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Post by PoltoS »

Please send me the log so I can check the reson of it and we fix it in upcoming release.

The problem is due to corrupted packets from 3rd gen devices that passes CRC8 check still being corrupted. We need to see those packets to fix it. Please help us with providing the log.

DesT
Posts: 39
Joined: 07 Mar 2020 17:04

Re: Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Post by DesT »

I'm unable to provide logs as I can see it couple days later when a device stop responding!

User avatar
PoltoS
Posts: 5887
Joined: 26 Jan 2011 19:36

Re: Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Post by PoltoS »

You can provide me many logs, we will find it out

rafale77
Posts: 115
Joined: 23 Jun 2018 19:26

Re: Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Post by rafale77 »

Thanks @PoltoS but I am just wondering if you could just prevent any new command classes from showing up on the configuration from anything but during the user configuration. Understanding the mechanism is great but you won't be able to prevent corrupt packets from coming in, nor will we be able to guarantee that there aren't other types of corrupt packets. Apparently this is a problem only after version 3.0.0 so I can't see how much logs will help you fix the problem. Apparently we are seeing security and CRC16 classes along with a couple of more rare ones showing up across all kinds of different devices so it isn't a single type of packet causing the creation of a single type of command class.
I wish I could help you with logs but it is impossible for me to figure out exactly when the command class occurred and even less to be able to find the corresponding log since we don't even get any message when this happens. I would highly recommend to go to a routine of forbidding/blocking command class creation/addition outside of interview time.

User avatar
PoltoS
Posts: 5887
Joined: 26 Jan 2011 19:36

Re: Razberry Z-Way 3.0.0--CRC16 and Security classes showing up

Post by PoltoS »

This is what we want to do. We just want to understand what is coming corrupted. It is definitely easier to fix a bug if you can reproduce it ;)

Search for "instantiating it as not supported". Looks we know how to catch it

Post Reply