Description
Currently, the default firmware configuration on some Develco MOSZB-140 devices causes excessive reporting behavior for the illuminance cluster. This conflicts with the manufacturer's technical documentation, causing the device to saturate the Zigbee network with unnecessary messages and drain the battery faster.
Current Behavior
Cluster: Illuminance (Endpoint 39)
Problem: The firmware's default min reportable change is a very low value (5), which causes the device to send a report with every minimal change in light.
Expected Behavior (according to the manual)
Cluster: Illuminance
Behavior: The device's technical manual specifies that the Reportable Change should be disabled (0xFFFF), and reporting should be based solely on a time interval (max reporting interval every 10 minutes).
Proposed Solution
An explicit reporting configuration for the device's definition in the src/devices/develco.ts file should be implemented to override the default firmware behavior. In addition to adjusting the illuminance reporting, a reporting configuration for temperature was also applied to ensure stable and predictable behavior. By setting a higher min reportable change, the device will stop reporting continuously and will only send messages if there is a significant change in either luminance or temperature.
The updated extend code block, which includes the corrected reporting values for Illuminance, Temperature, and Battery, based on tested optimal values, is attached.
zigbee-herdsman-converters/src/devices/develco.ts
Modified lines Line 641 and 642
extend: [
develcoModernExtend.addCustomClusterManuSpecificDevelcoGenBasic(),
develcoModernExtend.readGenBasicPrimaryVersions(),
develcoModernExtend.temperature({reporting: {min: 10, max: 3600, change: 100}}),
m.illuminance({reporting: {min: 10, max: 3600, change: 100}}),
m.battery({
voltageToPercentage: {min: 2500, max: 3000},
percentage: true,
voltage: true,
lowStatus: false,
voltageReporting: true,
percentageReporting: false,
}),
],
Description
Currently, the default firmware configuration on some Develco MOSZB-140 devices causes excessive reporting behavior for the illuminance cluster. This conflicts with the manufacturer's technical documentation, causing the device to saturate the Zigbee network with unnecessary messages and drain the battery faster.
Current Behavior
Cluster: Illuminance (Endpoint 39)
Problem: The firmware's default min reportable change is a very low value (5), which causes the device to send a report with every minimal change in light.
Expected Behavior (according to the manual)
Cluster: Illuminance
Behavior: The device's technical manual specifies that the Reportable Change should be disabled (0xFFFF), and reporting should be based solely on a time interval (max reporting interval every 10 minutes).
Proposed Solution
An explicit reporting configuration for the device's definition in the src/devices/develco.ts file should be implemented to override the default firmware behavior. In addition to adjusting the illuminance reporting, a reporting configuration for temperature was also applied to ensure stable and predictable behavior. By setting a higher min reportable change, the device will stop reporting continuously and will only send messages if there is a significant change in either luminance or temperature.
The updated extend code block, which includes the corrected reporting values for Illuminance, Temperature, and Battery, based on tested optimal values, is attached.
zigbee-herdsman-converters/src/devices/develco.ts
Modified lines Line 641 and 642