Repository navigation
[WWSTCERT-13446, WWSTCERT-13450, WWSTCERT-13454, WWSTCERT-13458] SONOFF/SWV1C - #3157
Conversation
|
Duplicate profile check: Passed - no duplicate profiles detected. |
|
Profile category check: ✅ Passed - all profiles have a category defined. |
|
Channel deleted. |
|
zigbee-valve_coverage.xml
Minimum allowed coverage is Generated by 🐒 cobertura-action against 1e566cb |
Test Results 73 files 544 suites 0s ⏱️ Results for commit 1e566cb. ♻️ This comment has been updated with latest results. |
|
Thanks for the review. Yes, I checked this behavior with the SONOFF SWV1C device. The device uses the Zigbee OnOff cluster for valve control and reports the valve state through the OnOff attribute. The custom handlers were added to explicitly map:
This is also needed because the device reports the OnOff value as I can also re-test without the custom handlers and confirm whether the default zigbee-valve handling covers this device correctly. |
Has this implementation been tested with the valve left open for longer than ten minutes? Several Hydro ONE users have reported that the valve closes itself after approximately ten minutes because of its device-side manual watering duration. From the current PR, it appears that Open only sends the standard Zigbee On command and does not read or update the SONOFF Could you confirm whether the tested devices remained physically open beyond ten minutes, and which model and firmware version were used? It would also be useful to know whether newer firmware has removed the default limit or whether the WWST integration is expected to configure |
|
To make it clear: the valve won't stay open for longer than 10 minutes, even when it was opened "manually" (Zigbee On command)? |
Yes. |
|
@yanggx24 Please update Your branch. |
I have merged the latest code, is there anything else missing? |
KKlimczukS
left a comment
There was a problem hiding this comment.
Please update Your branch
cjswedes
left a comment
There was a problem hiding this comment.
This is close, it seems like the onoff handler override does justify the subdriver, but there are some other things that seem unnecessary in the subdriver.
Co-authored-by: Konrad K <33450498+KKlimczukS@users.noreply.github.com>
Co-authored-by: Konrad K <33450498+KKlimczukS@users.noreply.github.com>
|
@yanggx24 |
The required license/cla check is stuck at “Expected — Waiting for status to be reported”. |
@yanggx24 Please check this link: https://cla-assistant.io/SmartThingsCommunity/SmartThingsEdgeDrivers |
OK, I have signed it. Thank you. |
…FF/SWV1C (#3157) * feat:sonoff swv valve * Zigbee Valve:modify comment language and file name * Zigbee Valve:Add Sonoff valve subdriver lazy loading * test: fix zigbee valve lazy loading coverage * Fix SONOFF valve command handling * Configure Sonoff valve battery reporting * chore: simplify zigbee-valve license header * chore: remove test_lazy_load_subdriver.lua * Use default SONOFF valve reporting config * fix(zigbee-valve): restore default battery reporting configuration * Fix SONOFF valve command test expectations * Remove unnecessary line breaks in test_sonoff_valve.lua * Update drivers/SmartThings/zigbee-valve/src/test/test_sonoff_valve.lua Co-authored-by: Konrad K <33450498+KKlimczukS@users.noreply.github.com> * Update drivers/SmartThings/zigbee-valve/src/test/test_sonoff_valve.lua Co-authored-by: Konrad K <33450498+KKlimczukS@users.noreply.github.com> * Remove redundant comments from the SONOFF test file --------- Co-authored-by: Konrad K <33450498+KKlimczukS@users.noreply.github.com>
Check all that apply
Type of Change
Checklist
Description of Change
Summary of Completed Tests