Skip to content

Commit b9766c5

Browse files
authored
fix: Decrease SmartThings IM6001-MPP01 reporting interval (#8676)
1 parent fd55801 commit b9766c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/devices/smartthings.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -308,13 +308,13 @@ const definitions: DefinitionWithExtend[] = [
308308
await endpoint.write('genPollCtrl', {longPollInterval: 3600});
309309
await reporting.temperature(endpoint);
310310
await reporting.batteryPercentageRemaining(endpoint);
311-
const payloadA = reporting.payload('acceleration', 10, constants.repInterval.HOUR, 5);
311+
const payloadA = reporting.payload('acceleration', 10, constants.repInterval.MINUTE, 1);
312312
await endpoint.configureReporting('manuSpecificSamsungAccelerometer', payloadA, options);
313-
const payloadX = reporting.payload('x_axis', 10, constants.repInterval.HOUR, 5);
313+
const payloadX = reporting.payload('x_axis', 10, constants.repInterval.MINUTE, 1);
314314
await endpoint.configureReporting('manuSpecificSamsungAccelerometer', payloadX, options);
315-
const payloadY = reporting.payload('y_axis', 10, constants.repInterval.HOUR, 5);
315+
const payloadY = reporting.payload('y_axis', 10, constants.repInterval.MINUTE, 1);
316316
await endpoint.configureReporting('manuSpecificSamsungAccelerometer', payloadY, options);
317-
const payloadZ = reporting.payload('z_axis', 10, constants.repInterval.HOUR, 5);
317+
const payloadZ = reporting.payload('z_axis', 10, constants.repInterval.MINUTE, 1);
318318
await endpoint.configureReporting('manuSpecificSamsungAccelerometer', payloadZ, options);
319319
},
320320
exposes: [e.temperature(), e.contact(), e.battery_low(), e.tamper(), e.battery(), e.moving(), e.x_axis(), e.y_axis(), e.z_axis()],

0 commit comments

Comments
 (0)