[SNZB-02UL] Clock on the e-ink screen drifts ~7.5 min/day: device keeps re-reading genTime and never takes the response
What happened?
The SONOFF SNZB-02UL shows the time on its screen. After pairing it was correct, but since then it never re-synchronises: it runs about 7.5 minutes per day fast and was 54 minutes ahead after 8 days.
The device does ask for the time. With z2m: debug for a week it sent about 2,400 genTime reads per day. Every ~15 minutes there is a burst of 6–11 reads, 2 s apart, of the full set:
Received Zigbee message from 'SNZB-02UL', type 'read', cluster 'genTime', data '["time","timeZone","localTime","dstStart","dstEnd","dstShift"]'
There are also separate reads of ["localTime"] and ["timeZone"] alone.
Zigbee2MQTT answers every read immediately, with correct values and no delivery error:
ZCL command 0x<ieee>/1 genTime.readRsp({"time":847268351,"timeZone":3600,"localTime":847271951,"dstStart":828061200,"dstEnd":846205199,"dstShift":3600}, {... "direction":1,"srcEndpoint":1,"transactionSequenceNumber":139 ...})
Request Queue (0x<ieee>/1): send readRsp request immediately (sendPolicy=undefined)
The device then repeats reads with the same ZCL transaction sequence numbers (140 twice, 143 four times in one burst), so it apparently never receives or accepts the response. Other devices on the same network read genTime and get the same kind of response without retrying (SONOFF TRVZB, several lights).
Pressing the button on the back does not trigger a genTime read. It only sends customClusterEwelink attribute 8208, the history. The first 4 bytes of that payload (little-endian) are the device's own local time as a Unix timestamp, so the drift can be followed without looking at the screen:
| received (local) | device clock ahead by |
|---|---|
| 2026-10-30 17:23 | +5 min |
| 2026-11-01 13:42 | +17 min |
| 2026-11-03 16:28 | +30 min |
| 2026-11-06 08:04 | +54 min |
Checked against the screen on 2026-11-06 at 09:24: it showed 10:21, so +57 min. The timestamp in the history payload is within a few minutes of the clock on the screen.
The only times the clock was set were right after pairing, and right after a restart of the Zigbee2MQTT process. The device's poll control reports a long poll interval of 6960 quarter-seconds (29 min). I wonder whether the response sits at the parent router and expires before the device polls, but I could not verify that without a sniffer.
What did you expect to happen?
The device takes one of the genTime responses and keeps its clock in sync, like other devices that read genTime.
How to reproduce it (if you can)?
Pair an SNZB-02UL, note the time on the screen, and compare a day later. Enable log_namespaced_levels: {z2m: debug, zh:controller:endpoint: debug} to see the read bursts and responses.
Zigbee2MQTT version
2.14.2 (zigbee-herdsman 10.10.0)
Adapter firmware version
Z-Stack 3.x.0, revision 20250321
Adapter
SONOFF Zigbee 3.0 USB Dongle Plus (CC2652P, zstack)
Setup
Bare-metal Node.js 22 in an Ubuntu 24.04 LXC on Proxmox, host timezone UTC+1 (CET). Device: SNZB-02UL, firmware 1.0.3 (date code 20260824), no OTA image available in zigbee-OTA.
Debug log
One burst of reads and responses, 2026-11-06 09:19
zh:controller:endpoint: ZCL command 0x<ieee>/1 genTime.readRsp({"time":847268351,"timeZone":3600,"localTime":847271951,"dstStart":828061200,"dstEnd":846205199,"dstShift":3600}, {... "transactionSequenceNumber":139 ...})
z2m: Received Zigbee message from 'SNZB-02UL', type 'read', cluster 'genTime', data '["time","timeZone","localTime","dstStart","dstEnd","dstShift"]' from endpoint 1 with groupID 0
zh:controller:endpoint: ZCL command 0x<ieee>/1 genTime.readRsp({"time":847268353,"timeZone":3600,"localTime":847271953,"dstStart":828061200,"dstEnd":846205199,"dstShift":3600}, {... "transactionSequenceNumber":140 ...})
z2m: Received Zigbee message from 'SNZB-02UL', type 'read', cluster 'genTime', data '["time","timeZone","localTime","dstStart","dstEnd","dstShift"]' from endpoint 1 with groupID 0
zh:controller:endpoint: ZCL command 0x<ieee>/1 genTime.readRsp({"time":847268355,"timeZone":3600,"localTime":847271955,"dstStart":828061200,"dstEnd":846205199,"dstShift":3600}, {... "transactionSequenceNumber":140 ...})
zh:controller:endpoint: ZCL command 0x<ieee>/1 genTime.readRsp({"time":847268355,"timeZone":3600,"localTime":847271955,"dstStart":828061200,"dstEnd":846205199,"dstShift":3600}, {... "transactionSequenceNumber":141 ...})
z2m: Received Zigbee message from 'SNZB-02UL', type 'read', cluster 'genTime', data '["time","timeZone","localTime","dstStart","dstEnd","dstShift"]' from endpoint 1 with groupID 0
z2m: Received Zigbee message from 'SNZB-02UL', type 'read', cluster 'genTime', data '["time","timeZone","localTime","dstStart","dstEnd","dstShift"]' from endpoint 1 with groupID 0
zh:controller:endpoint: ZCL command 0x<ieee>/1 genTime.readRsp({"time":847268358,"timeZone":3600,"localTime":847271958,"dstStart":828061200,"dstEnd":846205199,"dstShift":3600}, {... "transactionSequenceNumber":140 ...})
zh:controller:endpoint: ZCL command 0x<ieee>/1 genTime.readRsp({"time":847268358,"timeZone":3600,"localTime":847271958,"dstStart":828061200,"dstEnd":846205199,"dstShift":3600}, {... "transactionSequenceNumber":141 ...})
z2m: Received Zigbee message from 'SNZB-02UL', type 'read', cluster 'genTime', data '["time","timeZone","localTime","dstStart","dstEnd","dstShift"]' from endpoint 1 with groupID 0
z2m: Received Zigbee message from 'SNZB-02UL', type 'read', cluster 'genTime', data '["time","timeZone","localTime","dstStart","dstEnd","dstShift"]' from endpoint 1 with groupID 0
zh:controller:endpoint: ZCL command 0x<ieee>/1 genTime.readRsp({"localTime":847271958}, {... "transactionSequenceNumber":143 ...})
z2m: Received Zigbee message from 'SNZB-02UL', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
zh:controller:endpoint: ZCL command 0x<ieee>/1 genTime.readRsp({"localTime":847271960}, {... "transactionSequenceNumber":143 ...})
z2m: Received Zigbee message from 'SNZB-02UL', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
cc @cubez2mdeveloper
Thanks for the detailed report and logs. The information is very helpful.
We've forwarded this issue to our firmware/product team for further investigation, particularly regarding the device's handling of genTime responses and its time synchronization behavior.
We'll share any updates once we have further information.
Update: on 2026-11-16 the clock was correct again without any change on our side (no Zigbee2MQTT restart, same firmware 1.0.3, no new routers). With debug enabled, the device now sends a single genTime read every ~15 minutes and no longer retries, so it now accepts the response. This suggests the device can get stuck in a state where it ignores genTime responses and later recover from it. I'll report back if the clock starts drifting again.
We conducted a 7-day continuous test with the SNZB-02UL, but so far, we haven't been able to reproduce the issue.
We'll continue monitoring the situation. If you notice the issue again, please let us know and share any relevant logs you may have. This would help us with further investigation.