# Zigbee driver implementation

**URL:** <https://community.homey.app/t/zigbee-driver-implementation/95238>\
**Category:** Questions & Help\
**Created:** [November 20, 2023, 3:23pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238 "2023-11-20T15:23:01Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![GD91](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gd91/32/78099_2.png) [@GD91](https://community.homey.app/u/GD91)\
**Post date:** [November 20, 2023, 3:23pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/1 "2023-11-20T15:23:01Z")

</div>

I’m still with my NEO siren driver.

I got this message 🙂

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/6/d6b172a74532b4537d292b6f03f8b0ee73378b5a.png)  
When I try to activate the siren.  
I’m understanding it is OK, because it is said ‘SUCCESS’ , am I right ?

But … the siren is still mute !

Is there a kind of guide to understand this ? About the way to debug such an issue ?

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 20, 2023, 3:54pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/2 "2023-11-20T15:54:06Z")

</div>

I think “SUCCESS” means that the device received the command okay, that’s all.

From what I can gather [from this thread](https://community.home-assistant.io/t/zigbee-neo-siren-ab02b2-v2-trying-to-switch-melody/425552), to turn the siren on/off you should target cluster 6, where you seem to be targeting cluster 0xef00 (which is used to set melody/duration/volume). Although that might be about a different model of Neo siren.

---

<div class="post-metadata">

**Author:** ![GD91](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gd91/32/78099_2.png) [@GD91](https://community.homey.app/u/GD91)\
**Post date:** [November 22, 2023, 3:20pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/3 "2023-11-22T15:20:54Z")

</div>

I’m still trying to implement a driver for a NEO siren with manufacturer ID “\_TZE204\_t1blo2bj”. For doing this I start from the driver included in the Tuya ZigBee app and designed for a siren with “\_TZE200\_d0yu2xgi” manufacturer ID.

I found several sources on the NET that convinced me that the two models of siren are identical.

So, I change the manufacturer ID in app.json and driver.compose.

A few things are working : I can pair the siren, I can play with the cards : data seems sent to the device but I was unable to make the siren sounding …  
Nothing appears on the screen of my phone unless I add :  
this.setCapabilityValue(‘measure\_temperature’, 22) within device.js.

I receive info from the device :

\*\*zigbee-clusters:cluster ep: 1, cl: basic (0) received frame reportAttributes basic.reportAttributes {attributes: \<Buffer 01 00 20 40 e2 ff 20 16\> }  
\*\*zigbee-clusters:cluster ep: 1, cl: basic (0) received frame reportAttributes basic.reportAttributes {attributes: \<Buffer 01 00 20 4a e2 ff 20 38 e4 ff 20 00\>}

But they were never transmited to device.js. So these infos couldn’t be processed.  
It seems very strange.  
I do not understand where the issue could be.  
And, finally, I wonder if this driver has been ever working ?   
If necessary, I could made other tests very easily ….  
Thank you for your help

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 22, 2023, 3:23pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/4 "2023-11-22T15:23:29Z")

</div>

> [@GD91](#):
>
> I receive info from the device :
> 
> \*\*zigbee-clusters:cluster ep: 1, cl: basic (0) received frame reportAttributes basic.reportAttributes {attributes: \<Buffer 01 00 20 40 e2 ff 20 16\> }  
> \*\*zigbee-clusters:cluster ep: 1, cl: basic (0) received frame reportAttributes basic.reportAttributes {attributes: \<Buffer 01 00 20 4a e2 ff 20 38 e4 ff 20 00\>}
> 
> But they were never transmited to device.js. So these infos couldn’t be processed.  
> It seems very strange.

Have you set up [attribute reporting](https://apps.developer.homey.app/wireless/zigbee#attribute-reporting) properly?

---

<div class="post-metadata">

**Author:** ![GD91](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gd91/32/78099_2.png) [@GD91](https://community.homey.app/u/GD91)\
**Post date:** [November 23, 2023, 6:18pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/5 "2023-11-23T18:18:01Z")

</div>

That’s what I have in this section :

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/7/6774bed905959222cf2a67246be846c97a2afc45.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 24, 2023, 5:10am UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/6 "2023-11-24T05:10:09Z")

</div>

I don’t see any attribute reporting code.

---

<div class="post-metadata">

**Author:** ![GD91](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gd91/32/78099_2.png) [@GD91](https://community.homey.app/u/GD91)\
**Post date:** [November 24, 2023, 8:09am UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/7 "2023-11-24T08:09:40Z")

</div>

So, I have to add them ??

I’m surprised because this driver was supposed to work …

Regards

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 24, 2023, 8:48am UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/8 "2023-11-24T08:48:13Z")

</div>

> [@GD91](#):
>
> So, I have to add them ??

Read The Fine Manual.

---

<div class="post-metadata">

**Author:** ![GD91](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gd91/32/78099_2.png) [@GD91](https://community.homey.app/u/GD91)\
**Post date:** [November 24, 2023, 2:07pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/9 "2023-11-24T14:07:46Z")

</div>

I’m trying …

But, when I try to write :  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/688d21101d7d1e1690a0a653a4192b583a498e2c.png)  
I can’t, because TEMPERATURE\_MEASUREMENT is not known 🙂

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/897c700b8e82a0e837bde663e07b1dc5fe40cfc8.png)  
These are my statements :  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/0/608bbe21188abb5736e3b11fe44a5a187b121173.png)

WXhat I’m doing wrong ?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 24, 2023, 2:12pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/10 "2023-11-24T14:12:58Z")

</div>

> [@GD91](#):
>
> WXhat I’m doing wrong ?

Not Reading The Fine Manual! 😡

---

<div class="post-metadata">

**Author:** ![GD91](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gd91/32/78099_2.png) [@GD91](https://community.homey.app/u/GD91)\
**Post date:** [November 24, 2023, 3:36pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/11 "2023-11-24T15:36:00Z")

</div>

Fine Manual ?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 24, 2023, 3:56pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/12 "2023-11-24T15:56:47Z")

</div>

> **[Zigbee](https://apps.developer.homey.app/wireless/zigbee#attribute-reporting)**
>
> Zigbee is a wireless communication standard that extends the IEEE 802.15.4 standard, it uses 2 different frequencies (2.4GHz, 869-915MHz), and is very similar to Z-Wave.

---

<div class="post-metadata">

**Author:** ![GD91](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gd91/32/78099_2.png) [@GD91](https://community.homey.app/u/GD91)\
**Post date:** [November 24, 2023, 5:04pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/13 "2023-11-24T17:04:35Z")

</div>

Ok !

I’m going forward! What is the meaning of this :

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/f/bff9cc21dd47701f15d63bd7230bdcf197172b42.png)  
Thank you very much for your help …

---

<div class="post-metadata">

**Author:** ![GD91](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gd91/32/78099_2.png) [@GD91](https://community.homey.app/u/GD91)\
**Post date:** [November 25, 2023, 3:10pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/14 "2023-11-25T15:10:10Z")

</div>

Regarding the attribute code, I write this :

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/2/32d92bc5624a4867941d2d3b1c982efb8fd257e9.png)  
It was OK for the first statement, but I got an error on the scond :  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/a/4a5bf1b10ef4b0a0db0723b576be6738858774e7.png)  
I am perplex as the cluster exists ! It was Ok for the first statement …  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/8/98b1387f1aed5bd42b9572c1fefbadf6c040bc27.png)  
Thank you for your help …  
Regards

---

<div class="post-metadata">

**Author:** ![GD91](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gd91/32/78099_2.png) [@GD91](https://community.homey.app/u/GD91)\
**Post date:** [November 26, 2023, 5:12pm UTC](https://community.homey.app/t/zigbee-driver-implementation/95238/15 "2023-11-26T17:12:58Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/89a17c52fb3c10e3698eda57c053d35f3e276134.png)  
Good remark …  
How, can I change this …  
I’ve also noticed that a lot of info were transmited via basic cluster instead of tuya.  
And those info seems not processed by the driver.

A difference between interview of the original siren and the new I’m intended to implement is the emergence of this basic cluster

Best regards
