zigbee-herdsman-converters 19.2.0 → 19.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/converters/toZigbee.d.ts.map +1 -1
- package/converters/toZigbee.js +19 -19
- package/converters/toZigbee.js.map +1 -1
- package/devices/atlantic.d.ts.map +1 -1
- package/devices/atlantic.js +6 -5
- package/devices/atlantic.js.map +1 -1
- package/devices/bosch.js +1 -1
- package/devices/bosch.js.map +1 -1
- package/devices/centralite.d.ts.map +1 -1
- package/devices/centralite.js +2 -1
- package/devices/centralite.js.map +1 -1
- package/devices/ctm.d.ts.map +1 -1
- package/devices/ctm.js +36 -35
- package/devices/ctm.js.map +1 -1
- package/devices/danfoss.d.ts.map +1 -1
- package/devices/danfoss.js +4 -3
- package/devices/danfoss.js.map +1 -1
- package/devices/datek.d.ts.map +1 -1
- package/devices/datek.js +3 -2
- package/devices/datek.js.map +1 -1
- package/devices/develco.d.ts.map +1 -1
- package/devices/develco.js +2 -1
- package/devices/develco.js.map +1 -1
- package/devices/eurotronic.d.ts.map +1 -1
- package/devices/eurotronic.js +2 -1
- package/devices/eurotronic.js.map +1 -1
- package/devices/giex.d.ts.map +1 -1
- package/devices/giex.js +4 -0
- package/devices/giex.js.map +1 -1
- package/devices/lumi.js +2 -2
- package/devices/lumi.js.map +1 -1
- package/devices/meazon.d.ts.map +1 -1
- package/devices/meazon.js +3 -2
- package/devices/meazon.js.map +1 -1
- package/devices/namron.d.ts.map +1 -1
- package/devices/namron.js +43 -47
- package/devices/namron.js.map +1 -1
- package/devices/nodon.d.ts.map +1 -1
- package/devices/nodon.js +4 -3
- package/devices/nodon.js.map +1 -1
- package/devices/philips.d.ts.map +1 -1
- package/devices/philips.js +10 -9
- package/devices/philips.js.map +1 -1
- package/devices/schneider_electric.d.ts.map +1 -1
- package/devices/schneider_electric.js +23 -1
- package/devices/schneider_electric.js.map +1 -1
- package/devices/sinope.d.ts.map +1 -1
- package/devices/sinope.js +2 -1
- package/devices/sinope.js.map +1 -1
- package/devices/smartthings.d.ts.map +1 -1
- package/devices/smartthings.js +5 -4
- package/devices/smartthings.js.map +1 -1
- package/devices/sonoff.d.ts.map +1 -1
- package/devices/sonoff.js +4 -3
- package/devices/sonoff.js.map +1 -1
- package/devices/sunricher.d.ts.map +1 -1
- package/devices/sunricher.js +16 -15
- package/devices/sunricher.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +3 -1
- package/devices/tuya.js.map +1 -1
- package/devices/viessmann.d.ts.map +1 -1
- package/devices/viessmann.js +2 -1
- package/devices/viessmann.js.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +3 -2
- package/index.js.map +1 -1
- package/lib/generateDefinition.d.ts.map +1 -1
- package/lib/generateDefinition.js +53 -35
- package/lib/generateDefinition.js.map +1 -1
- package/lib/legrand.d.ts +2 -1
- package/lib/legrand.d.ts.map +1 -1
- package/lib/legrand.js +2 -1
- package/lib/legrand.js.map +1 -1
- package/lib/lumi.d.ts +2 -0
- package/lib/lumi.d.ts.map +1 -1
- package/lib/lumi.js +5 -1
- package/lib/lumi.js.map +1 -1
- package/lib/modernExtend.d.ts.map +1 -1
- package/lib/modernExtend.js +21 -6
- package/lib/modernExtend.js.map +1 -1
- package/package.json +6 -6
package/devices/philips.js
CHANGED
|
@@ -26,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
const zigbee_herdsman_1 = require("zigbee-herdsman");
|
|
29
30
|
const exposes = __importStar(require("../lib/exposes"));
|
|
30
31
|
const fromZigbee_1 = __importDefault(require("../converters/fromZigbee"));
|
|
31
32
|
const legacy = __importStar(require("../lib/legacy"));
|
|
@@ -2185,7 +2186,7 @@ const definitions = [
|
|
|
2185
2186
|
const endpoint = device.getEndpoint(1);
|
|
2186
2187
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'genOnOff', 'manuSpecificPhilips']);
|
|
2187
2188
|
await reporting.batteryPercentageRemaining(endpoint);
|
|
2188
|
-
const options = { manufacturerCode:
|
|
2189
|
+
const options = { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V, disableDefaultResponse: true };
|
|
2189
2190
|
await endpoint.write('genBasic', { 0x0034: { value: 0, type: 48 } }, options);
|
|
2190
2191
|
},
|
|
2191
2192
|
},
|
|
@@ -2205,7 +2206,7 @@ const definitions = [
|
|
|
2205
2206
|
const endpoint1 = device.getEndpoint(1);
|
|
2206
2207
|
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
|
|
2207
2208
|
const endpoint2 = device.getEndpoint(2);
|
|
2208
|
-
const options = { manufacturerCode:
|
|
2209
|
+
const options = { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V, disableDefaultResponse: true };
|
|
2209
2210
|
await endpoint2.write('genBasic', { 0x0031: { value: 0x000B, type: 0x19 } }, options);
|
|
2210
2211
|
await reporting.bind(endpoint2, coordinatorEndpoint, ['manuSpecificPhilips', 'genPowerCfg']);
|
|
2211
2212
|
await reporting.batteryPercentageRemaining(endpoint2);
|
|
@@ -2230,7 +2231,7 @@ const definitions = [
|
|
|
2230
2231
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
2231
2232
|
const endpoint = device.getEndpoint(1);
|
|
2232
2233
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl', 'manuSpecificPhilips', 'genPowerCfg']);
|
|
2233
|
-
const options = { manufacturerCode:
|
|
2234
|
+
const options = { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V, disableDefaultResponse: true };
|
|
2234
2235
|
await endpoint.write('genBasic', { 0x0031: { value: 0x000B, type: 0x19 } }, options);
|
|
2235
2236
|
await reporting.batteryPercentageRemaining(endpoint);
|
|
2236
2237
|
},
|
|
@@ -2247,7 +2248,7 @@ const definitions = [
|
|
|
2247
2248
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
2248
2249
|
const endpoint = device.getEndpoint(1);
|
|
2249
2250
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
|
|
2250
|
-
const options = { manufacturerCode:
|
|
2251
|
+
const options = { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V, disableDefaultResponse: true };
|
|
2251
2252
|
await endpoint.write('genBasic', { 0x0031: { value: 0x000B, type: 0x19 } }, options);
|
|
2252
2253
|
await reporting.bind(endpoint, coordinatorEndpoint, ['manuSpecificPhilips', 'genPowerCfg']);
|
|
2253
2254
|
await reporting.batteryPercentageRemaining(endpoint);
|
|
@@ -2279,7 +2280,7 @@ const definitions = [
|
|
|
2279
2280
|
await reporting.illuminance(endpoint);
|
|
2280
2281
|
// read occupancy_timeout and motion_sensitivity
|
|
2281
2282
|
await endpoint.read('msOccupancySensing', ['pirOToUDelay']);
|
|
2282
|
-
await endpoint.read('msOccupancySensing', [48], { manufacturerCode:
|
|
2283
|
+
await endpoint.read('msOccupancySensing', [48], { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V });
|
|
2283
2284
|
},
|
|
2284
2285
|
ota: ota.zigbeeOTA,
|
|
2285
2286
|
},
|
|
@@ -2308,7 +2309,7 @@ const definitions = [
|
|
|
2308
2309
|
await reporting.illuminance(endpoint);
|
|
2309
2310
|
// read occupancy_timeout and motion_sensitivity
|
|
2310
2311
|
await endpoint.read('msOccupancySensing', ['pirOToUDelay']);
|
|
2311
|
-
await endpoint.read('msOccupancySensing', [48], { manufacturerCode:
|
|
2312
|
+
await endpoint.read('msOccupancySensing', [48], { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V });
|
|
2312
2313
|
},
|
|
2313
2314
|
ota: ota.zigbeeOTA,
|
|
2314
2315
|
},
|
|
@@ -2383,7 +2384,7 @@ const definitions = [
|
|
|
2383
2384
|
await reporting.illuminance(endpoint);
|
|
2384
2385
|
// read occupancy_timeout and motion_sensitivity
|
|
2385
2386
|
await endpoint.read('msOccupancySensing', ['pirOToUDelay']);
|
|
2386
|
-
await endpoint.read('msOccupancySensing', [48], { manufacturerCode:
|
|
2387
|
+
await endpoint.read('msOccupancySensing', [48], { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V });
|
|
2387
2388
|
},
|
|
2388
2389
|
},
|
|
2389
2390
|
{
|
|
@@ -2408,7 +2409,7 @@ const definitions = [
|
|
|
2408
2409
|
await reporting.illuminance(endpoint);
|
|
2409
2410
|
// read occupancy_timeout and motion_sensitivity
|
|
2410
2411
|
await endpoint.read('msOccupancySensing', ['pirOToUDelay']);
|
|
2411
|
-
await endpoint.read('msOccupancySensing', [48], { manufacturerCode:
|
|
2412
|
+
await endpoint.read('msOccupancySensing', [48], { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V });
|
|
2412
2413
|
},
|
|
2413
2414
|
// Temporary disable until OTA is available: https://github.com/Koenkk/zigbee2mqtt/issues/14923
|
|
2414
2415
|
// ota: ota.zigbeeOTA,
|
|
@@ -2932,7 +2933,7 @@ const definitions = [
|
|
|
2932
2933
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
2933
2934
|
const endpoint = device.getEndpoint(1);
|
|
2934
2935
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl', 'manuSpecificPhilips', 'genPowerCfg']);
|
|
2935
|
-
const options = { manufacturerCode:
|
|
2936
|
+
const options = { manufacturerCode: zigbee_herdsman_1.Zcl.ManufacturerCode.SIGNIFY_NETHERLANDS_B_V, disableDefaultResponse: true };
|
|
2936
2937
|
await endpoint.write('genBasic', { 0x0031: { value: 0x000B, type: 0x19 } }, options);
|
|
2937
2938
|
await reporting.batteryPercentageRemaining(endpoint);
|
|
2938
2939
|
},
|