No plausibility check in Route Map

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
piet66
Posts: 277
Joined: 04 Feb 2017 17:00

No plausibility check in Route Map

Post by piet66 »

The Expert UI/Route Map sometimes shows used routes with hops that do not exist or are battery powered. Both are not possible. Obviously there is no plausibility check.
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me(327) ZW0700 7.21.00 07.42/17367041 1025/257
Z-Way version v4.1.2 from 2023-10-18 03:34:26 +0300
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: No plausibility check in Route Map

Post by PoltoS »

May be this is a CRC error (mangled packet that by chance passed CRC check)?
piet66
Posts: 277
Joined: 04 Feb 2017 17:00

Re: No plausibility check in Route Map

Post by piet66 »

These are corrupt packets, no doubt. And the display is relatively unimportant.

But it leads me to the question, how does ZWay detect corrupted packets and what does it do with them.
When a hop is wrong, the probability is high, that at least one other part of the packet is also wrong, for example sender or class number or sensor value.

Seems that ZWay doesn't use all possibilities to filter those packet.
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me(327) ZW0700 7.21.00 07.42/17367041 1025/257
Z-Way version v4.1.2 from 2023-10-18 03:34:26 +0300
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: No plausibility check in Route Map

Post by PoltoS »

Z-Way does not detect corrupted packets. It checks the consistensy of Serial API communication (Z-Wave chip <-- UART/USB --> RPi/PC). The RF consistency is checked by the RF module, means Z-Wave chip SDK, so if the latter accepts the packet (double corruption that leads to valid CRC), Z-Way can do nothing ;(
piet66
Posts: 277
Joined: 04 Feb 2017 17:00

Re: No plausibility check in Route Map

Post by piet66 »

But the chip can only check the formal consistency.
If it is possible to check logical consistency additionally, why does Z-Way not do that?
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me(327) ZW0700 7.21.00 07.42/17367041 1025/257
Z-Way version v4.1.2 from 2023-10-18 03:34:26 +0300
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: No plausibility check in Route Map

Post by PoltoS »

It is quite hard to define. You need some apriori information.

But better to uses 5th gen or 7th gen devices - they use CRC16 instead of CRC8. So this problem is not relevant anymore for new installations
Post Reply