Koenkk / Koenkk/zigbee2mqtt

FUT035Z+ (TS0502B/_TZ3210_xwqng7ol) weird turn on-behaviour (on-off for 0.3sec)

Open
#32,652 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

problem
Dominant language
TypeScript
Stars
15.7k
Forks
2k
Avg merge
18h 55m
Merged PRs (30d)
35

Description

What happened?

As soon as i turn on the connected led-strip on the BTF-LIGHTING C02Z Dimmer (recognized as FUT035Z+) through Zigbee2MQTT it instantly goes off again (after about 0.3sec on-time). This behaviour is reflected through the Zigbee2MQTT-Device-Interface (Toggle to on goes to off again).
After trying to turning it on again this time it works.
This weird behaviour mostly happens when the controller didn't had the light on for some time ("cold-standby").

What did you expect to happen?

The light turns on normally and stays that way.

How to reproduce it (minimal and precise)

Turn the light on through the Zigbee2MQTT-WebUI togglebutton, or through HA) and observe the on/off-Button-behaviour/or the light itself.

Zigbee2MQTT version

2.12.1

Adapter firmware version

20240710

Adapter

SONOFF Zigbee 3.0 USB-Dongle Plus | ZBDongle-P

Setup

Z2M is run through the HA-Addon. The HA is provided in a virtualized environment (Proxmox Env), the hardware passed through.
Info: the same issues happened with a dedicated Zigbee Dongle Max PoE

Device database.db entry

{"id":171,"type":"Router","ieeeAddr":"0xa4c138b1aa0c58c3","nwkAddr":33121,"manufId":4417,"manufName":"_TZ3210_xwqng7ol","powerSource":"Mains (single phase)","modelId":"TS0502B","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[3,4,5,6,4096,8,768,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"\u0001\u0000\u0000\u0000\u0012\u0001\u0000\u0000\u0000\u0012\u0001\u0000\u0000\u0000\u0012\r\u0000\u0000\u0000\u0013\r\u0000\u0000\u0000\u0012\u0001\u0000\u0000\u0000\u0012","65506":53,"65508":0,"65534":0,"modelId":"TS0502B","manufacturerName":"_TZ3210_xwqng7ol","powerSource":1,"zclVersion":3,"appVersion":101,"stackVersion":0,"hwVersion":1,"dateCode":""}},"lightingColorCtrl":{"attributes":{"57344":1000,"57600":4277787426816,"61447":[],"61448":[],"61449":[],"61453":0,"colorCapabilities":16,"colorTempPhysicalMin":153,"colorTempPhysicalMax":500,"colorTemperature":330,"tuyaRgbMode":0,"colorMode":2}},"genOnOff":{"attributes":{"61440":0,"onOff":1}},"genLevelCtrl":{"attributes":{"61440":996,"currentLevel":253}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b00256c9754","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x00124b00256c9754","endpointID":1},{"cluster":768,"type":"endpoint","deviceIeeeAddress":"0x00124b00256c9754","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1},{"cluster":8,"attrId":0,"minRepIntval":5,"maxRepIntval":65000,"repChange":1},{"cluster":768,"attrId":7,"minRepIntval":10,"maxRepIntval":65000,"repChange":1}],"meta":{"onLevelSupported":false}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":101,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1784918751472}

Debug log

No response

Notes

-Interestingly (but dunno if helpful) when i turn the light on the brightness sometimes goes to 255 but then jumps back to 254/253. When turning off the brightness goes down to 3, then to 1 and stays there (never 0).
-I've already contacted the company BTF-Lighting about these issues, but they are unable to help, as they need the specific Zigbee-Commands sent to the device from the Coordinator/the Gateway application to troubleshoot this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Zigbee2MQTT WebUI toggle path and the supplied device database entry, then capture a debug log while reproducing the cold-standby turn-on behavior. Compare the commands sent with the reported on/off and brightness values; done means the light reliably stays on after the first turn-on.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.