UNPKG

zigbee-herdsman-converters

Version:

Collection of device converters to be used with zigbee-herdsman

1,338 lines (1,337 loc) • 193 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; }); var __importStar = (this && this.__importStar) || (function () { var ownKeys = function(o) { ownKeys = Object.getOwnPropertyNames || function (o) { var ar = []; for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; return ar; }; return ownKeys(o); }; return function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); __setModuleDefault(result, mod); return result; }; })(); Object.defineProperty(exports, "__esModule", { value: true }); exports.definitions = void 0; const zigbee_herdsman_1 = require("zigbee-herdsman"); const fz = __importStar(require("../converters/fromZigbee")); const tz = __importStar(require("../converters/toZigbee")); const exposes = __importStar(require("../lib/exposes")); const m = __importStar(require("../lib/modernExtend")); const philips = __importStar(require("../lib/philips")); const reporting = __importStar(require("../lib/reporting")); const utils = __importStar(require("../lib/utils")); const e = exposes.presets; const ea = exposes.access; const HUE_CHIME_META = { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V, disableDefaultResponse: true, }; const tzLocal = { play_sound: { key: ["play_sound"], convertSet: async (entity, key, value, meta) => { utils.assertObject(value); // payload: {"sound": <key from sounds dict>, "volume": <0-100>} const sounds = { triple_beep: 1, bleep: 2, ding_dong_classic: 3, ding_dong_modern: 4, rise: 5, // the siren appears to be sound ID 6, but it can only be triggered with a separate command westminster_classic: 7, westminster_modern: 8, ding_dong_xylo: 9, hue_default: 10, sonar: 11, swing: 12, bright: 13, glow: 14, // sounds 14-21 are only available in firmware version >= 1.123.13 bounce: 15, reveal: 16, welcome: 17, bright_modern: 18, fairy: 19, galaxy: 20, echo: 21, }; const volume_int = Math.round(value.volume * 2.53); // convert from 0-100 to 0-253 const payload = Buffer.from([ 0x01, // constant utils.getFromLookup(value.sound, sounds, 10), // sound ID 0x00, // constant 0x00, // constant 0x00, // constant volume_int ?? 0xfd, // volume ]); if (value.sound === "triple_beep") { // This sound can only be triggered with a separate command that doesn't appear to // support volume. It's unclear how to trigger this from the Hue bridge, and the // identify command blinks the LED, so I'm not sure what this is actually used for. // I figured having this sound available only at max volume is better than not // having it available at all. await entity.command("customHueChime", "playTripleBeep", // @ts-expect-error no typing yet for toZigbee converters { data: "ffffff" }, // value doesn't appear to matter as long as it's 3 bytes HUE_CHIME_META); } else { // @ts-expect-error no typing yet for toZigbee converters await entity.command("customHueChime", "playSound", { data: payload }, HUE_CHIME_META); } }, }, trigger_siren: { key: ["trigger_siren"], convertSet: async (entity, key, value, meta) => { utils.assertObject(value); const duration_ms = Math.round(value.duration * 1000); const duration_bytes = [duration_ms & 0xff, (duration_ms >> 8) & 0xff, (duration_ms >> 16) & 0xff]; // payload: {"duration": <0-16777>} (seconds) (but please don't trigger the siren for 4+ hours) const payload = Buffer.from([ 0x02, // constant 0x06, // constant 0x00, // constant 0x00, // constant 0x00, // constant duration_bytes[0], duration_bytes[1], duration_bytes[2], // duration converted to ms, little endian 0x00, // constant ]); // @ts-expect-error no typing yet for toZigbee converters await entity.command("customHueChime", "triggerSiren", { data: payload }, HUE_CHIME_META); }, }, mute_unmute: { key: ["state"], convertSet: async (entity, key, value, meta) => { if (value === "ON") { // @ts-expect-error no typing yet for toZigbee converters await entity.command("customHueChime", "unmute", {}, HUE_CHIME_META); } else if (value === "OFF") { // @ts-expect-error no typing yet for toZigbee converters await entity.command("customHueChime", "mute", {}, HUE_CHIME_META); } }, convertGet: async (entity, key, meta) => { // @ts-expect-error no typing yet for toZigbee converters await entity.read("customHueChime", ["sirenIsMuted"], HUE_CHIME_META); }, }, }; const fzLocal = { siren_is_muted: { cluster: "customHueChime", type: ["attributeReport", "readResponse"], convert: (model, msg, publish, options, meta) => { if ("sirenIsMuted" in msg.data) { return { state: msg.data.sirenIsMuted ? "OFF" : "ON" }; } }, }, }; const extendLocal = { addCustomClusterHueChime: () => m.deviceAddCustomCluster("customHueChime", { name: "customHueChime", ID: 0xfc07, manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V, attributes: { sirenIsMuted: { name: "sirenIsMuted", ID: 0x0000, type: zigbee_herdsman_1.Zcl.DataType.BOOLEAN, write: true }, soundIDPlaying: { name: "soundIDPlaying", ID: 0x0001, type: zigbee_herdsman_1.Zcl.DataType.UINT32, write: true, max: 0xffffffff }, unknownAttr: { name: "unknownAttr", ID: 0x0002, type: zigbee_herdsman_1.Zcl.DataType.UINT32, write: true, max: 0xffffffff }, }, commands: { mute: { name: "mute", ID: 0x00, parameters: [] }, unmute: { name: "unmute", ID: 0x01, parameters: [] }, triggerSiren: { name: "triggerSiren", ID: 0x02, parameters: [{ name: "data", type: zigbee_herdsman_1.Zcl.BuffaloZclDataType.BUFFER }] }, playSound: { name: "playSound", ID: 0x03, parameters: [{ name: "data", type: zigbee_herdsman_1.Zcl.BuffaloZclDataType.BUFFER }] }, playTripleBeep: { name: "playTripleBeep", ID: 0x04, parameters: [{ name: "data", type: zigbee_herdsman_1.Zcl.BuffaloZclDataType.BUFFER }] }, }, commandsResponse: {}, }), }; exports.definitions = [ { zigbeeModel: ["LWA036"], model: "929003856401", vendor: "Philips", description: "Hue White 75W A19- E26 smart bulb (1100lm)", extend: [philips.m.light()], }, { zigbeeModel: ["LCX027"], model: "929004582001", vendor: "Philips", description: "Hue Festavia globe outdoor string lights (21 meter with 30 bulbs)", extend: [ philips.m.light({ colorTemp: { range: [50, 1000] }, color: { modes: ["xy", "hs"], enhancedHue: true }, gradient: { extraEffects: ["sparkle", "opal", "glisten"] }, }), ], }, { zigbeeModel: ["LCX028"], model: "929004581901", vendor: "Philips", description: "Hue Festavia globe outdoor string lights (14 meter with 20 bulbs)", extend: [ philips.m.light({ colorTemp: { range: [50, 1000] }, color: { modes: ["xy", "hs"], enhancedHue: true }, gradient: { extraEffects: ["sparkle", "opal", "glisten"] }, }), ], }, { zigbeeModel: ["LCX029"], model: "929004581801", vendor: "Philips", description: "Hue Festavia globe outdoor string lights (7 meter with 10 bulbs)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true, gradient: { extraEffects: ["sparkle", "opal", "glisten"] } })], }, { zigbeeModel: ["LCX030"], model: "929004284702", vendor: "Philips", description: "Hue Festavia permanent outdoor string lights", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true, gradient: { extraEffects: ["sparkle", "opal", "glisten"] } })], }, { zigbeeModel: ["929003736501_01", "929003736501_02"], model: "929003736501", vendor: "Philips", description: "Hue Datura LED ceiling panel large round", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: { modes: ["xy", "hs"], enhancedHue: true } })], }, { zigbeeModel: ["929003810901_01", "929003810901_02", "929003810901_03"], model: "929003810901", vendor: "Philips", description: "Hue White Ambiance Milliskin GU10 spot", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["929003809201", "929003809401"], model: "929003809401", vendor: "Philips", description: "Hue White and Color Ambiance GU10 (Centura - Black)", whiteLabel: [ { model: "929003809201", vendor: "Philips", description: "Hue White and Color Ambiance GU10 (Centura - Silver)", fingerprint: [{ modelID: "929003809201" }], }, ], extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: { modes: ["xy", "hs"], enhancedHue: true } })], }, { zigbeeModel: ["929002297503"], model: "929002297503", vendor: "Philips", description: "Hue White Ambiance E17 40W", extend: [philips.m.light({ colorTemp: { range: [153, 454] }, color: true })], }, { zigbeeModel: ["929003597601"], model: "929003597601", vendor: "Philips", description: "Hue white ambiance Aurelle square panel light", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["LCU001"], model: "8719514491229", vendor: "Philips", description: "Hue White and Color Ambiance E14", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["LTV006"], model: "929003596101", vendor: "Philips", description: "Hue Filament Edison bulb ST64 550lm E26", extend: [philips.m.light({ colorTemp: { range: [222, 454] } })], }, { zigbeeModel: ["SOC001"], model: "9290035639", vendor: "Philips", description: "Hue Secure contact sensor", fromZigbee: [], toZigbee: [], extend: [ philips.m.addCustomClusterManuSpecificPhilipsContact(), philips.m.contact(), m.battery({ percentage: true, lowStatus: false, voltageReporting: false, percentageReporting: true, }), ], }, { zigbeeModel: ["LLM010", "LLM012"], model: "8718696126523", vendor: "Philips", description: "Hue Phoenix ceiling light", extend: [philips.m.light({ colorTemp: { range: [154, 455] }, color: true })], }, { zigbeeModel: ["LWA023"], model: "9290030516", vendor: "Philips", description: "Hue filament standard A60/E27 Bluetooth", extend: [philips.m.light()], }, { zigbeeModel: ["LWF005"], model: "9290002269A", vendor: "Philips", description: "Philips Hue A60 bulb with on/off control", extend: [philips.m.light()], }, { zigbeeModel: ["LTA014"], model: "9290038548H", vendor: "Philips", description: "Hue white ambiance A60 810lm with Bluetooth E27", extend: [philips.m.light({ colorTemp: { range: [50, 1000] } })], }, { zigbeeModel: ["LTA015"], model: "9290038549H", vendor: "Philips", description: "Hue white ambiance", extend: [philips.m.light({ colorTemp: { range: [50, 1000] } })], }, { zigbeeModel: ["LTA016"], model: "9290038550H", vendor: "Philips", description: "Hue white ambiance A67 1600lm with Bluetooth E27", extend: [philips.m.light({ colorTemp: { range: [50, 1000] } })], }, { zigbeeModel: ["LTA017"], model: "9290038551", vendor: "Philips", description: "Hue white ambiance A19 810lm with Bluetooth E26", extend: [philips.m.light({ colorTemp: { range: [50, 1000] } })], }, { zigbeeModel: ["LTA018"], model: "9290038552", vendor: "Philips", description: "Hue White Ambiance 1100 lm A19 E26", extend: [philips.m.light({ colorTemp: { range: [50, 1000] } })], }, { zigbeeModel: ["LTA019"], model: "929003853901", vendor: "Philips", description: "Hue white ambiance and color E26", extend: [philips.m.light({ colorTemp: { range: [50, 1000] } })], }, { zigbeeModel: ["LCA012"], model: "9290038536H", vendor: "Philips", description: "Hue white ambiance and color", extend: [philips.m.light({ colorTemp: { range: [154, 455] }, color: true })], }, { zigbeeModel: ["LCA010", "LCA013", "LCA014"], model: "929003853404", vendor: "Philips", description: "Hue white ambiance and color 810lm A60 E27", whiteLabel: [ { model: "929003853701", vendor: "Philips", description: "Hue white ambiance and color 806lm A19 E26", fingerprint: [{ modelID: "LCA013" }] }, { model: "929003853803", vendor: "Philips", description: "Hue white ambiance and color 1100lm A19 E26", fingerprint: [{ modelID: "LCA014" }], }, ], extend: [philips.m.light({ colorTemp: { range: [50, 1000] }, color: { modes: ["xy", "hs"], enhancedHue: true } })], }, { zigbeeModel: ["LTA013"], model: "929003596001", vendor: "Philips", description: "Hue filament A60 550lm E26", extend: [philips.m.light({ colorTemp: { range: [222, 454] } })], }, { zigbeeModel: ["LWV006"], model: "9290030518", vendor: "Philips", description: "Philips filament E26 bulb", extend: [philips.m.light({ hueEffect: true })], }, { zigbeeModel: ["LWO005"], model: "9290030519", vendor: "Philips", description: "Hue white G93 E27 filament globe", extend: [philips.m.light()], }, { zigbeeModel: ["LWO006"], model: "9290030520", vendor: "Philips", description: "Hue white filament globe G25", extend: [philips.m.light()], }, { zigbeeModel: ["LWO007"], model: "9290030521", vendor: "Philips", description: "Hue white G125 B22 LED bulb filament giant globe", extend: [philips.m.light()], }, { zigbeeModel: ["LEDtube T8 5FT V2.0"], model: "LP_CF_7904008_EU", vendor: "Philips", description: "MasterConnect LEDtube EM/mains T8", extend: [philips.m.light()], }, { zigbeeModel: ["MWM001"], model: "13190230", vendor: "Philips", description: "Hue white dimmer 1-10V", extend: [philips.m.light()], }, { zigbeeModel: ["929003055801", "929004611401", "929004611501_01", "929004611501_02", "929004611501_03"], model: "929003055801", vendor: "Philips", description: "Hue white ambiance bathroom ceiling light Adore with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], whiteLabel: [ { model: "929004611401", fingerprint: [{ modelID: "929004611401" }] }, { model: "929004611501", fingerprint: [{ modelID: "929004611501_01" }, { modelID: "929004611501_02" }, { modelID: "929004611501_03" }] }, ], }, { zigbeeModel: ["LCZ001", "LCZ002"], model: "8719514419278", vendor: "Philips", description: "Hue Ellipse E27 smart bulb", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003056701"], model: "929003056701", vendor: "Philips", description: "Hue white ambiance Adore ceiling light", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["929003045301_01", "929003045301_02", "929003045301_03"], model: "929003045301", vendor: "Philips", description: "Hue White and Color Ambiance GU10 (Centura)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003808501_01", "929003808501_02", "929003808501_03"], model: "929003808501", vendor: "Philips", description: "Centris Hue 2-spot white", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: { modes: ["xy", "hs"], enhancedHue: true } })], }, { zigbeeModel: ["929003809301_01", "929003809301_02", "929003809301_03"], model: "929003809301", vendor: "Philips", description: "Hue White and Color Ambiance GU10 (Centura - Silver)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: { modes: ["xy", "hs"], enhancedHue: true } })], }, { zigbeeModel: ["929003809501_01", "929003809501_02", "929003809501_03"], model: "929003809501", vendor: "Philips", description: "Hue White and Color Ambiance GU10 (Centura - Black)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003045201_01", "929003045201_02", "929003045201_03"], model: "929003045201", vendor: "Philips", description: "Hue White and Color Ambiance GU10 (Centura - White)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003809701_01", "929003809701_02", "929003809701_03"], model: "929003809701", vendor: "Philips", description: "Hue White and Color Ambiance GU10 (Centura - White)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003047401"], model: "929003047401", vendor: "Philips", description: "Hue White and Color Ambiance GU10 (Centura)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003056901"], model: "929003056901", vendor: "Philips", description: "Hue Struana 27W", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["LWA018", "LWA028"], model: "9290024693", vendor: "Philips", description: "Hue white A60 bulb B22 1055lm with Bluetooth", extend: [philips.m.light()], }, { zigbeeModel: ["929003045401"], model: "929003045401", vendor: "Philips", description: "Hue Centura recessed spotlight white and color ambiance GU10 (black)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003045501_01", "929003045501_02", "929003045501_03"], model: "929003045501", vendor: "Philips", description: "Hue Centura recessed spotlight white and color ambiance GU10 (black)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003047601"], model: "929003047601", vendor: "Philips", description: "Hue White and Color Ambiance GU10 (Centura)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003047501"], model: "929003047501", vendor: "Philips", description: "Centura recessed spotlight", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["915005996401", "915005996501"], model: "915005996401", vendor: "Philips", description: "Hue white ambiance ceiling light Enrave S with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["915005996701", "929003574301"], model: "915005996701", vendor: "Philips", description: "Hue white ambiance ceiling black Enrave M with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["929003531502"], model: "929003531502", vendor: "Philips", description: "Hue white ambiance ceiling white Enrave M with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["915005996601"], model: "915005996601", vendor: "Philips", description: "Hue white ambiance ceiling white Enrave M with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["915005996801", "915005996901", "929003574401", "929003531602"], model: "915005996901", vendor: "Philips", description: "Hue white ambiance ceiling light Enrave L with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["915005997001", "915005997101"], model: "915005997001", vendor: "Philips", description: "Hue white ambiance ceiling light Enrave XL with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["915005997601"], model: "915005997601", vendor: "Philips", description: "Hue Devere M white ambiance white & dimmer", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["915005997701"], model: "915005997701", vendor: "Philips", description: "Hue Devere L white ambiance white & dimmer", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["929003054001"], model: "929003054001", vendor: "Philips", description: "Hue Wellness table lamp", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["4076131P6"], model: "4076131P6", vendor: "Philips", description: "Hue white ambiance suspension Cher with bluetooth 3000lm", extend: [philips.m.light({ colorTemp: { range: [153, 500] } })], }, { zigbeeModel: ["4076130P6"], model: "4076130P6", vendor: "Philips", description: "Hue white ambiance suspension Cher with bluetooth 3000lm", extend: [philips.m.light({ colorTemp: { range: [153, 500] } })], }, { zigbeeModel: ["929003054301"], model: "929003054301", vendor: "Philips", description: "Hue White Ambiance Cher Pendant", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["929003054201"], model: "929003054201", vendor: "Philips", description: "Hue White Ambiance Cher Pendant", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["5063131P7"], model: "5063131P7", vendor: "Philips", description: "Hue Bluetooth white & color ambiance spot Fugato white (1 spots)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["5633030P9", "5633031P9"], model: "5633031P9", vendor: "Philips", description: "Hue Pillar Single Spotlight (White)", whiteLabel: [ { model: "5633030P9", vendor: "Philips", description: "Hue Pillar Single Spotlight (Black)", fingerprint: [{ modelID: "5633030P9" }] }, ], extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["929003046001", "929003045801"], model: "5309031P8", vendor: "Philips", description: "Hue White ambiance Runner spot white (1 spot)", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["929002376301"], model: "929002376301", vendor: "Philips", description: "Hue Iris rose limited edition (generation 4) ", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929002401201"], model: "929002401201", vendor: "Philips", description: "Hue Iris copper special edition (generation 4) ", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929002376803"], model: "929002376803", vendor: "Philips", description: "Hue Iris copper special edition (generation 4)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003536001"], model: "929003536001", vendor: "Philips", description: "Hue Iris copper special edition (generation 4)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929002401001"], model: "929002401001", vendor: "Philips", description: "Hue Iris gold special edition (generation 4)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929002376901"], model: "929002376901", vendor: "Philips", description: "Hue Iris white", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["5063130P7", "929003810601"], model: "5063130P7", vendor: "Philips", description: "Hue Bluetooth white & color ambiance spot Fugato black (1 spots)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["3418931P6"], model: "3418931P6", vendor: "Philips", description: "Hue white ambiance Struana bathroom ceiling with bluetooth 2400lm", extend: [philips.m.light({ colorTemp: { range: [153, 500] } })], }, { zigbeeModel: ["LWU001"], model: "9290024406", vendor: "Philips", description: "Hue P45 light bulb", extend: [philips.m.light()], }, { zigbeeModel: ["LTC002"], model: "4034031P7", vendor: "Philips", description: "Hue Fair", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["4034031P6"], model: "4034031P6", vendor: "Philips", description: "Hue Fair with Bluetooth", extend: [philips.m.light({ colorTemp: { range: undefined } })], }, { zigbeeModel: ["4034030P6"], model: "4034030P6", vendor: "Philips", description: "Hue Fair with Bluetooth", extend: [philips.m.light({ colorTemp: { range: undefined } })], }, { zigbeeModel: ["LCD009", "LCD010", "LCD011"], model: "8720169264151", vendor: "Philips", description: "Hue Slim recessed light 90mm (Black)", whiteLabel: [ { model: "8720169264212", vendor: "Philips", description: "Hue Slim recessed light 170mm (White)", fingerprint: [{ modelID: "LCD010" }] }, { model: "8720169264274", vendor: "Philips", description: "Hue Slim recessed light 170mm (Black)", fingerprint: [{ modelID: "LCD011" }] }, ], extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: { modes: ["xy", "hs"], enhancedHue: true } })], }, { zigbeeModel: ["LWO003"], model: "8719514279131", vendor: "Philips", description: "Hue white E27 LED bulb filament giant globe", extend: [philips.m.light()], }, { zigbeeModel: ["LWO004"], model: "8719514279155", vendor: "Philips", description: "Hue white G125 B22 LED bulb filament giant globe", extend: [philips.m.light()], }, { zigbeeModel: ["LTD011"], model: "5110131H5", vendor: "Philips", description: "Garnea downlight", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["LTD020", "LTD021", "LTD022"], model: "9290035842", vendor: "Philips", description: "Garnea White Ambience Downlight", whiteLabel: [{ model: "929003123801", vendor: "Philips", description: "Garnea White Ambience Downlight", fingerprint: [{ modelID: "LTD020" }] }], extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["LTD012"], model: "5111531H5", vendor: "Philips", description: "Garnea downlight", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["LWA010"], model: "929002335001", vendor: "Philips", description: "Hue white A21 bulb B22 with Bluetooth (1600 Lumen)", extend: [philips.m.light()], }, { zigbeeModel: ["LTC012"], model: "3306431P7", vendor: "Philips", description: "Hue Struana", extend: [philips.m.light({ colorTemp: { range: undefined } })], }, { zigbeeModel: ["1746130P7"], model: "1746130P7", vendor: "Philips", description: "Hue Attract", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["1745630P7"], model: "1745630P7", vendor: "Philips", description: "Hue Nyro", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["1745530P7"], model: "1745530P7", vendor: "Philips", description: "Hue Nyro", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["LDT001"], model: "5900131C5", vendor: "Philips", description: "Hue Aphelion downlight", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["LLC012", "LLC011", "LLC013"], model: "7299760PH", vendor: "Philips", description: "Hue Bloom", extend: [philips.m.light({ color: true })], }, { zigbeeModel: ["929002375901"], model: "929002375901", vendor: "Philips", description: "Hue Bloom with Bluetooth (White) - EU/UK", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["929002376501"], model: "929002376501", vendor: "Philips", description: "Hue Bloom Gen4 with Bluetooth (White) - US", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929002376001"], model: "929002376001", vendor: "Philips", description: "Hue Bloom with Bluetooth (Black)", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["LCP001", "LCP002", "4090331P9_01", "4090331P9_02", "929003053301_01", "929003053301_02", "929003785101_01", "929003785101_02"], model: "4090331P9", vendor: "Philips", description: "Hue Ensis (white)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["4090330P9_01", "4090330P9_02", "929003052501_01", "929003052501_02", "929003785001_01", "929003785001_02"], model: "4090330P9", vendor: "Philips", description: "Hue Ensis (black)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003736701_01", "929003736701_02"], model: "929003736701", vendor: "Philips", description: "Hue White and Color Ambiance Datura Ceiling Light Square", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: { modes: ["xy", "hs"], enhancedHue: true } })], }, { zigbeeModel: ["929003055901", "929003055901_01", "929003055901_02", "929003055901_03"], model: "929003055901", vendor: "Philips", description: "Hue white ambiance bathroom ceiling light Adore with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["7602031N6"], model: "7602031N6", vendor: "Philips", description: "Hue Go portable light", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003128501"], model: "929003128501", vendor: "Philips", description: "Hue Go portable table lamp black", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003128701"], model: "929003128701", vendor: "Philips", description: "Hue Go portable table lamp black", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003521501"], model: "929003521501", vendor: "Philips", description: "Hue Go portable table lamp black", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003521701"], model: "929003521701", vendor: "Philips", description: "Hue Go portable table lamp black", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["7602031K6"], model: "7602031K6", vendor: "Philips", description: "Hue Go portable light", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["LLC020"], model: "7146060PH", vendor: "Philips", description: "Hue Go", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["LWA005"], model: "9290022411", vendor: "Philips", description: "Hue white single filament bulb A19 E26 with Bluetooth", extend: [philips.m.light()], }, { zigbeeModel: ["LWE001"], model: "929002039801", vendor: "Philips", description: "Hue white E12 with Bluetooth", extend: [philips.m.light()], }, { zigbeeModel: ["LTE001"], model: "9290022943", vendor: "Philips", description: "Hue white E12", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["LTE004"], model: "9290031451", vendor: "Philips", description: "Hue white ambiance filament E12 with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["LWA007"], model: "929002277501", vendor: "Philips", description: "Hue white A19 bulb E26 with Bluetooth", extend: [philips.m.light()], }, { zigbeeModel: ["LWA008"], model: "9290023351", vendor: "Philips", description: "Hue white A21 bulb E26 with Bluetooth (1600 Lumen)", extend: [philips.m.light()], }, { zigbeeModel: ["LWA009"], model: "9290023349", vendor: "Philips", description: "Hue white A67 bulb E26 with Bluetooth (1600 Lumen)", extend: [philips.m.light()], }, { zigbeeModel: ["LWA030"], model: "9290023351B", vendor: "Philips", description: "Hue white A21 bulb E26 with Bluetooth (1600 Lumen)", extend: [philips.m.light()], }, { zigbeeModel: ["LWA031"], model: "8719514343320", vendor: "Philips", description: "Hue white A67 bulb E26 with Bluetooth (1600 Lumen)", extend: [philips.m.light()], }, { zigbeeModel: ["LWA033"], model: "9290038561", vendor: "Philips", description: "Hue White A60 E27 1100 lumen", extend: [philips.m.light()], }, { zigbeeModel: ["LWA035"], model: "929003856303", vendor: "Philips", description: "Hue White A19 bulb E26 810lm with Bluetooth", extend: [philips.m.light()], }, { zigbeeModel: ["LWA037"], model: "929003856501", vendor: "Philips", description: "Hue white A21 bulb E26 with Bluetooth (1600 Lumen)", extend: [philips.m.light()], }, { zigbeeModel: ["LCT026", "7602031P7", "7602031U7", "7602031PU", "7602031J6", "915005822501", "915005822001"], model: "7602031P7", vendor: "Philips", description: "Hue Go with Bluetooth", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["LCF002", "LCF001"], model: "8718696167991", vendor: "Philips", description: "Hue Calla outdoor", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["LCF005"], model: "8718696170557", vendor: "Philips", description: "Hue Calla outdoor", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["1742030P7"], model: "1742030P7", vendor: "Philips", description: "Hue Calla outdoor", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003098601"], model: "929003098601", vendor: "Philips", description: "Hue Calla outdoor Pedestal", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["1742330P7"], model: "1742330P7", vendor: "Philips", description: "Hue Calla outdoor", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["1743730P7"], model: "1743730P7", vendor: "Philips", description: "Hue Calla outdoor", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["1741930V7"], model: "1741930V7", vendor: "Philips", description: "Hue Calla outdoor", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["1744130P7"], model: "1744130P7", vendor: "Philips", description: "Hue Econic outdoor Pedestal", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["1744230P7"], model: "1744230P7", vendor: "Philips", description: "Hue Econic outdoor post light", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["1745730V7"], model: "1745730V7", vendor: "Philips", description: "Hue Econic outdoor Pedestal", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["1743830V7"], model: "1743830V7", vendor: "Philips", description: "Hue Econic outdoor wall lamp", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["1743830P7"], model: "1743830P7", vendor: "Philips", description: "Hue Econic outdoor wall lamp", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["1743130P7"], model: "1743130P7", vendor: "Philips", description: "Hue Impress outdoor Pedestal", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["1743430P7", "1745430A7"], model: "1743430P7", vendor: "Philips", description: "Hue Impress outdoor Pedestal", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003802101"], model: "929003802101", vendor: "Philips", description: "Hue Impress outdoor Pedestal", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: { modes: ["xy", "hs"], enhancedHue: true } })], }, { zigbeeModel: ["1740193P0"], model: "1740193P0", vendor: "Philips", description: "Hue White Lucca wall light", extend: [philips.m.light()], }, { zigbeeModel: ["929003089301"], model: "929003089301", vendor: "Philips", description: "Hue White and Color Ambiance Lucca wall light", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["1740293P0"], model: "1740293P0", vendor: "Philips", description: "Hue Lucca Pedestal", extend: [philips.m.light()], }, { zigbeeModel: ["1740393P0"], model: "1740393P0", vendor: "Philips", description: "Hue White Lucca", extend: [philips.m.light()], }, { zigbeeModel: ["1746630V7"], model: "1746630V7", vendor: "Philips", description: "Amarant linear outdoor light", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["LCC001"], model: "4090531P7", vendor: "Philips", description: "Hue Flourish white and color ambiance ceiling light", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["4090531P9", "929003053601", "929003053501"], model: "4090531P9", vendor: "Philips", description: "Hue Flourish white and color ambiance ceiling light with Bluetooth", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["4090431P9"], model: "4090431P9", vendor: "Philips", description: "Hue Flourish white and color ambiance table light with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["929003052601"], model: "929003052601", vendor: "Philips", description: "Hue Flourish white and color ambiance table light with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["LWU002"], model: "9290024406A", vendor: "Philips", description: "Hue P45 light bulb", extend: [philips.m.light()], }, { zigbeeModel: ["915005987801"], model: "915005987801", vendor: "Philips", description: "Hue white and color ambiance gradient Signe floor lamp (black)", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true, gradient: true })], }, { zigbeeModel: ["LTU001"], model: "8719514491106", vendor: "Philips", description: "Hue white ambiance E14", extend: [philips.m.light({ colorTemp: { range: [153, 454] } })], }, { zigbeeModel: ["929003053401"], model: "929003053401", vendor: "Philips", description: "Hue Flourish white and color ambiance table light with Bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["915005988401"], model: "915005988401", vendor: "Philips", description: "Hue Gradient light tube compact black", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true, gradient: true })], }, { zigbeeModel: ["915005988502"], model: "915005988502", vendor: "Philips", description: "Hue Gradient light tube large", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true, gradient: true })], }, { zigbeeModel: ["915005988001"], model: "915005988001", vendor: "Philips", description: "Hue Gradient light tube compact black", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true, gradient: true })], }, { zigbeeModel: ["LCG002", "929003047701", "929003526202_01", "929003526202_02", "929003526202_03", "929003526101"], model: "929001953101", vendor: "Philips", description: "Hue White and Color Ambiance GU10", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["LCG003"], model: "9290035753", vendor: "Philips", description: "Hue White and Color Ambiance GU5.3", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["LCG004"], model: "929003575701", vendor: "Philips", description: "Hue White and Color Ambiance GU5.3", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["LCG005"], model: "929003575501", vendor: "Philips", description: "Hue White and Color Ambiance GU5.3", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["LWA003", "LWW002", "LWA025"], model: "9290022268", vendor: "Philips", description: "Hue White A19 bulb with Bluetooth", extend: [philips.m.light({ hueEffect: true })], }, { zigbeeModel: ["LWO002"], model: "9290022415", vendor: "Philips", description: "Hue White G25 E26 Edison Filament Globe Bluetooth", extend: [philips.m.light()], }, { zigbeeModel: ["LWA004"], model: "8718699688820", vendor: "Philips", description: "Hue Filament Standard A60/E27 bluetooth", extend: [philips.m.light({ hueEffect: true })], }, { zigbeeModel: ["LWA021"], model: "9290030514", vendor: "Philips", description: "Hue Filament Standard A60/E27 bluetooth", extend: [philips.m.light()], }, { zigbeeModel: ["LCB001"], model: "548727", vendor: "Philips", description: "Hue White and Color Ambiance BR30 with bluetooth", extend: [philips.m.light({ colorTemp: { range: undefined }, color: true })], }, { zigbeeModel: ["LCB002"], model: "046677577957", vendor: "Philips", description: "Hue White and Color Ambiance BR30 with bluetooth", extend: [philips.m.light({ colorTemp: { range: [153, 500] }, color: true })], }, { zigbeeModel: ["LWB004"], model: "433714", vendor: "Philips", description: "Hue Lux A19 bulb E27", extend: [philips.m.light()], }, { zigbeeModel: ["LWB006", "LWB014", "LWB019"], model: "9290011370", vendor: "Philips", description: "Hue white A60 bulb E27/B22", extend: [philips.m.light()], }, { zigbeeModel: ["LDD001"],