immax cz send me Uart table
|DP ID | DP Name | Identifier | Data Transfer Typ…e | Data Type | Properties|
|-- | -- | -- | -- | -- | --|
|4 | alert | alert_state | Send and Report | Bool |
|5 | Alarm Volume | alarm_volume | Send and Report | Enum | Enum Value: mute, low, middle, high|
|6 | Power supply state | supply_state | Report Only | Bool |
|13 | Alarm Switch | alarm_switch | Send and Report | Bool |
|14 | Battery level | battery_percentage | Report Only | Value | Value Range: 0-500, Pitch: 1, Scale: 0, Unit: %|
|17 | Brightness Adjustment | alarm_bright | Send and Report | Enum | Enum Value: dark, weak, middle, strong|
|18 | alarm time | alarm_time2 | Send and Report | Value | Value Range: 0-180, Pitch: 1, Scale: 0, Unit:|
my js:
fingerprint: [
{
modelID: 'TS0219',
manufacturerName: '_TYZB01_b6eaxdlh',
},
],
model: '07504L',
vendor: 'Immax',
description: 'Smart siren',
fromZigbee: [fz.battery, fz.ts0216_siren, fz.power_source],
toZigbee: [tz.warning, tz.ts0216_alarm, tz.ts0216_duration, tz.ts0216_volume],
exposes: [
e.battery(),
e.battery_voltage(),
exposes.binary('alarm', ea.STATE_SET, true, false),
exposes.numeric('volume', ea.ALL).withValueMin(0).withValueMax(50).withDescription('Volume of siren'),
exposes.numeric('duration', ea.STATE_SET).withValueMin(0).withValueMax(240).withValueStep(5)
.withUnit('s').withDescription('Alarm time'),
],
meta: {disableDefaultResponse: true,},
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
const bindClusters = ['genPowerCfg', 'genBasic', 'ssIasZone', 'ssIasWd'];
await endpoint.read('ssIasZone', ['zoneState', 'zoneStatus', 'iasCieAddr', 'zoneId']);
await endpoint.read('ssIasWd', ['1', '2', '3', 'maxDuration']);
await reporting.bind(endpoint, coordinatorEndpoint, bindClusters);
await reporting.batteryVoltage(endpoint);
await reporting.batteryPercentageRemaining(endpoint);
if (device.powerSource == 'Mains (3 phase)') {
device.powerSource = 'Mains (single phase)';
} else if (device.powerSource == 'Emergency mains and transfer switch') {
device.powerSource = 'Battery';
}
device.save();
},

and state:
`{
"ac_status": false,
"alarm": false,
"battery": 90,
"battery_low": false,
"linkquality": 58,
"power_source": "mains_three_phase",
"restore_reports": false,
"state": "OFF",
"supervision_reports": true,
"tamper": false,
"test": false,
"voltage": 4100,
"volume": 111
}`
db:
`
{"id":42,"type":"Router","ieeeAddr":"0x847127fffea490bf","nwkAddr":12466,"manufId":0,"manufName":"_TYZB01_b6eaxdlh","powerSource":"Mains (3 phase)","modelId":"TS0219","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1027,"inClusterList":[0,1,3,4,5,1280,1282,61183],"outClusterList":[3,25],"clusters":{"genBasic":{"attributes":{"modelId":"TS0219","manufacturerName":"_TYZB01_b6eaxdlh","powerSource":2}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0008c98813","zoneState":1,"zoneStatus":16,"zoneId":23}},"genPowerCfg":{"attributes":{"batteryVoltage":42,"batteryPercentageRemaining":200}},"ssIasWd":{"attributes":{"1":50,"2":100,"3":0,"maxDuration":10}}},"binds":[{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x00124b0008c98813","endpointID":1},{"cluster":0,"type":"endpoint","deviceIeeeAddress":"0x00124b0008c98813","endpointID":1},{"cluster":1280,"type":"endpoint","deviceIeeeAddress":"0x00124b0008c98813","endpointID":1},{"cluster":1282,"type":"endpoint","deviceIeeeAddress":"0x00124b0008c98813","endpointID":1}],"configuredReportings":[{"cluster":1,"attrId":32,"minRepIntval":3600,"maxRepIntval":62000,"repChange":0},{"cluster":1,"attrId":33,"minRepIntval":3600,"maxRepIntval":62000,"repChange":0}],"meta":{}}},"appVersion":80,"stackVersion":2,"hwVersion":2,"dateCode":"20190430","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1678613392},"lastSeen":1676900513514,"defaultSendRequestWhen":"immediate"}
`
any help please
_Originally posted by @haade-administrator in https://github.com/Koenkk/zigbee-herdsman-converters/issues/2470#issuecomment-1422192041_