Skip to content

Commit f5409e4

Browse files
authored
update divisor for some sinope devices
divisor nor reporting accurately by some device. need to set the energy divisor to 1000
1 parent 99394ee commit f5409e4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/devices/sinope.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ export const definitions: DefinitionWithExtend[] = [
15101510
model: "DM2550ZB",
15111511
vendor: "Sinopé",
15121512
description: "Zigbee Adaptive phase smart dimmer",
1513-
extend: [m.light({configureReporting: true}), m.electricityMeter()],
1513+
extend: [m.light({configureReporting: true}), m.electricityMeter({energy: {divisor: 1000, multiplier: 1}})],
15141514
fromZigbee: [fzLocal.sinope],
15151515
toZigbee: [
15161516
tzLocal.timer_seconds,
@@ -1565,7 +1565,7 @@ export const definitions: DefinitionWithExtend[] = [
15651565
model: "SP2600ZB",
15661566
vendor: "Sinopé",
15671567
description: "Zigbee smart plug",
1568-
extend: [m.onOff(), m.electricityMeter()],
1568+
extend: [m.onOff(), m.electricityMeter({energy: {divisor: 1000, multiplier: 1}})],
15691569
configure: async (device, coordinatorEndpoint) => {
15701570
const endpoint = device.getEndpoint(1);
15711571
const binds = ["manuSpecificSinope"];
@@ -1577,7 +1577,7 @@ export const definitions: DefinitionWithExtend[] = [
15771577
model: "SP2610ZB",
15781578
vendor: "Sinopé",
15791579
description: "Zigbee smart plug",
1580-
extend: [m.onOff(), m.electricityMeter()],
1580+
extend: [m.onOff(), m.electricityMeter({energy: {divisor: 1000, multiplier: 1}})],
15811581
},
15821582
{
15831583
zigbeeModel: ["RM3250ZB"],
@@ -1704,7 +1704,7 @@ export const definitions: DefinitionWithExtend[] = [
17041704
model: "RM3500ZB",
17051705
vendor: "Sinopé",
17061706
description: "Calypso smart water heater controller",
1707-
extend: [m.onOff({powerOnBehavior: false}), m.electricityMeter()],
1707+
extend: [m.onOff({powerOnBehavior: false}), m.electricityMeter({energy: {divisor: 1000, multiplier: 1}})],
17081708
fromZigbee: [fzLocal.ias_water_leak_alarm, fzLocal.sinope, fz.temperature],
17091709
toZigbee: [tzLocal.low_water_temp_protection],
17101710
exposes: [

0 commit comments

Comments
 (0)