### Link
https://rtx24.eu/products/bezpiecznik-sterowany-2x-16a-zigbee-tuya-p…omiar-energii
### Database entry
{"id":22,"type":"Router","ieeeAddr":"0xa4c138bf020d6e90","nwkAddr":37821,"manufId":4417,"manufName":"_TZE200_abatw3kj","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"�K<*i�K<*i�K<*i�K<*i�K<*i�K<*i","65506":34,"65508":0,"appVersion":64,"modelId":"TS0601","manufacturerName":"_TZE200_abatw3kj","powerSource":1,"zclVersion":3,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[{"cluster":0,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a8d6","endpointID":1}],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":64,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":821693351},"lastSeen":1655272767284,"defaultSendRequestWhen":"immediate"}
### Comments
Hello.
I bought product from link. Based on https://zigbee.blakadder.com/RTX_ZCB16-2P.html it should be compatibile with zigbee2mqtt, but my vendorid is different - _TZE200_abatw3kj . So i Try to write attached converter based on TS0601_din , but it doesn't work and I get in log errors :
> debug 2022-06-15 07:51:09: Received Zigbee message from 'RTX', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":16}],"seq":53541}' from endpoint 1 with groupID null
> info 2022-06-15 07:51:09: Coordinator firmware version: '{"meta":{"maintrel":0,"majorrel":38,"minorrel":114,"product":0,"revision":"0x26720700","transportrev":0},"type":"ConBee2/RaspBee2"}'
> debug 2022-06-15 07:51:09: Received Zigbee message from 'RTX', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":16}],"seq":53541}' from endpoint 1 with groupID null
> debug 2022-06-15 07:51:09: Received Zigbee message from 'RTX', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":16}],"seq":53541}' from endpoint 1 with groupID null
>
> info 2022-06-15 07:51:11: Configuring 'RTX'
> error 2022-06-15 07:51:11: Failed to configure 'RTX', attempt 1 (Error: Bind 0xa4c138bf020d6e90/1 genOnOff from '0x00212effff06a8d6/1' failed (Error: status: 130)
> at DeconzAdapter.bind (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:765:19)
> at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:567:13)
> at Object.bind (/app/node_modules/zigbee-herdsman-converters/lib/reporting.js:40:9)
> at Object.configure (/app/dist/util/externally-loaded.js:18:13)
> at Configure.configure (/app/lib/extension/configure.ts:115:13)
> at Configure.start (/app/lib/extension/configure.ts:68:13)
> at Controller.callExtensions (/app/lib/controller.ts:317:17)
> at Controller.start (/app/lib/controller.ts:154:9)
> at start (/app/index.js:109:5))
>
>
> debug 2022-06-15 07:52:16: Received Zigbee message from 'RTX', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":16}],"seq":59685}' from endpoint 1 with groupID null
> warn 2022-06-15 07:52:16: zigbee-herdsman-converters:TuyaDinRailSwitch: NOT RECOGNIZED DP #16 with data {"dp":16,"datatype":1,"data":{"type":"Buffer","data":[0]}}
> debug 2022-06-15 07:52:16: Received Zigbee message from 'RTX', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,3],"type":"Buffer"},"datatype":2,"dp":1}],"seq":59941}' from endpoint 1 with groupID null
> info 2022-06-15 07:52:16: MQTT publish: topic 'zigbee2mqtt/RTX', payload '{"current":null,"device":{"applicationVersion":64,"dateCode":"","friendlyName":"RTX","hardwareVersion":1,"ieeeAddr":"0xa4c138bf020d6e90","manufacturerID":4417,"manufacturerName":"_TZE200_abatw3kj","model":"ZCB16-2P","networkAddress":37821,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"energy":null,"linkquality":232,"power":null,"state":"ON","voltage":null}'
> debug 2022-06-15 07:52:16: Received Zigbee message from 'RTX', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":5,"dp":9}],"seq":60197}' from endpoint 1 with groupID null
> warn 2022-06-15 07:52:16: zigbee-herdsman-converters:TuyaDinRailSwitch: NOT RECOGNIZED DP #9 with data {"dp":9,"datatype":5,"data":{"type":"Buffer","data":[0]}}
> debug 2022-06-15 07:52:16: Received Zigbee message from 'RTX', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[9,126,0,0,0,0,0,0],"type":"Buffer"},"datatype":0,"dp":6}],"seq":60453}' from endpoint 1 with groupID null
> warn 2022-06-15 07:52:16: zigbee-herdsman-converters:TuyaDinRailSwitch: NOT RECOGNIZED DP #6 with data {"dp":6,"datatype":0,"data":{"type":"Buffer","data":[9,126,0,0,0,0,0,0]}}
> debug 2022-06-15 07:52:16: Received Zigbee message from 'RTX', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1,1,0,63,3,1,1,19,4,1,0,175],"type":"Buffer"},"datatype":0,"dp":18}],"seq":60709}' from endpoint 1 with groupID null
> info 2022-06-15 07:52:16: MQTT publish: topic 'zigbee2mqtt/RTX', payload '{"current":null,"device":{"applicationVersion":64,"dateCode":"","friendlyName":"RTX","hardwareVersion":1,"ieeeAddr":"0xa4c138bf020d6e90","manufacturerID":4417,"manufacturerName":"_TZE200_abatw3kj","model":"ZCB16-2P","networkAddress":37821,"powerSource":"Mains (single phase)","stackVersion":0,"type":"Router","zclVersion":3},"energy":null,"linkquality":220,"power":null,"state":"ON","voltage":null}'
> debug 2022-06-15 07:52:16: Received Zigbee message from 'RTX', type 'commandDataResponse', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[69,84,85,49,45,73,79,84,45,90,105,103,98,101,101,0],"type":"Buffer"},"datatype":3,"dp":19}],"seq":60965}' from endpoint 1 with groupID null
>
>
>
### External converter
```shell
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require("zigbee-herdsman-converters/lib/tuya");
const definition = {
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_abatw3kj'} ],
model: 'ZCB16-2P',
vendor: 'RTX',
description: 'Circuit breaker with meter',
fromZigbee: [fz.tuya_dinrail_switch],
toZigbee: [tz.tuya_switch_state],
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
},
exposes: [e.switch().setAccess('state', ea.STATE_SET), e.voltage(), e.power(), e.current(), e.energy()],
};
module.exports = definition;
```
### Supported color modes
_No response_
### Color temperature range
_No response_