Is "match_desc" a valid Zigbee object?

I'm trying to query a Zigbee device based on the TI cc2530 SOC.

Command:

zdo match_desc <device_short_address> 0 1 0x0006 0 0 [2,5,10]

The UI gave me an error for <device_short_address> so I changed to

zdo match_desc 0x${device.deviceNetworkId} 0x06 0 1 0x0006 0 0 [2,5,10]

then received this error:

groovy.lang.MissingMethodException: No signature of method: user_driver_johnrob_Zigbee_Raw_Message_4897.match_desc() is applicable for argument types: (user_driver_johnrob_Zigbee_Raw_Message_4897$_Str01_closure3) values: [user_driver_johnrob_Zigbee_Raw_Message_4897$_Str01_closure3@67ed0c] on line 73 (method Str01)

My question is: is the "zdo match_desc" a valid object or command?

Are you trying to read the value of an attribute?

I have a Zigbee device that is purported to use:

Zigbee Cluster:  ZCL_CLUSTER_ID_GEN_MULTISTATE_VALUE_BASIC
Zigbee Attributes: ATTRID_IOV_BASIC_STATE_TEXT

However I don't know the endpoint for that cluster. I was under the belief that the match_desc query could do that.

I also have an example of getting the endpoint from this link but I haven't yet been able to figure out how it was done in the referenced code.

This device is suppose to be a UART functionally where if I send text from the hub using the above cluster and attribute I can send test to the zigbee device and read it with a arduino type board.

I get you something to return that info

use this to return active endpoints:

"he raw ${device.deviceNetworkId} 0 0 0x0005 {00 ${zigbee.swapOctets(device.deviceNetworkId)} ${device.endpointId ?: 1}} {0x0000}"

and this for match descriptor request

"he raw ${device.deviceNetworkId} 0 0 0x0004 {00 ${zigbee.swapOctets(device.deviceNetworkId)} ${device.endpointId ?: 1}} {0x0000}"

You will need to have a sniffer running to see the responses since the hub doesn't pass these to the driver once joined

1 Like

Care to share which specific Zigbee module you're experimenting with? The two that I know of from the past are the SmartThings ThingShield and @haas's MonaLisa. Is this a new one?

Yes,

It's the same TI cc2530 SOC but the firmware is from "ptvo".

Its a base firmware with the ability to add functions. The software allows you to add predefined functions to a "base" cc2530 code creating some level of specialized.

The author has done an amazing job. I have a number of versions currently deployed. However the author's focus is Zigbee2MQTT so there not much support of our Hubitat hubs.

My current goal is to be able to send text between the cc2530 and my hub. Basically a UART function. I've been able to send text from the cc2530 but not to the cc2530 from the hub.

BTW you can program the MonaLisa board with the ptvo firmware.

1 Like

Thanks,
I'll have to get my sniffer working :slight_smile:

1 Like

If you want to try out the ptvo software all you need is a NodeMCU v1 and arduino ide.

If interested I can give you the programming and downloading software.

John

1 Like

It’s much much easer to develop a driver for a new device to be able to see the frames being send and received. I use mine on a regular basis.

1 Like

Thanks, I have the hardware, It's just a PIA to get the software all working together.

John