SWV-ZF2: device becomes completely unresponsive for extended periods
What happened?
The device (SONOFF SWV-ZF2, dual-channel water valve) intermittently becomes completely unresponsive to all Zigbee commands β reads, writes, and OTA checks alike β for durations ranging from ~15 minutes up to over a day. This is confirmed via continuous multi-day automated MQTT monitoring (not just occasional manual observation), so the pattern is well-characterized rather than anecdotal.
What did you expect to happen?
Consistent responsiveness to Zigbee commands, similar to the single-channel SWV-ZFU unit on the same network (<0.3% downtime over the same multi-day period).
How to reproduce it (minimal and precise)
The device (SONOFF SWV-ZF2, dual-channel water valve) intermittently becomes completely unresponsive to all Zigbee commands β reads, writes, and OTA checks alike β for durations ranging from ~15 minutes up to over a day. This is confirmed via continuous multi-day automated MQTT monitoring (not just occasional manual observation), so the pattern is well-characterized rather than anecdotal.
Environment
- Zigbee2MQTT: 2.13.0 (latest at time of testing)
- zigbee-herdsman: 10.8.0
- zigbee-herdsman-converters: 26.90.0
- Deployment: Debian, Docker
- Device firmware: went from 1.0.7 β 1.0.9 via OTA during testing
Troubleshooting steps and findings
-
Initial observation:
genOnOffbind/reporting configuration failed with timeout errors even during initial pairing β present from day one, not something that developed over time. -
Power cycling: Removed and reinserted batteries multiple times. Device worked normally for a short period (~5 minutes to a few hours) after each reset before becoming unresponsive again.
-
Re-pairing: Deleted and re-paired the device multiple times. Same pattern repeated each time.
-
Physical button testing: Confirmed the valve motor/water flow works correctly via physical button press even during periods when Zigbee communication is completely dead β ruling out a mechanical fault. LED responds to button presses during dead periods, but the Zigbee radio stays silent.
-
Factory reset attempt: Tried the 10-second button long-press for factory reset during a dead period β no response (LED did not enter fast-flash state), suggesting the main controller couldn't even process a local reset trigger at that moment.
-
OTA update attempts: Repeatedly triggered manual OTA checks; most failed with
"Device didn't respond to OTA request". One eventually succeeded, updating firmware 1.0.7 β 1.0.9. This temporarily resolved the issue for ~8 hours before the same unresponsive pattern returned. -
Long-term automated monitoring (~4 days, ongoing): Script subscribing to the device's MQTT state topic, continuously logging
last_seento precisely characterize unresponsive windows.- A recurring ~15.0β15.1 minute unresponsive window appears very consistently (~200 occurrences in one 4-day sample), suggesting an internal timer/cycle.
- Longer, unpredictable dead periods occur on top of this baseline, including one lasting 28.22 hours.
- As of the latest sample, another outage began and had already lasted 11+ hours with no recovery at time of writing.
- Across the full observation window, unresponsive periods have accounted for roughly 37β66% of total time depending on the sample window, with the trend showing repeated cycles of "recovery β several hours to ~1.5 days of relative stability β relapse into extended unresponsiveness" rather than a steady improvement.
-
Comparison with a second unit: A single-channel SWV-ZFU on the same coordinator, same Zigbee2MQTT instance, same network remained stable throughout, with <0.3% downtime over the same period β ruling out network/environmental/coordinator-side causes.
-
Signal quality check: Compared
linkquality(LQI) values immediately before, during (where any messages were received), and after unresponsive windows. LQI remained stable in the ~136β152 range throughout, with no discernible drop correlating with unresponsive periods β ruling out a signal-strength explanation. -
"Keepalive" mitigation attempt: Script sending a
child_locktoggle every 10 minutes, later upgraded to also verify actual command success (waiting up to 15s for a state update confirming the change was applied, not just checking that the publish call didn't error).- Over 243 attempts across ~2 days, 193 succeeded (79.4%) and 50 failed (20.6%), with failures clustering heavily during known unresponsive windows (near-0% success during the 11+ hour outage still ongoing as of this writing).
- During earlier unresponsive windows (before the result-verification upgrade), keepalive commands consistently failed with
Request superseded(each new command canceling the still-pending previous one before the device ever woke to process it) β confirming the device wasn't waking up at all during these windows, not just failing to process one command type. genOnOff.oncommands sent independently during the same windows also timed out (timed out after 10000ms), confirming all command types fail uniformly during dead periods.- During the 28.22-hour outage specifically, Zigbee2MQTT's console log showed zero log entries at all for this device during the entire outage β suggesting the availability mechanism may have stopped even attempting to queue commands to it. Recovery was marked by a log message not seen elsewhere in our logs:
"Failed to read state of '...' after reconnect", suggesting the device rejoined the network rather than simply "waking up" from a poll cycle.
-
Device attribute inspection:
genPollCtrl.checkinIntervalreports as14400(quarter-seconds = 3600s = 1 hour) β longer than the observed baseline "dead window" (~15 min) and much shorter than the longest observed outages (28+ hours).
What did you expect to happen?
Consistent responsiveness to Zigbee commands, similar to the single-channel SWV-ZFU unit on the same network (<0.3% downtime over the same multi-day period).
How to reproduce it
No specific trigger identified. The unresponsive periods occur intermittently and unpredictably during normal/idle operation β no watering schedules or heavy automation running beyond periodic monitoring/keepalive polling.
Current status
As of this writing, the device is in the middle of an outage that has lasted 11+ hours with no signs of recovery.
Zigbee2MQTT version
2.13.0
Adapter firmware version
20250220
Adapter
SMLIGHT SLZB-06M
Setup
Running Zigbee2MQTT in a Docker container (image: koenkk/zigbee2mqtt) on a Debian x86-64 host, alongside a separate mosquitto broker container.
uname -a && cat /etc/issue.net output:
Linux
Device database.db entry
{"id":21,"type":"EndDevice","ieeeAddr":"0xa4c138eafe1c1a0a","nwkAddr":31252,"manufId":4742,"manufName":"SONOFF","powerSource":"Battery","modelId":"SWV-ZF2","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":2,"inClusterList":[0,1,3,6,32,64599,64529,1028],"outClusterList":[3,25],"clusters":{"genOnOff":{"attributes":{"onOff":0}},"genBasic":{"attributes":{"dateCode":"20260724","swBuildId":"1.0.9"}},"genPollCtrl":{"attributes":{"checkinInterval":14400}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200}},"customClusterEwelink":{"attributes":{"7":0,"20495":0,"20504":[0,0,0,0],"20506":0,"childLock":1,"manualDefaultSettings":[0,0,10,0,0,0,0,1,0,0,0,0],"rainDelayEndDatetime":0,"valveAlarmSettings":[7,5,1,5],"seasonalWateringAdjustment":[10,10,10,10,10,10,10,10,10,10,10,10],"unitOfWaterFlow":0,"irrigationScheduleStatus":[1,0,1,0,50,11,80,231,50,11,83,63,50,11,80,237,1,0,0,0,0],"realTimeIrrigationDuration":0,"realTimeIrrigationVolume":0,"valveAbnormalState":0,"hourIrrigationDuration":0,"hourIrrigationVolume":0}},"msFlowMeasurement":{"attributes":{"measuredValue":0}}},"binds":[{"cluster":32,"type":"endpoint","deviceIeeeAddress":"0x449fdafffe61df2e","endpointID":1},{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x449fdafffe61df2e","endpointID":1},{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x449fdafffe61df2e","endpointID":1}],"configuredReportings":[{"cluster":1,"attrId":33,"minRepIntval":3600,"maxRepIntval":65000,"repChange":10}],"meta":{}},"2":{"profId":260,"epId":2,"devId":2,"inClusterList":[0,6],"outClusterList":[],"clusters":{"genBasic":{"attributes":{}},"genOnOff":{"attributes":{"onOff":0}},"customClusterEwelink":{"attributes":{"20506":0,"realTimeIrrigationDuration":0,"irrigationScheduleStatus":[1,0,1,0,50,11,80,241,50,11,83,73,50,11,80,245,1,0,0,0,0],"hourIrrigationDuration":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x449fdafffe61df2e","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":16,"hwVersion":0,"dateCode":"20260724","swBuildId":"1.0.9","zclVersion":8,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1786710416108,"checkinInterval":3600}
Debug log
Notes
No response
I have a very similar setup with a Hydro ONE and a Hydro DUO. After a firmware update 4104 β 4105 the DUO's link quality went massively down (before ~100; after ~70). That correlates with the release notes, that talk about "improved connectivity". Only after a reset (10 sec. button press) could I get it to talk to Zigbee2MQTT again and do the interview again. Still, it doesn't react to any valve switching commands.
z2m: Publish 'set' 'state' to 'BewΓ€sserung Duo' failed: 'Error: ZCL command 0xa4c1383b47bb3a99/2 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (failed to send ZCL request (61) Error: Failed APS-DATA.request with confirm status: ApsNoAck (0xa7))'
The Hydro ONE works without any issues. Both devices are at the same position next to each other.
I've opened a ticket regarding the firmware with Sonoff.
Hi @lekuejj , thanks for the additional information.
Could you please try moving the coordinator closer to the SWV-ZF2, or adding one or more routers between the coordinator and the device, and then check whether the issue still occurs?
Also, the genOnOff bind/reporting configuration failure is somewhat unusual. Could you check whether this can be reproduced consistently by putting the device into pairing mode and pairing it close to the coordinator? In particular, weβd like to know whether the configuration failure can be reproduced 100% of the time under these conditions.
This would help us determine whether the issue could be related to the Zigbee network or communication conditions.
Thanks for your help with the additional testing.
Thanks for looking into this. Regarding the signal/proximity suggestion β I want to share some data that may help narrow this down before I test moving the coordinator.
Throughout my multi-day monitoring, the LQI for my SWV-ZF2 has remained consistently stable in the 136β180 range, with no observable drop before, during, or after unresponsive periods. This differs from what @MerlinDE reported (LQI dropping from ~100 to ~70 after the firmware update) β I have not observed any LQI degradation over time.
Additionally, my single-channel SWV-ZFU is positioned right next to the SWV-ZF2, on the same coordinator, and has remained stable (<0.3% downtime) throughout the same period β which would be hard to explain if the issue were purely about coordinator distance/signal strength, since both devices share essentially the same RF environment.
Some concrete data points:
- LQI stability across a representative outage window (2026-08-14, ~1.7h gap):
Last successful message before gap: 23:54 linkquality: 140 During the gap (a few messages still got through): 00:00 linkquality: 136β144 First successful messages after recovery: 02:00, 02:07 linkquality: 136β144
LQI before, during, and after this outage is essentially unchanged β no degradation pattern that would explain the gap.
- A recurring ~15-minute unresponsive cycle (sample from one 4-day monitoring window, local time):
12:30:31 -> 12:45:34 15.1 min 13:15:47 -> 13:30:49 15.0 min 13:30:49 -> 13:45:51 15.0 min 14:15:56 -> 14:30:58 15.0 min 15:00:49 -> 15:15:52 15.1 min 15:15:52 -> 15:30:54 15.0 min 16:15:33 -> 16:30:36 15.1 min
7 occurrences in under 5 hours, every single one landing within 0.1 minutes of the same 15-minute mark. This precision is what led me to suspect an internal timer rather than RF-related packet loss, which I'd expect to produce more randomly-distributed gap durations rather than such a tight, repeating cycle.
-
Longest observed outage: a single gap of 28.22 hours (2026-08-11 12:08 β 2026-08-12 16:22). During this entire outage, Zigbee2MQTT's own console log shows zero log entries for this device β not even failed command attempts β suggesting the availability tracking had stopped retrying entirely. Recovery was marked by a log line not seen elsewhere in my logs: "Failed to read state of '...' after reconnect", which suggests a network-level rejoin event rather than the device simply waking up on its normal schedule.
-
Side-by-side comparison, same coordinator, same RF environment, over the same multi-day window:
SWV-ZF2 (dual-channel): ~37β66% of time unresponsive, depending on sample window SWV-ZFU (single-channel), positioned next to it: <0.3% downtime
Given this data, I lean toward this being device-side (firmware/sleep-cycle related) rather than RF/proximity-related. I'm happy to still test moving the coordinator closer if you think it's worth ruling out, but wanted to share this first in case it changes the direction of the investigation.
For context: I already returned my unit through the retailer given the severity of the issue, so I may not be able to run further live tests on this specific device β but I have several days of detailed logs (MQTT state history, keepalive success/failure logs, and Zigbee2MQTT console logs) I'm happy to provide if useful for further analysis.
I can confirm the same issue with a SONOFF Hydro DUO SWV-ZF2E.
Setup:
- Home Assistant
- Zigbee2MQTT
- Firmware 1.0.9 / version 4105
- New Varta alkaline batteries
- LQI typically around 100β150
After a battery power cycle, Zigbee control works temporarily. After some time, the device stops accepting all Zigbee ON/OFF commands.
Zigbee2MQTT reports:
Publish 'set' 'state' to 'BWC' failed genOnOff.on() failed Timeout after 10000ms Delivery failed
The device may still appear available and may continue to expose battery, LQI and irrigation status data.
Additional findings:
- Physical button control continues to work.
- BLE control through the eWeLink app continues to work while Zigbee commands fail.
- I tested a Zigbee keepalive using a state read every two hours. It did not prevent the device from becoming unresponsive.
- Home Assistant automations may trigger normally, but the valve does not physically open and the final measured volume is 0.00 L.
- A watering schedule stored through the eWeLink app successfully opened the valve and produced real water flow while Zigbee control was unavailable.
This suggests that the valve controller, internal scheduler and BLE communication remain functional while the Zigbee command processing becomes unresponsive.
The issue therefore appears to be specific to the SWV-ZF2 Zigbee firmware or radio stack rather than a mechanical valve, battery, signal strength or coordinator problem. `
I can confirm the same issue with ZHA. I have three SWV-ZF2 units on firmware 1.0.9. Two of them repeatedly become completely unresponsive for hours despite good signal before the outage (around -52 dBm / LQI 190). All reads and commands time out. They sometimes rejoin by themselves much later, or temporarily recover after pressing the pairing button. I already tried fresh batteries, factory resets, re-pairing, different locations and several routers (Hue, Shelly and ESP-based). The issue existed before changing any Poll Control settings and still occurs with shorter polling. One affected unit was also moved to a previously reliable location (the older version SONOFF Zigbee Smart Water Valve SWV-BSP was installed before), without improvement. To me this does not appear to be a simple range problem.
Same problem here with ZHA. My unit SWV-ZF2 is brand new and I upgraded firmware from 1.0.8 to 1.0.9. I don't know if the problem started with the new firmware. Is it possible to downgrade to 1.0.8?
Same problem here with ZHA. My unit SWV-ZF2 is brand new and I upgraded firmware from 1.0.8 to 1.0.9. I don't know if the problem started with the new firmware. Is it possible to downgrade to 1.0.8?
I had the problem with 1.0.7, 1.0.8 and 1.0.9. So i guess a firmware downgrade will most probably not help in this case...
Thank @PoeAlex for reporting. I am running on new batteries if that helps. Don't know if the problem is present also with USB-C power
Additional reproduction: SWV-ZF2E firmware 1.0.9 β intermittent complete Zigbee silence under ZHA
I'm experiencing what appears to be the same connectivity issue with a new SONOFF Hydro DUO using Home Assistant ZHA, rather than Zigbee2MQTT.
Environment
- Device: SONOFF Hydro DUO SWV-ZF2E (
SWV-ZF2) - Firmware:
0x00001009/ 1.0.9 - MCU: Telink TLSR8258
- Home Assistant: Core 2026.10.0
- Integration: ZHA with custom
swv_zf2.pyquirk - Coordinator: SONOFF ZBDongle-E (Silicon Labs EFR32MG21), local USB
- Parent router: SmartHome KSP1EM Zigbee smart plug
- Power: 4 Γ AA batteries, reporting 100%
- NWK address:
0x8C4D(unchanged across failures)
The custom ZHA quirk supports both valve endpoints and SONOFF-specific attributes. Importantly, the connectivity failure is confirmed through ZHA's raw zigbee.db last_seen timestamps, independently of entity availability or the custom quirk.
Failure and recovery evidence
First observed outage:
- 12 Oct, 19:57:36 AEDT: Last received Zigbee frame.
- 13 Oct, 02:00:20: ZHA marked the device unavailable (six-hour sleepy-device timeout).
- 14 Oct, 08:39: An ordinary physical channel-button press immediately restored Zigbee communication.
- 08:39β08:41: Battery, valve states, configuration and usage attributes resumed reporting.
- Total actual Zigbee silence: approximately 36 hours 42 minutes.
Recovery required no battery removal, coordinator/router restart, factory reset or re-pairing. The device retained its IEEE/NWK addresses and ZHA registration.
Second outage:
- 14 Oct, 15:12:07: Last received Zigbee frame, approximately 6.5 hours after recovery.
- 14 Oct, 21:14:43: ZHA marked the device unavailable again.
- 15 Oct, 19:42: Still completely silent, with unchanged database
last_seen. - Actual Zigbee silence at that point: approximately 28.5 hours.
There were no intermediate frames or brief recoveries in the ZHA database/recorder history.
Other observations
- The device has also remained connected and fully operational for multiple consecutive days between failures, with normal valve control and telemetry reporting. The outages are intermittent and unpredictable rather than consistently occurring after a fixed period.
- Following some recoveries, connectivity lasts multiple days; on the most recent occasion, it failed again after approximately 6.5 hours.
- Removing and reinserting the batteries restores Zigbee communication.
- An ordinary physical channel-button press has also successfully restored communication without a battery reset or re-pairing.
- Local valve controls continue functioning during Zigbee outages.
- Power-cycling the parent Zigbee router did not restore communication.
- The KSP1EM parent router remains healthy, continuously reporting power/LQI, while other child devices operate normally.
- Router LQI remained healthy (approximately 80β119) and did not deteriorate when the Hydro disappeared.
- Nearby SONOFF SNZB-02LD and door/window sensors continued communicating throughout the outages.
- ZHA retains the Hydro as an initialized device with endpoints 1 and 2, although it eventually disappears from the router's current child table after prolonged silence.
These observations strongly suggest a device-specific Zigbee communication failure rather than a coordinator, router, mesh or Home Assistant availability issue.
Technical assessment
The physical button-triggered recovery is particularly interesting. It suggests that local interaction may trigger a Zigbee wake-up, polling or rejoin/recovery process that fails to occur automatically.
Potential causes include:
- TLSR8258 Zigbee task/stack becoming stalled.
- Sleep/wake or power-management handling.
- End-device parent polling, Poll Control or orphan-recovery behaviour.
These remain hypotheses without packet-level evidence.
Given that similar symptoms occur with ZHA and Zigbee2MQTT using different coordinators, this increasingly points towards a device-side issue rather than an integration-specific defect.
Questions for SONOFF / maintainers
- Is this a known firmware defect affecting SWV-ZF2/SWV-ZF2E firmware 1.0.9?
- Is newer or beta firmware available containing Zigbee connectivity fixes?
- Is a physical channel-button press expected to wake or reinitialise the Zigbee stack, and should it trigger a Device Announce or rejoin?
- Are there known TLSR8258 sleep/polling issues or recommended Poll Control settings?
- Would continuous USB-C power change the device's sleep behaviour?
- What ZHA/zigpy/Ember debug events or packet captures would be most useful to diagnose the next failure?
I can provide additional ZHA diagnostic logs and database snapshots if required.
Summary: The device can operate normally for multiple consecutive days, then become completely unreachable over Zigbee for 24β36+ hours. Communication can be restored by battery reinsertion or an ordinary physical button press, without re-pairing, but recovery is not permanent or predictable. On the most recent occasion, the device operated for approximately 6.5 hours after recovery before becoming completely silent again.
Update β Firmware 1.1.0 and Zigbee reconnection
I've updated my SONOFF Hydro DUO (SWV-ZF2E) from 1.0.9 to 1.1.0 using eWeLink over Bluetooth while Zigbee was unresponsive. The update succeeded but didn't automatically restore Zigbee connectivity.
On 4 November, holding a valve button for 5 seconds to enter pairing mode successfully rejoined the existing ZHA network, without removing batteries or factory resetting. All existing HA entities and automations were retained.
Some additional findings from my ZHA logs:
- The latest outage lasted approximately 118 hours.
- The device joined through a TS011F smart plug, which was still operational when the outage began.
- Signal after reconnection was RSSI -71 dBm / LQI 116.
- ZHA confirms firmware
0x00001100(1.1.0), although its OTA catalogue still only offers 1.0.9.
I'll monitor stability on 1.1.0 for the next two weeks without changing anything else and report back.
Has anyone else tried 1.1.0 or noticed improvements in connectivity?