From 25ba935c3728f845268f2d3025ec8cf78c762f02 Mon Sep 17 00:00:00 2001 From: albatorsk Date: Thu, 7 Apr 2022 16:05:49 +0200 Subject: [PATCH] Add CCT592011 (#4096) I don't really know what I'm doing, but by following https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html and doing as best I could I got the CCT592011 to work with zigbee2mqtt. --- devices/schneider_electric.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/devices/schneider_electric.js b/devices/schneider_electric.js index 871589993d4f8..377e9897baf62 100644 --- a/devices/schneider_electric.js +++ b/devices/schneider_electric.js @@ -776,6 +776,15 @@ module.exports = [ await reporting.onOff(endpoint2); }, }, + { + zigbeeModel: ['CCT592011_AS'], + model: 'CCT592011', + vendor: 'Schneider Electric', + description: 'Wiser water leakage sensor', + fromZigbee: [fz.ias_water_leak_alarm_1], + toZigbee: [], + exposes: [e.battery_low(), e.water_leak(), e.tamper()], + }, { fingerprint: [{modelID: 'GreenPower_254', ieeeAddr: /^0x00000000e.......$/}], model: 'A9MEM1570',