Repository navigation
Conversation
|
Invitation URL: |
|
zigbee-range-extender_coverage.xml
Minimum allowed coverage is Generated by 🐒 cobertura-action against 572c238 |
Test Results 73 files 546 suites 0s ⏱️ Results for commit 572c238. ♻️ This comment has been updated with latest results. |
- Add a reusable range-extender-signal profile with signalStrength and refresh - Report RSSI and LQI from Basic cluster responses - Reuse manual refresh and existing five-minute polling for signal sampling - Select the sub-driver by capability rather than manufacturer or model - Update the Dongle-LMG21 fingerprint to use the new profile - Add integration tests for sampling, profile changes, and device matching Validation: all 22 integration tests pass; luacheck reports no warnings or errors.
|
Duplicate profile check: Passed - no duplicate profiles detected. |
|
Profile category check: ✅ Passed - all profiles have a category defined. |
- Set min_api_version to 17 for all new tests - Match the sub-driver using manufacturer and model fingerprints - Add an extensible fingerprint list for supported range extenders - Verify that unmatched manufacturers and models are rejected Validation: all 22 tests pass; luacheck reports no warnings or errors.
…int' into add-sonoff-dongle-lmg21-fingerprint
KKlimczukS
left a comment
There was a problem hiding this comment.
@HiconKong
Did You consider configuring Basic cluster (in the sub-driver) so it reports ZCLVersion attribute more often ? What is default reporting interval ?
This might improve the UX (for example routines / notification when device range drops for some reason).
-- example:
local ATTRIBUTES = {
{
cluster = Basic.ID,
attribute = Basic.attributes.ZCLVersion.ID,
minimum_interval = 1,
maximum_interval = 10,
data_type = Basic.attributes.ZCLVersion.base_type,
reportable_change = 1
}
}
local device_init = function(self, device)
for _, attribute in ipairs(ATTRIBUTES) do
device:add_configured_attribute(attribute)
end
end
|
Thanks for the suggestion! Based on our understanding of the Zigbee specification, Range Extender devices are required to support reading the Basic Cluster's We also noticed that the existing SmartThings Range Extender driver already reads Given this existing mechanism, we believe periodic reporting from the device may not be necessary. Are there any specific use cases or SmartThings requirements that we might have overlooked? |
@HiconKong no, there are no specific requirements. |
KKlimczukS
left a comment
There was a problem hiding this comment.
@HiconKong lgtm
Please update Your branch.
Check all that apply
Type of Change
Checklist
Description of Change
Add a fingerprint for the SONOFF Dongle-LMG21 running Zigbee router firmware to the existing
zigbee-range-extenderdriver.SONOFFDongle-LMG21SONOFF Zigbee Range Extenderrange-extenderThis change reuses the existing driver implementation and device profile. No Lua code, capabilities, or device profiles are changed.
Summary of Completed Tests
Manually tested with a SONOFF Dongle-LMG21 running custom-built Zigbee router firmware and a SmartThings Hub V3.
Verified in the SmartThings app that:
SONOFF Zigbee Range Extender.SONOFFandDongle-LMG21, matching the new fingerprint.Zigbee Range Extenderdriver distributed throughSONOFF Router Test Channel.The screenshots below show the assigned driver, device information, connection status, and connection path.
These checks cover device onboarding and driver association. Routing traffic for other Zigbee devices was not verified as part of these checks.




