zigbee2mqtt
zigbee2mqtt copied to clipboard
[New device support]:
Link
https://frient.com/products/smart-din-relay/
Database entry
{"id":23,"type":"Router","ieeeAddr":"0x0015bc0014030eaa","nwkAddr":39348,"manufId":4117,"manufName":"frient A/S","powerSource":"Mains (single phase)","modelId":"SMRZB-342","epList":[1,2,242],"endpoints":{"1":{"profId":49353,"epId":1,"devId":1,"inClusterList":[5,6],"outClusterList":[],"clusters":{},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xbc026efffefe6a41","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":81,"inClusterList":[0,2,3,4,5,6,9,1794,2820,2821],"outClusterList":[3,10,25,1030],"clusters":{"genBasic":{"attributes":{"modelId":"SMRZB-342","manufacturerName":"frient A/S","powerSource":1,"zclVersion":7,"dateCode":"2023-11-24 08:20"}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"dateCode":"2023-11-24 08:20","zclVersion":7,"interviewCompleted":true,"meta":{},"lastSeen":1724672468973}
Comments
I am very new to this, can you please add support?
External definition
const {deviceEndpoints, onOff, deviceTemperature, identify, electricityMeter} = require('zigbee-herdsman-converters/lib/modernExtend');
const definition = {
zigbeeModel: ['SMRZB-342'],
model: 'SMRZB-342',
vendor: 'frient A/S',
description: 'Automatically generated definition',
extend: [deviceEndpoints({"endpoints":{"1":1,"2":2}}), onOff({"powerOnBehavior":false,"endpointNames":["1","2"]}), deviceTemperature({"endpointNames":["2"]}), identify(), electricityMeter()],
meta: {"multiEndpoint":true},
};
module.exports = definition;