Z-Wave.Me Zniffer and Advanced Radio Toolkit (A.R.T.)

Version 0.2b3

Z-Wave.Me Zniffer and Advanced Radio Toolkit (A.R.T.) is a software and hardware designed to help professionals and installers analyze wireless networks, decrypt Z-Wave/Thread/Zigbee/Bluetooth packets, compose and send packets.

Monitoring radio commands allows you to identify problems in the Z-Wave network, such as incorrect routes, associations with non-existent devices, incorrect packet, security schemes mismatch and much more.

Composing and sending packages will be useful for advanced installers and developers of Z-Wave devices to check regular and abnormal situations.

Z-Uno 2 or RaZberry 7 with a Z-Wave chip of the 7th generation and higher is used as equipment for listening and sending radio commands. The Zniffer/A.R.T. can work simultaneously with several equipment, in this case, you can observe the signal strength of each packet from various locations at the same time. It also allows to monitor multiple frequencies at the same time.

In order to enable the Zniffer feature in the equipment, it is necessary to purchase a license.

Installation

Download

Zniffer/A.R.T. is available for macOS, Linux x64 and Windows 32/64. The latest version can be downloaded from:

https://storage.z-wave.me/zniffer/latest/

Prepare your hardware

Zniffer/A.R.T. software requires RaZberry 7 or Z-Uno 2 as a hardware. To enable the new feature a new firmware (version 7.26 or upper for RaZberry 7 and 3.0.9 for Z-Uno 2). Firmware update can be done right in the Zniffer/A.R.T. user interface.

Note that in order to upgrade older firmware you need to select the MODEM mode and baude rate 115200.

The license for your RaZberry 7 and Z-Uno 2 can also be purchased and enabled in the Zniffer/A.R.T. user interface after the firmware upgrade.

User Interface

Zniffer/A.R.T. interface allows to add the equipment, start/stop traces, decode packets and send packets.

Devices

–°onnect the equipment to the computer, press "+" to add it to the devices list and select the serial port. If selected correctly, the equipment will be detected and UUID will be displayed.

Each equipment is can be configured in the devices list:

About equipment

This window contains full information about the capabilities of the equipment and other functions.

Send data

You can send a packet only if the equipment is running on the Modem mode.

Packet details

As an example, the screenshot shows a package from an socket plug with a measurement of energy consumption.

Tracing window area

The trace window in real time shows all Z-Wave radio commands at a given frequency.

To create a new Trace window, select the equipment on the Devices tab and click the trace button. If the trace button is not active, then first you need to press the start button.

You can use several equipment at the same time in one Trace window. One equipment can be used in several Trace windows.

If you press the right mouse button in the Trace window anywhere, a context menu will appear.

Window mode

Zniffer can work in Multi-Document Interface mode (with many windows inside one window, this is the default mode) as well as with separate windows. Use -ft command line option to switch to separate windows mode: zme_radiotools -ft

Using Zniffer/A.R.T.

License

You can buy a license from the About equipment window or on the website, and you will need to specify the Device UUID.
https://z-wave.me/hardware-capabilities/

If the device already has a license, and you bought a new one, then open the window About equipment and it is applied automatically.

Operating mode: PTI and MODEM

Both Z-Uno 2 and RaZberry 7 can work in two different modes:

All versions of Z-Uno 2 support both modes. All versions of RaZberry 7 support modem mode. PTI mode is supported only by some versions of RaZberry 7.

Remote port

The zme_webserial utility allows you to connect to the equipment that is used on a remote computer. This allows to watch packets from different points in the house in one user interface. The connection to the equipment is done via ethernet or Wi-Fi using the zme_webserial tool.

The zme_webserial utility works not only with Zniffer/A.R.T, but also with other Z-Wave.Me utilities, such as zme_make and zme_programmer.

When configuring the utility, you can specify which ports are visible remotely based on the "white" and "black" lists.

Equipment can be referenced by the port name or the UUID of the equipment.

Standart socket port is a 8998. Example of connecting to remote equipment:

Encryption keys S0/S2

To decrypt encrypted packets, you need to get the encryption keys. There are 3 ways to get encryption keys.

PTI pin

RaZberry

On the reverse side of the RaZberry there is a connector with GND and TX pins. To connect RaZberry PTI to a computer, you need a USB-TTL adapter.

Connection scheme:

Z-Uno

To enable PTI mode on Z-Uno, you need to add the following code to the sketch. Any pin can be used for PTI. Selecting TX2 pin will forward PTI traffic to the Z-Uno USB port. Note that the pin selected for PTI is not available for your sketch.

The main sketch will continue to operate normally while PTI is enabled.

Example of the code with PTI enabled:

#define PTI_PIN TX2           // TX2 is default USB pin
#define PTI_BAUDRATE 230400 L // The minimal baud rate is 230400, the maximum baud rate is 1.6MBit

void setup() {
  Serial0.begin(115200);
  if (zunoPTIConfigUART(PTI_PIN, PTI_BAUDRATE)) {
    Serial0.println("[Done]");
  } else {
    Serial0.println("[Failed]");
  }
}

// Just an empty loop function
void loop() {}
         

Future development

Zniffer/A.R.T. software is in active development. New features are added every month. Below is the list of features to be implemented soon: