zigbee2mqtt
zigbee2mqtt copied to clipboard
[New device support] REXZB-111 from frient A/S
Link
What does/doesn't work with the external definition?
Details
zigbee-herdsman-converters: 25.35.1
software_build_id: undefined
date_code: 2024-02-19 14:27
endpoints:
{"1":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x348d13fffe1160a7","type":"endpoint"}}],"clusters":{"input":["genScenes","genOnOff"],"output":[]},"configured_reportings":[],"name":"1","scenes":[]},"37":{"bindings":[],"clusters":{"input":["genBasic","genPowerCfg","genIdentify","genGroups","ssIasZone","haDiagnostic"],"output":["genIdentify","genTime","genOta"]},"configured_reportings":[],"name":"37","scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":[]},"configured_reportings":[],"scenes":[]}}
External definition:
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';
export default {
zigbeeModel: ['REXZB-111'],
model: 'REXZB-111',
vendor: 'frient A/S',
description: 'Automatically generated definition',
extend: [m.deviceEndpoints({"endpoints":{"1":1,"37":37}}), m.onOff({"powerOnBehavior":false}), m.battery(), m.iasZoneAlarm({"zoneType":"generic","zoneAttributes":["alarm_1","alarm_2","tamper","battery_low"]})],
meta: {"multiEndpoint":true},
};
Could you make a PR by clicking here?
it was time it became compatible by Z2M,many people were asking for this
Added in https://github.com/Koenkk/zigbee-herdsman-converters/pull/10234
Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.