Skip to content

Commit 6e66a7d

Browse files
authored
fix: Improve reporting of IKEA E2206 (#8060)
* Improve reporting E2206 * Improve E2206 * Improve reporting E2206 * Improve reporting E2206 * Improve reporting E2206 * Improve reporting E2206 * Improve reporting E2206 * Improve reporting E2206 * Only adds reporting of acPowerDivisor for E2206 * Only adds reporting of acPowerDivisor for E2206
1 parent df23a20 commit 6e66a7d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/devices/ikea.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,15 @@ const definitions: DefinitionWithExtend[] = [
602602
model: 'E2206',
603603
vendor: 'IKEA',
604604
description: 'INSPELNING smart plug',
605-
extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), ota(), electricityMeter()],
605+
extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), ikeaOta(), electricityMeter()],
606+
configure: async (device) => {
607+
const endpoint = device.getEndpoint(1);
608+
// Enable reporting of powerDivisor, needs to change dynamically with the amount of power
609+
// For details, see: https://github.com/Koenkk/zigbee2mqtt/issues/23961#issuecomment-2366733453
610+
await endpoint.configureReporting('haElectricalMeasurement', [
611+
{attribute: 'acPowerDivisor', minimumReportInterval: 10, maximumReportInterval: 65000, reportableChange: 1},
612+
]);
613+
},
606614
},
607615
// #endregion on/off controls
608616
// #region blinds

0 commit comments

Comments
 (0)