zigbee-herdsman-converters
Version:
Collection of device converters to be used with zigbee-herdsman
986 lines • 37 kB
JavaScript
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const dataType_1 = __importDefault(require("zigbee-herdsman/dist/zcl/definition/dataType"));
const modernExtend_1 = require("../lib/modernExtend");
const ikea_1 = require("../lib/ikea");
const definitions = [
// #region light
// lights naming convention: type, light capabilities, form, diffuser type, brightness
// #region E26/E27/B22
{
zigbeeModel: [
'TRADFRI bulb E27 WS opal 980lm',
'TRADFRI bulb E26 WS opal 980lm',
'TRADFRI bulb E27 WS\uFFFDopal 980lm'
],
model: 'LED1545G12',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, opal, 980 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRI bulb E27 CWS globe 806lm'],
model: 'LED2109G6',
vendor: 'IKEA',
description: 'TRADFRI bulb E27, color/white spectrum, globe, opal, 806 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true, color: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 WS clear 950lm',
'TRADFRI bulb E26 WS clear 950lm',
'TRADFRI bulb E27 WS\uFFFDclear 950lm'
],
model: 'LED1546G12',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, clear, 950 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 opal 1000lm',
'TRADFRI bulb E27 W opal 1000lm',
],
model: 'LED1623G12',
vendor: 'IKEA',
description: 'TRADFRI bulb E27, white, globe, opal, 1000 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 WW globe 806lm',
'TRADFRI bulb E26 WW globe 800lm',
'TRADFRI bulb E26 WW globe 806lm',
],
model: 'LED2103G5',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, warm white, globe, 806 lumen',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRIbulbE26WWglobeclear250lm'],
model: 'LED2008G3',
vendor: 'IKEA',
description: 'TRADFRI bulb E26, warm white, globe, clear, 250 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 WW G95 CL 470lm',
'TRADFRI bulb E26 WW G95 CL 450lm',
'TRADFRI bulb E26 WW G95 CL 440lm',
'TRADFRI bulb E26 WW G95 CL 470lm',
],
model: 'LED2102G3',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, warm white, globe, clear, 440/450/470 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRIbulbG125E27WSopal470lm',
'TRADFRIbulbG125E26WSopal450lm',
'TRADFRIbulbG125E26WSopal470lm',
],
model: 'LED1936G5',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, opal, 450/470 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRIbulbE27WSglobeopal1055lm',
'TRADFRIbulbE26WSglobeopal1100lm',
'TRADFRIbulbE26WSglobeopal1160lm',
'TRADFRIbulbE26WSglobeopal1055lm',
'TRADFRI bulb E26 WS globe 1160lm',
],
model: 'LED2003G10',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/27, white spectrum, globe, opal, 1055/1100/1160 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRIbulbE26WSglobeclear800lm',
'TRADFRIbulbE27WSglobeclear806lm',
'TRADFRIbulbE26WSglobeclear806lm',
],
model: 'LED2004G8',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, clear, 800/806 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 opal 470lm',
'TRADFRI bulb E27 W opal 470lm',
'TRADFRIbulbT120E27WSopal470lm',
'TRADFRIbulbT120E26WSopal450lm',
'TRADFRIbulbT120E26WSopal470lm',
],
model: 'LED1937T5',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, T120 cylinder, opal, 450/470 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 WW clear 250lm',
'TRADFRI bulb E26 WW clear 250lm',
],
model: 'LED1842G3',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, warm white, globe, clear, 250 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRIbulbE27WWclear250lm',
'TRADFRIbulbE26WWclear250lm',
],
model: 'LED1934G3',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, warm white, globe, clear, 250 lm',
extend: [(0, ikea_1.ikeaLight)({ turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E26 opal 1000lm',
'TRADFRI bulb E26 W opal 1000lm',
],
model: 'LED1622G12',
vendor: 'IKEA',
description: 'TRADFRI bulb E26, white, globe, opal, 1000 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E26 CWS 800lm',
'TRADFRI bulb E27 CWS 806lm',
'TRADFRI bulb E26 CWS 806lm',
'TRADFRI bulb E26 CWS 810lm',
],
model: 'LED1924G9',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, color/white spectrum, globe, opal, 800/806/810 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true, color: true, turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 WS opal 1000lm',
'TRADFRI bulb E26 WS opal 1000lm',
],
model: 'LED1732G11',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, opal, 1000 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 WW 806lm',
'TRADFRI bulb E26 WW 806lm',
],
model: 'LED1836G9',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, warm white, globe, opal, 806 lm',
extend: [(0, ikea_1.ikeaLight)({ turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E27 WS clear 806lm',
'TRADFRI bulb E26 WS clear 806lm',
],
model: 'LED1736G9',
vendor: 'IKEA',
description: 'TRADFRI bulb E26/E27, white spectrum, globe, clear, 806 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRI bulb E27 WS globe 1055lm'],
model: 'LED2201G8',
vendor: 'IKEA',
description: 'TRADFRI bulb E27, white spectrum, globe, opal, 1055 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRIbulbPAR38WS900lm'],
model: 'LED2006R9',
vendor: 'IKEA',
description: 'TRADFRI bulb E26, white spectrum, PAR38 downlight, clear, 900 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRIbulbB22WSglobeopal1055lm',
'TRADFRIbulbB22WSglobeopal1055lm',
],
model: 'LED2035G10',
vendor: 'IKEA',
description: 'TRADFRI bulb B22, white spectrum, globe, opal, 1055 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
// #endregion E26/E27/B22
{
zigbeeModel: [
'TRADFRI bulb E27 CWS opal 600lm',
'TRADFRI bulb E26 CWS opal 600lm',
'TRADFRI bulb E14 CWS opal 600lm',
'TRADFRI bulb E12 CWS opal 600lm',
'TRADFRI bulb E27 C/WS opal 600',
],
model: 'LED1624G9',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E26/E27, color/white spectum, globe, opal, 600 lm',
extend: [
(0, ikea_1.ikeaLight)({ colorTemp: { range: [153, 500], viaColor: true }, color: true }), // light is pure RGB (XY), advertise 2000K-6500K
(0, modernExtend_1.identify)(),
],
},
// #region E12/E14/E17
{
zigbeeModel: ['TRADFRI bulb E14 WS candle 470lm'],
model: 'LED2107C4',
vendor: 'IKEA',
description: 'TRADFRI bulb E14, white spectrum, candle, opal, 470 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E14 WS opal 400lm',
'TRADFRI bulb E12 WS opal 400lm',
],
model: 'LED1536G5',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14, white spectrum, globe, opal, 400 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E14 WS 470lm',
'TRADFRI bulb E12 WS 450lm',
'TRADFRI bulb E17 WS 440lm',
],
model: 'LED1835C6',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E17, white spectrum, candle, opal, 450/470/440 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E14 WS globe 470lm',
'TRADFRI bulb E12 WS globe 450lm',
],
model: 'LED2101G4',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14, white spectrum, globe, opal, 450/470 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRI bulb E14 WS opal 600lm'],
model: 'LED1733G7',
vendor: 'IKEA',
description: 'TRADFRI bulb E14, white spectrum, globe, opal, 600 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E14 W op/ch 400lm',
'TRADFRI bulb E12 W op/ch 400lm',
'TRADFRI bulb E17 W op/ch 400lm',
],
model: 'LED1649C5',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E17, white, candle, opal, 400 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRIbulbE14WSglobeopal470lm',
'TRADFRIbulbE12WSglobeopal470lm',
'TRADFRI bulb E17 WS globe 440lm',
'TRADFRIbulbE17WSglobeopal470lm',
],
model: 'LED2002G5',
vendor: 'IKEA',
description: 'TRADFRI bulb E14/E12/E17, white spectrum, globe, clear, 440/470 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E12 WS opal 600lm',
'TRADFRI bulb E17 WS opal 600lm',
],
model: 'LED1738G7',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E17, white spectrum, globe, opal, 600 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb E14 CWS 470lm',
'TRADFRI bulb E12 CWS 450lm',
'TRADFRI bulb E17 CWS 440lm',
],
model: 'LED1925G6',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E17, color/white spectrum, globe, opal, 440/450/470 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true, color: true, turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRIbulbE14WWclear250lm',
'TRADFRIbulbE12WWclear250lm',
'TRADFRIbulbE17WWclear250lm',
],
model: 'LED1935C3',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14/E17, warm white, candle, clear, 250 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRIbulbE12WWcandleclear250lm'],
model: 'LED2009C3',
vendor: 'IKEA',
description: 'TRADFRI bulb E12, warm white, candle, clear, 250 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRIbulbE14WScandleopal470lm',
'TRADFRIbulbE12WScandleopal450lm',
],
model: 'LED1949C5',
vendor: 'IKEA',
description: 'TRADFRI bulb E12/E14, white spectrum, candle, opal, 450/470 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRI bulb E14 CWS globe 806lm'],
model: 'LED2111G6',
vendor: 'IKEA',
description: 'TRADFRI bulb E14, color/white spectrum, globe, opal, 806 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true, color: true }), (0, modernExtend_1.identify)()],
},
// #endregion E12/E14/E17
// #region GU10
{
zigbeeModel: [
'\u001aTRADFRI bulb GU10 WW 345lm',
'TRADFRI bulb GU10 WW 345lm',
'\\u001TRADFRI bulb GU10 WW 345lm',
'\u001aTRADFRI bulb GU10 WW 345lm8',
'TRADFRI bulb GU10 WW 380lm',
],
model: 'LED2104R3',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, warm white, 345/380 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRI bulb GU10 WS 400lm'],
model: 'LED1537R6/LED1739R5',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, white spectrum, 400 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRI bulb GU10 W 400lm'],
model: 'LED1650R5',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, white, 400 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRI bulb GU10 WW 400lm'],
model: 'LED1837R5',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, warm white, 400 lm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI bulb GU10 CWS 345lm',
'TRADFRI bulb GU10 CWS 380lm',
],
model: 'LED1923R5',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, color/white spectrum, 345/380 lm',
extend: [
(0, ikea_1.ikeaLight)({ colorTemp: { range: [153, 500], viaColor: true }, color: true }), // light is pure RGB (XY), advertise 2000K-6500K
(0, modernExtend_1.identify)(),
],
},
{
zigbeeModel: [
'TRADFRI_bulb_GU10_WS_345lm',
'TRADFRIbulbGU10WS345lm',
'TRADFRI bulb GU10 WS 345lm',
'TRADFRIbulbGU10WS380lm',
],
model: 'LED2005R5/LED2106R3',
vendor: 'IKEA',
description: 'TRADFRI bulb GU10, white spectrum, 345/380 lm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
// #endregion GU10
// #region light panels
{
zigbeeModel: ['LEPTITER Recessed spot light'],
model: 'T1820',
vendor: 'IKEA',
description: 'LEPTITER recessed spot light, white spectrum',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['STOFTMOLN ceiling/wall lamp WW37'],
model: 'T2037',
vendor: 'IKEA',
description: 'STOFTMOLN ceiling/wall lamp, warm white, 37 cm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['STOFTMOLN ceiling/wall lamp WW24'],
model: 'T2035',
vendor: 'IKEA',
description: 'STOFTMOLN ceiling/wall lamp, warm white, 24 cm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['STOFTMOLN ceiling/wall lamp WW10'],
model: 'T2105',
vendor: 'IKEA',
description: 'STOFTMOLN ceiling/wall lamp, warm white, 10 cm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['STOFTMOLN ceiling/wall lamp WW15'],
model: 'T2106',
vendor: 'IKEA',
description: 'STOFTMOLN ceiling/wall lamp, warm white, 15 cm',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['JETSTROM 40100'],
model: 'L2208',
vendor: 'IKEA',
description: 'JETSTROM ceiling light panel, white spectrum, 100x40 cm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['JETSTROM 6060'],
model: 'L2207',
vendor: 'IKEA',
description: 'JETSTROM ceiling light panel, white spectrum, 60x60 cm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['JETSTROM 3030 wall'],
model: 'L2205',
vendor: 'IKEA',
description: 'JETSTROM wall light panel, color/white spectrum, 30x30 cm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true, color: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['JETSTROM 3030 ceiling'],
model: 'L2206',
vendor: 'IKEA',
description: 'JETSTROM ceiling light panel, color/white spectrum, 30x30 cm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true, color: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['JORMLIEN door WS 40x80'],
model: 'L1530',
vendor: 'IKEA',
description: 'JORMLIEN door light panel, white spectrum, 40x80 cm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['FLOALT panel WS 30x30'],
model: 'L1527',
vendor: 'IKEA',
description: 'FLOALT light panel, white spectrum, 30x30 cm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true, turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['FLOALT panel WS 60x60'],
model: 'L1529',
vendor: 'IKEA',
description: 'FLOALT light panel, white spectrum, 60x60 cm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true, turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['FLOALT panel WS 30x90'],
model: 'L1528',
vendor: 'IKEA',
description: 'FLOALT light panel, white spectrum, 30x90 cm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true, turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['SURTE door WS 38x64'],
model: 'L1531',
vendor: 'IKEA',
description: 'SURTE door light panel, white spectrum, 38x64 cm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['GUNNARP panel round'],
model: 'T1828',
vendor: 'IKEA',
description: 'GUNNARP light panel, round',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['GUNNARP panel 40*40'],
model: 'T1829',
vendor: 'IKEA',
description: 'GUNNARP light panel, 40x40 cm',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['TRADFRI Light Engine'],
model: 'T2011',
vendor: 'IKEA',
description: 'OSVALLA panel round',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
// #endregion light panels
// #region other lights
{
zigbeeModel: ['NYMANE PENDANT'],
model: '90504044',
vendor: 'IKEA',
description: 'NYMANE pendant lamp',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['Pendant lamp WW'],
model: 'T2030',
vendor: 'IKEA',
description: 'PILSKOTT pendant lamp, warm white',
extend: [(0, ikea_1.ikeaLight)({ turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['Floor lamp WW'],
model: 'G2015',
vendor: 'IKEA',
description: 'PILSKOTT floor lamp, warm white',
extend: [(0, ikea_1.ikeaLight)(), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['ORMANAS LED Strip'],
model: 'L2112',
vendor: 'IKEA',
description: 'ORMANAS LED strip',
extend: [(0, ikea_1.ikeaLight)({ colorTemp: true, color: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI transformer 10W',
'TRADFRI Driver 10W',
],
model: 'ICPSHC24-10EU-IL-1/ICPSHC24-10EU-IL-2',
vendor: 'IKEA',
description: 'TRADFRI LED driver, 10 w',
extend: [(0, ikea_1.ikeaLight)({ turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: [
'TRADFRI transformer 30W',
'TRADFRI Driver 30W',
],
model: 'ICPSHC24-30EU-IL-1/ICPSHC24-10EU-IL-2',
vendor: 'IKEA',
description: 'TRADFRI LED driver, 30 w',
extend: [(0, ikea_1.ikeaLight)({ turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
{
zigbeeModel: ['SILVERGLANS IP44 LED driver'],
model: 'ICPSHC24-30-IL44-1',
vendor: 'IKEA',
description: 'SILVERGLANS LED driver, 30 w, IP44',
extend: [(0, ikea_1.ikeaLight)({ turnsOffAtBrightness1: true }), (0, modernExtend_1.identify)()],
},
// #endregion other lights
// #endregion light
// #region on/off controls
{
zigbeeModel: ['TRADFRI control outlet'],
model: 'E1603/E1702/E1708',
vendor: 'IKEA',
description: 'TRADFRI control outlet',
extend: [
(0, modernExtend_1.onOff)(),
(0, modernExtend_1.identify)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['ASKVADER on/off switch'],
model: 'E1836',
vendor: 'IKEA',
description: 'ASKVADER on/off switch',
extend: [
(0, modernExtend_1.onOff)(),
(0, modernExtend_1.identify)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['KNYCKLAN receiver'],
model: 'E1842',
vendor: 'IKEA',
description: 'KNYCKLAN electronic dishwasher shut-off unit',
extend: [
(0, modernExtend_1.onOff)(),
(0, modernExtend_1.iasZoneAlarm)({ zoneType: 'water_leak', zoneAttributes: ['alarm_1'] }),
(0, modernExtend_1.identify)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['TRETAKT Smart plug'],
model: 'E2204',
vendor: 'IKEA',
description: 'TRETAKT smart plug',
extend: [
(0, modernExtend_1.onOff)(),
(0, modernExtend_1.identify)(),
(0, ikea_1.ikeaOta)(),
],
},
// #endregion on/off controls
// #region blinds
{
zigbeeModel: ['FYRTUR block-out roller blind'],
model: 'E1757',
vendor: 'IKEA',
description: 'FYRTUR roller blind, block-out',
extend: [
(0, ikea_1.ikeaConfigureGenPollCtrl)(),
(0, modernExtend_1.windowCovering)({ controls: ['lift'] }),
(0, modernExtend_1.identify)(),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['KADRILJ roller blind'],
model: 'E1926',
vendor: 'IKEA',
description: 'KADRILJ roller blind',
extend: [
(0, ikea_1.ikeaConfigureGenPollCtrl)(),
(0, modernExtend_1.windowCovering)({ controls: ['lift'] }),
(0, modernExtend_1.identify)(),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['PRAKTLYSING cellular blind'],
model: 'E2102',
vendor: 'IKEA',
description: 'PRAKTLYSING cellular blind',
extend: [
(0, ikea_1.ikeaConfigureGenPollCtrl)(),
(0, modernExtend_1.windowCovering)({ controls: ['lift'] }),
(0, modernExtend_1.identify)(),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['TREDANSEN block-out cellul blind'],
model: 'E2103',
vendor: 'IKEA',
description: 'TREDANSEN cellular blind, block-out',
extend: [
(0, ikea_1.ikeaConfigureGenPollCtrl)(),
(0, modernExtend_1.windowCovering)({ controls: ['lift'] }),
(0, modernExtend_1.identify)(),
(0, modernExtend_1.battery)({ dontDividePercentage: true }),
(0, ikea_1.ikeaOta)(),
],
},
// #endregion blinds
// #region appliances
{
zigbeeModel: [
'STARKVIND Air purifier',
'STARKVIND Air purifier table',
],
model: 'E2007',
vendor: 'IKEA',
description: 'STARKVIND air purifier',
extend: [
(0, ikea_1.ikeaAirPurifier)(),
(0, modernExtend_1.identify)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['TRADFRI signal repeater'],
model: 'E1746',
vendor: 'IKEA',
description: 'TRADFRI signal repeater',
extend: [
(0, modernExtend_1.identify)(),
(0, modernExtend_1.linkQuality)({ reporting: true }),
(0, ikea_1.ikeaOta)(),
],
},
// #endregion appliances
// #region remotes
{
zigbeeModel: ['TRADFRI wireless dimmer'],
model: 'ICTC-G-1',
vendor: 'IKEA',
description: 'TRADFRI wireless dimmer',
extend: [
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.commandsLevelCtrl)({
commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop', 'brightness_move_to_level'],
legacyAction: true,
}),
(0, modernExtend_1.battery)({ dontDividePercentage: true }),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['TRADFRI remote control'],
model: 'E1524/E1810',
vendor: 'IKEA',
description: 'TRADFRI remote control',
extend: [
(0, ikea_1.ikeaConfigureRemote)(),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, ikea_1.tradfriCommandsOnOff)(),
(0, ikea_1.tradfriCommandsLevelCtrl)(),
(0, ikea_1.ikeaArrowClick)(),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['Remote Control N2'],
model: 'E2001/E2002',
vendor: 'IKEA',
description: 'STYRBAR remote control',
extend: [
(0, ikea_1.ikeaConfigureRemote)(),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, ikea_1.styrbarCommandOn)(),
(0, modernExtend_1.commandsOnOff)({ commands: ['off'] }),
(0, modernExtend_1.commandsLevelCtrl)({ commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop'] }),
(0, ikea_1.ikeaArrowClick)({ styrbar: true }),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['TRADFRI on/off switch'],
model: 'E1743',
vendor: 'IKEA',
description: 'TRADFRI on/off switch',
fromZigbee: [
ikea_1.legacy.fromZigbee.E1743_brightness_up,
ikea_1.legacy.fromZigbee.E1743_brightness_down, ikea_1.legacy.fromZigbee.E1743_brightness_stop,
],
meta: { disableActionGroup: true },
extend: [
(0, ikea_1.ikeaConfigureRemote)(),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.commandsOnOff)({ commands: ['on', 'off'], legacyAction: true }),
(0, modernExtend_1.commandsLevelCtrl)({ commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop'] }),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['KNYCKLAN Open/Close remote'],
model: 'E1841',
vendor: 'IKEA',
description: 'KNYCKLAN open/close water valve remote',
meta: { disableActionGroup: true },
extend: [
(0, ikea_1.ikeaConfigureRemote)(),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.commandsOnOff)({ commands: ['on', 'off'] }),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['TRADFRI SHORTCUT Button'],
model: 'E1812',
vendor: 'IKEA',
description: 'TRADFRI shortcut button',
meta: { disableActionGroup: true },
extend: [
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.commandsOnOff)({ commands: ['on', 'off'] }),
(0, modernExtend_1.commandsLevelCtrl)({ commands: ['brightness_move_up', 'brightness_stop'] }),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['SYMFONISK Sound Controller'],
model: 'E1744',
vendor: 'IKEA',
description: 'SYMFONISK sound remote, gen 1',
fromZigbee: [
ikea_1.legacy.fromZigbee.E1744_play_pause, ikea_1.legacy.fromZigbee.E1744_skip,
],
extend: [
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.commandsOnOff)({ commands: ['toggle'] }),
(0, modernExtend_1.commandsLevelCtrl)({
commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop', 'brightness_step_up', 'brightness_step_down'],
legacyAction: true,
}),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['TRADFRI open/close remote'],
model: 'E1766',
vendor: 'IKEA',
description: 'TRADFRI open/close remote',
extend: [
(0, ikea_1.ikeaConfigureRemote)(),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.commandsWindowCovering)({ legacyAction: true }),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['SYMFONISK sound remote gen2'],
model: 'E2123',
vendor: 'IKEA',
description: 'SYMFONISK sound remote, gen 2',
fromZigbee: [
ikea_1.legacy.fromZigbee.E1744_play_pause,
],
extend: [
(0, modernExtend_1.bindCluster)({ cluster: 'genPollCtrl', clusterType: 'input' }),
(0, modernExtend_1.deviceEndpoints)({ endpoints: { '1': 2, '2': 3 } }),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.commandsOnOff)({ commands: ['toggle'] }),
(0, ikea_1.ikeaMediaCommands)(),
(0, ikea_1.ikeaDotsClick)({ endpointNames: ['1', '2'], dotsPrefix: true }),
(0, modernExtend_1.battery)({ voltage: true }),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['RODRET Dimmer'],
model: 'E2201',
vendor: 'IKEA',
description: 'RODRET wireless dimmer/power switch',
extend: [
(0, modernExtend_1.bindCluster)({ cluster: 'genPollCtrl', clusterType: 'input' }),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.commandsOnOff)({ commands: ['on', 'off'] }),
(0, modernExtend_1.commandsLevelCtrl)({ commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop'] }),
(0, modernExtend_1.battery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['SOMRIG shortcut button'],
model: 'E2213',
vendor: 'IKEA',
description: 'SOMRIG shortcut button',
extend: [
(0, modernExtend_1.bindCluster)({ cluster: 'genPollCtrl', clusterType: 'input' }),
(0, modernExtend_1.deviceEndpoints)({ endpoints: { '1': 1, '2': 2 } }),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, ikea_1.ikeaDotsClick)({ endpointNames: ['1', '2'] }),
(0, modernExtend_1.battery)(),
(0, ikea_1.ikeaOta)(),
],
},
// #endregion remotes
// #region sensors
{
zigbeeModel: ['TRADFRI motion sensor'],
model: 'E1525/E1745',
vendor: 'IKEA',
description: 'TRADFRI motion sensor',
extend: [
(0, modernExtend_1.forcePowerSource)({ powerSource: 'Battery' }),
(0, ikea_1.tradfriOccupancy)(),
(0, ikea_1.tradfriRequestedBrightness)(),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, ikea_1.ikeaBattery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['VINDSTYRKA'],
model: 'E2112',
vendor: 'IKEA',
description: 'VINDSTYRKA air quality and humidity sensor',
extend: [
(0, modernExtend_1.temperature)(),
(0, modernExtend_1.humidity)(),
(0, modernExtend_1.pm25)({
// IKEA used conflicting date type on a standart attribute
attribute: { ID: 0x0000, type: dataType_1.default.singlePrec },
reporting: { min: '1_MINUTE', max: '2_MINUTES', change: 2 },
}),
(0, ikea_1.ikeaVoc)(),
(0, modernExtend_1.identify)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['VALLHORN Wireless Motion Sensor'],
model: 'E2134',
vendor: 'IKEA',
description: 'VALLHORN wireless motion sensor',
extend: [
(0, modernExtend_1.occupancy)(),
(0, modernExtend_1.illuminance)(),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.battery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['PARASOLL Door/Window Sensor'],
model: 'E2013',
vendor: 'IKEA',
description: 'PARASOLL door/window sensor',
extend: [
(0, modernExtend_1.bindCluster)({ cluster: 'genPollCtrl', clusterType: 'input' }),
(0, modernExtend_1.iasZoneAlarm)({ zoneType: 'contact', zoneAttributes: ['alarm_1'] }),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.battery)(),
(0, ikea_1.ikeaOta)(),
],
},
{
zigbeeModel: ['BADRING Water Leakage Sensor'],
model: 'E2202',
vendor: 'IKEA',
description: 'BADRING water leakage sensor',
extend: [
(0, modernExtend_1.iasZoneAlarm)({ zoneType: 'water_leak', zoneAttributes: ['alarm_1'] }),
(0, modernExtend_1.identify)({ isSleepy: true }),
(0, modernExtend_1.battery)(),
(0, ikea_1.ikeaOta)(),
],
},
// #endregion sensors
];
exports.default = definitions;
module.exports = definitions;
//# sourceMappingURL=ikea.js.map