Siren for tuya https://aliexpress.ru/item/4001309486955.html
Database:
```{"…id":6,"type":"Router","ieeeAddr":"0xbc33acfffe36d751","nwkAddr":32814,"manufId":4098,"manufName":"_TYZB01_a5tf0bpl","powerSource":"Mains (single phase)","modelId":"TS0216","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1027,"inClusterList":[0,10,1282,1280,61185],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"65503":"3���6�Q[�\u0018'\u0013��\u0018'\u0013","65506":19,"modelId":"TS0216","manufacturerName":"_TYZB01_a5tf0bpl","powerSource":4,"zclVersion":3,"appVersion":86,"stackVersion":0,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0014b554eb","zoneState":0}},"ssIasWd":{"attributes":{"2":0,"61440":0,"maxDuration":60}},"genPowerCfg":{"attributes":{"batteryVoltage":50,"batteryPercentageRemaining":200}}},"binds":[],"meta":{}}},"appVersion":86,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":false,"meta":{},"lastSeen":1602614926897}```
![image](https://user-images.githubusercontent.com/8360230/95903267-99b98c00-0d9e-11eb-84b1-ddc86b9c530a.png)
But the interview doesn't complete:
```
2020-10-13 21:35:02.102 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:controller:endpoint Read 0xbc33acfffe36d751/1 ssIasZone(["iasCieAddr","zoneState"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null})
2020-10-13 21:35:02.103 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal %s:%i/%i (%i,%i,%i)
2020-10-13 21:35:02.103 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequest - {"dstaddr":32814,"destendpoint":1,"srcendpoint":1,"clusterid":1280,"transid":42,"options":0,"radius":30,"len":7,"data":{"type":"Buffer","data":[16,35,0,16,0,0,0]}}
2020-10-13 21:35:02.103 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,17,36,1,46,128,1,1,0,5,42,0,30,7,16,35,0,16,0,0,0,143]
2020-10-13 21:35:02.105 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,1,0,100]
2020-10-13 21:35:02.105 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,1,0,100]
2020-10-13 21:35:02.105 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 1 - [0] - 100
2020-10-13 21:35:02.105 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequest - {"status":0}
2020-10-13 21:35:02.105 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2020-10-13 21:35:02.109 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,42,236]
2020-10-13 21:35:02.109 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,42,236]
2020-10-13 21:35:02.109 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,42] - 236
2020-10-13 21:35:02.109 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":42}
2020-10-13 21:35:02.109 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2020-10-13 21:35:02.113 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,69,196,46,128,0,44]
2020-10-13 21:35:02.113 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,69,196,46,128,0,44]
2020-10-13 21:35:02.113 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 5 - 196 - [46,128,0] - 44
2020-10-13 21:35:02.113 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - srcRtgInd - {"dstaddr":32814,"relaycount":0,"relaylist":[]}
2020-10-13 21:35:02.113 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2020-10-13 21:35:02.162 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,40,68,129,0,0,0,5,46,128,1,1,0,160,0,99,15,32,0,0,20,24,35,1,16,0,0,240,235,84,181,20,0,75,18,0,0,0,0,48,0,46,128,29,160]
2020-10-13 21:35:02.163 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,40,68,129,0,0,0,5,46,128,1,1,0,160,0,99,15,32,0,0,20,24,35,1,16,0,0,240,235,84,181,20,0,75,18,0,0,0,0,48,0,46,128,29,160]
2020-10-13 21:35:02.163 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 40 - 2 - 4 - 129 - [0,0,0,5,46,128,1,1,0,160,0,99,15,32,0,0,20,24,35,1,16,0,0,240,235,84,181,20,0,75,18,0,0,0,0,48,0,46,128,29] - 160
2020-10-13 21:35:02.163 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - incomingMsg - {"groupid":0,"clusterid":1280,"srcaddr":32814,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":160,"securityuse":0,"timestamp":2101091,"transseqnumber":0,"len":20,"data":{"type":"Buffer","data":[24,35,1,16,0,0,240,235,84,181,20,0,75,18,0,0,0,0,48,0]}}
2020-10-13 21:35:02.163 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":35,"manufacturerCode":null,"commandIdentifier":1},"Payload":[{"attrId":16,"status":0,"dataType":240,"attrData":"0x00124b0014b554eb"},{"attrId":0,"status":0,"dataType":48,"attrData":0}]},"address":32814,"endpoint":1,"linkquality":160,"groupID":0}'
2020-10-13 21:35:02.163 - [34mdebug[39m: zigbee.0 (10180) handleMessage. {"type":"readResponse","device":{"ID":6,"_type":"Router","_ieeeAddr":"0xbc33acfffe36d751","_networkAddress":32814,"_manufacturerID":4098,"_endpoints":[{"ID":1,"profileID":260,"deviceID":1027,"inputClusters":[0,10,1282,1280,61185],"outputClusters":[25],"deviceNetworkAddress":32814,"deviceIeeeAddress":"0xbc33acfffe36d751","clusters":{"genBasic":{"attributes":{"modelId":"TS0216","manufacturerName":"_TYZB01_a5tf0bpl","powerSource":4,"zclVersion":3,"appVersion":86,"stackVersion":0,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0014b554eb","zoneState":0}},"ssIasWd":{"attributes":{"2":0,"61440":2,"maxDuration":60}},"genPowerCfg":{"attributes":{"batteryVoltage":50,"batteryPercentageRemaining":200}}},"_binds":[],"meta":{}}],"_manufacturerName":"_TYZB01_a5tf0bpl","_powerSource":"Mains (single phase)","_modelID":"TS0216","_applicationVersion":86,"_stackVersion":0,"_zclVersion":3,"_hardwareVersion":1,"_dateCode":"","_interviewCompleted":false,"_interviewing":true,"meta":{},"_lastSeen":1602614102163},"endpoint":"[Circular]","data":{"iasCieAddr":"0x00124b0014b554eb","zoneState":0},"linkquality":160,"groupID":0,"cluster":"ssIasZone","meta":{"zclTransactionSequenceNumber":35,"manufacturerCode":null,"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0}}}
2020-10-13 21:35:02.163 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2020-10-13 21:35:02.163 - [34mdebug[39m: zigbee.0 (10180) Received Zigbee message from '0xbc33acfffe36d751', type 'readResponse', cluster 'ssIasZone', data '{"iasCieAddr":"0x00124b0014b554eb","zoneState":0}' from endpoint 1 with groupID 0
2020-10-13 21:35:02.163 - [34mdebug[39m: zigbee.0 (10180) Type readResponse device {"type":"device","device":{"ID":6,"_type":"Router","_ieeeAddr":"0xbc33acfffe36d751","_networkAddress":32814,"_manufacturerID":4098,"_endpoints":[{"ID":1,"profileID":260,"deviceID":1027,"inputClusters":[0,10,1282,1280,61185],"outputClusters":[25],"deviceNetworkAddress":32814,"deviceIeeeAddress":"0xbc33acfffe36d751","clusters":{"genBasic":{"attributes":{"modelId":"TS0216","manufacturerName":"_TYZB01_a5tf0bpl","powerSource":4,"zclVersion":3,"appVersion":86,"stackVersion":0,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0014b554eb","zoneState":0}},"ssIasWd":{"attributes":{"2":0,"61440":2,"maxDuration":60}},"genPowerCfg":{"attributes":{"batteryVoltage":50,"batteryPercentageRemaining":200}}},"_binds":[],"meta":{}}],"_manufacturerName":"_TYZB01_a5tf0bpl","_powerSource":"Mains (single phase)","_modelID":"TS0216","_applicationVersion":86,"_stackVersion":0,"_zclVersion":3,"_hardwareVersion":1,"_dateCode":"","_interviewCompleted":false,"_interviewing":true,"meta":{},"_lastSeen":1602614102163},"mapped":{"zigbeeModel":["TS0216"],"model":"TS0216","vendor":"Tuya","description":"Sound and flash siren","supports":"temperature, humidity, alarm","fromZigbee":[],"toZigbee":[]},"name":"0xbc33acfffe36d751"} incoming event: {"type":"readResponse","device":{"ID":6,"_type":"Router","_ieeeAddr":"0xbc33acfffe36d751","_networkAddress":32814,"_manufacturerID":4098,"_endpoints":[{"ID":1,"profileID":260,"deviceID":1027,"inputClusters":[0,10,1282,1280,61185],"outputClusters":[25],"deviceNetworkAddress":32814,"deviceIeeeAddress":"0xbc33acfffe36d751","clusters":{"genBasic":{"attributes":{"modelId":"TS0216","manufacturerName":"_TYZB01_a5tf0bpl","powerSource":4,"zclVersion":3,"appVersion":86,"stackVersion":0,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0014b554eb","zoneState":0}},"ssIasWd":{"attributes":{"2":0,"61440":2,"maxDuration":60}},"genPowerCfg":{"attributes":{"batteryVoltage":50,"batteryPercentageRemaining":200}}},"_binds":[],"meta":{}}],"_manufacturerName":"_TYZB01_a5tf0bpl","_powerSource":"Mains (single phase)","_modelID":"TS0216","_applicationVersion":86,"_stackVersion":0,"_zclVersion":3,"_hardwareVersion":1,"_dateCode":"","_interviewCompleted":false,"_interviewing":true,"meta":{},"_lastSeen":1602614102163},"endpoint":"[Circular]","data":{"iasCieAddr":"0x00124b0014b554eb","zoneState":0},"linkquality":160,"groupID":0,"cluster":"ssIasZone","meta":{"zclTransactionSequenceNumber":35,"manufacturerCode":null,"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0}}}
2020-10-13 21:35:02.164 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:controller:device:log Interview - IAS - after enrolling state (19): '{"iasCieAddr":"0x00124b0014b554eb","zoneState":0}'
2020-10-13 21:35:02.164 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:controller:device:log Interview - failed for device '0xbc33acfffe36d751' with error 'Error: Interview failed because of failed IAS enroll (zoneState didn't change ('0xbc33acfffe36d751')
at Device.<anonymous> (D:\iobroker\home\node_modules\zigbee-herdsman\dist\controller\model\device.js:431:31)
at Generator.next (<anonymous>)
at fulfilled (D:\iobroker\home\node_modules\zigbee-herdsman\dist\controller\model\device.js:24:58)'
2020-10-13 21:35:02.189 - [34mdebug[39m: zigbee.0 (10180) zigbee-herdsman:controller:error Interview failed for '0xbc33acfffe36d751 with error 'Error: Interview failed because of failed IAS enroll (zoneState didn't change ('0xbc33acfffe36d751')'
```
I will write converters, but I don’t know what to do with the interview yet.
Sniffing log with original gateway:
[tuya_siren.zip](https://github.com/Koenkk/zigbee2mqtt/files/5373501/tuya_siren.zip)