zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support] REXZB-111 from frient A/S

Open danigio15 opened this issue 1 year ago • 3 comments

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},
};

danigio15 avatar Oct 06 '25 15:10 danigio15

Could you make a PR by clicking here?

Koenkk avatar Oct 06 '25 18:10 Koenkk

it was time it became compatible by Z2M,many people were asking for this

badr-ctrl avatar Oct 07 '25 13:10 badr-ctrl

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.

Koenkk avatar Oct 07 '25 20:10 Koenkk