How to read zigbee log

Can someone provide a quick write up on how to read the zigbee log?

for example

Basement Exercise Motion2018-05-12 09:26:14.418 profileId:0x0, clusterId:0x6, sourceEndpoint:0, destinationEndpoint:0 , groupId:0, lastHopLqi:255, lastHopRssi:-41
Family Room Motion2018-05-12 09:24:55.530 profileId:0x0, clusterId:0x6, sourceEndpoint:0, destinationEndpoint:0 , groupId:0, lastHopLqi:255, lastHopRssi:-66
Office Door2018-05-12 09:24:28.026 profileId:0x0, clusterId:0x6, sourceEndpoint:0, destinationEndpoint:0 , groupId:0, lastHopLqi:255, lastHopRssi:-41
Patio Door Contact2018-05-12 09:22:54.879 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-41
Patio Door Contact2018-05-12 09:22:50.949 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-41
Patio Door Contact2018-05-12 09:22:43.207 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-41
Basement Door2018-05-12 09:22:28.510 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-70
Laundry Closet Door2018-05-12 09:22:26.989 profileId:0x0, clusterId:0x6, sourceEndpoint:0, destinationEndpoint:0 , groupId:0, lastHopLqi:255, lastHopRssi:-41
Basement Door2018-05-12 09:22:26.690 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-70

What do each of these mean - just trying to dig into the info available :slight_smile:

1 Like

Last two numbers are the most useful.

The lqi is an indication of interference or quality of hop between device and nearest router.

The rssi is the signal strength. Closer to 0 the better as that means less power was used to transmit.

Usage is to track down a zigbee endpoint device that is dropping off due to interference or weak signal.

Or to find sources of interference or range or a sensor.

Keep in mind ZigBee does attempt to optimize itself automatically. So a single response isn't worth acting on, its the averages.

Moving a device might result in better signal, but it could optimize through a bad router and lqi could decrease in quality.

What this doesn't show is the hops between the nearest routers and the hub for each device. So its not the entire picture.

For most, its not even needed to look at or monitor. But it is handy for troubleshooting edge ZigBee devices that might be having issues on the mesh.

In almost every situation, adding repeaters / routers will solve the problem. It is a mesh after all. :slight_smile:

3 Likes

A few interesting things I've read about RSSI: as a 'raw' measure of signal strength at the Hub's Zigbee receiver during the interval in which it is listening for a message, it could also include noise or interference (in the frequency band of the assigned channel), "foreign" Zigbee transmitters using the same channel, as well as the paired transmitters in your Zigbee mesh. Values approaching zero indicate stronger signals, more negative values weaker (-100 would be the lowest reported value).

As it is the value of the 'last hop', if the device passes through a repeater it would represent the transmitted signal strength of the closest repeater's radio. For a small network with a few repeaters you may be able get an idea of how your end devices are routed (if their RSSI always tracks that of an individual repeater-- assuming the repeater's RSSIs are appreciably different).

3 Likes

and sourceEndpoint and destinationEnpoint would indicate the final router? or is it indicating any use of a repeater?

Neither, think of it as analogous to a tcp port that the device is using.