User Tools

Site Tools


tzigbee-questions-and-answers

Questions and Answers

How do I send motion alarms

From what I can find on the web motion alarms should be sent to the IAS Zone Cluster (0x0500). How is this accomplished in the T-Zigbee firmware? Is this also via the zbhci_ZclSendReportCmd API? What is the data structure I need to send?

Johan Rossouw 2023/09/15 13:258-)

How do I update the product ID

For my Homey Pro controller I need to send different product IDs depending on the type of sensor I have made. As per the examples I send a new manufacturer ID like this in the response for the network state report command:

           case ZBHCI_CMD_NETWORK_STATE_REPORT:
                netState = 1;
                sDstAddr.u16DstAddr = 0x0000;
                zbhci_ZclSendReportCmd(0x02, sDstAddr, 1, 1, 0, 1, BASIC_CLUSTER_ID, 0x0005, ZCL_DATA_TYPE_CHAR_STR, sizeof(au8ManufacturerName), (uint8_t*)&au8ManufacturerName);
                break;

However I always receive the same reply on my Homey Pro:

    manufacturerName: "TELINK"
    productId: "TLSR82xx"

The only way I could change it is via a hex editor and modifying the TLSR82xx string in the firmware binary file.

Johan Rossouw 2023/09/15 13:41

tzigbee-questions-and-answers.txt · Last modified: 2023/09/15 13:41 by johanr