Hi everybody,
I tried everything but I’m not able to use these door sensors… the exact model is ZLGP23 and they are recognized as another model (ZLGP14/ZLGP15/ZLGP16) by Zigbee2MQTT, which is a different type of sensor so it will not work.
I tried with an external converter
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const e = exposes.presets;
const definition = {
zigbeeModel: ['ZLGP14/ZLGP15/ZLGP16'],
model: 'ZLGP23_Fixed',
vendor: 'Legrand',
description: 'Fixed Door Sensor',
fromZigbee: [{
cluster: 'greenPower',
type: ['commandNotification', 'commandCommissioningNotification'],
convert: (model, msg, publish, options, meta) => {
const cmd = msg.data.commandID;
if (cmd === 161 || cmd === 0xA1) return {contact: false};
if (cmd === 162 || cmd === 0xA2) return {contact: true};
},
}],
exposes: [e.contact(), exposes.presets.linkquality],
};
module.exports = definition;
but somehow it still uses the wrong model when I re-pair it.
anyone had success pairing a not official supported green power device with a sonoff zigbee coordinator? what can I do if the software solution doesn’t work?
It’s not really clear to me if it’s enough to buy a supported green power device like philips hue or should I buy also another specific coordinator…
thanks!!