Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.12k stars 1.68k forks source link

[New device support]: Frient Smart Relay 2 SMRZB-342 #23399

Open TechsDomadoo opened 3 months ago

TechsDomadoo commented 3 months ago

Link

https://www.domadoo.fr/en/actuators-dimmers/6519-16a-zigbee-onoff-smart-relay-din-rail-format-consumption-measurement-frient-5713594004495.html

Database entry

Type d'appareil Router Modèle Zigbee SMRZB-342 Constructeur Zigbee frient A/S État de prise en charge Non pris en charge (how_to_add_support) Adresse IEEE 0x0015bc0014030dee Adresse réseau 0x9904

Comments

Previous version SMRZB-332 is supported : https://www.zigbee2mqtt.io/devices/SMRZB-332.html But not this new version SMRZB-342

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;
Teeseeone commented 2 months ago

Did you get this to work? I have an unsupported device.

image

Teeseeone commented 1 month ago

Please add this device to Z2M