Skip to content

Commit

Permalink
add Centralite 3323-G Micro-Door sensor (Koenkk#1058)
Browse files Browse the repository at this point in the history
* add Centralite 3323-G Micro-Door sensor

* removing fz.centralite_3323G_contact

* remove genPowerCfg

* Update devices.js

Co-authored-by: Jason Ramey <ramey@helpscout.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
  • Loading branch information
3 people committed Mar 13, 2020
1 parent 2f97a35 commit 7066239
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion devices.js
Expand Up @@ -4787,7 +4787,7 @@ const devices = [
extend: generic.light_onoff_brightness_colortemp,
},

// Centralite Swiss Plug
// Centralite
{
zigbeeModel: ['4256251-RZHAC', '4257050-RZHAC'],
model: '4256251-RZHAC',
Expand Down Expand Up @@ -4825,6 +4825,21 @@ const devices = [
await configureReporting.activePower(endpoint, {'reportableChange': 2}); // Power reports in 0.1W
},
},
{
zigbeeModel: ['3323-G'],
model: '3323-G',
vendor: 'Centralite',
description: 'Micro-door sensor',
supports: 'contact, temperature',
fromZigbee: [fz.ias_contact_alarm_1, fz.temperature],
toZigbee: [],
meta: {configureKey: 1},
configure: async (device, coordinatorEndpoint) => {
const endpoint = device.getEndpoint(1);
await bind(endpoint, coordinatorEndpoint, ['msTemperatureMeasurement']);
await configureReporting.temperature(endpoint);
},
},

// Blaupunkt
{
Expand Down

0 comments on commit 7066239

Please sign in to comment.