zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Tuya TS0505B_1 trouble turning light on, and feature partially works

Open whc2001 opened this issue 2 years ago • 3 comments

What happened?

I have purchased one of this Zigbee light strip controller. It pairs without problem and got recognized as a Tuya TS0505B_1. However when actually using it I found out several problems where one of them is serious.

After powering up, it works fine. However a few gliches:

  • The Effect exposure does not work, select anything will just cause the light to breath once
  • The Transition setting does not work, no matter what value I set (0, 10, etc), the turn on ramp up time is always around 1 second.

These are not critical for usage. However, the following is: When I let it idle for several hours (no exact time here, more than 6 hours maybe?), I will no longer able to turn it on. When turning on, the light will ramp up to full brightness, then immediately turns off. If I click the refresh button on the WebUI, it's still showing ON, but there is no light. Now, if I adjust the brightness afterwards, the light will come on and it will keep working for several hours, after which the problem will appear again.

I have tried to turn on first then adjust the brightness in the automation, however this is not working:

  - service: light.turn_on
    metadata: {}
    data:
      brightness_pct: 99
      color_temp: 500
      transition: 0
    target:
      entity_id: light.bedside_light_strip
  - delay:
      hours: 0
      minutes: 0
      seconds: 0
      milliseconds: 500
  - service: light.turn_on
    metadata: {}
    data:
      transition: 0
      brightness_pct: 100
      color_temp: 500
    target:
      entity_id: light.bedside_light_strip

At this stage I'm really not sure what to do. This problem is basically rendering the controller useless.

What did you expect to happen?

The light should be on steadily when it's turned on no matter when.

How to reproduce it (minimal and precise)

  1. Pair the controller with coordinator
  2. Set color temperature and brightness
  3. Turn on the switch, it lights up fine
  4. Turn off and wait for ~6 hours
  5. Turn on again, the LED strip ramps up to the set brightness, but then immediately goes out
  6. The above state can be triggered multiple times
  7. Click anywhere on the brightness slider when turned on, the strip lights up to the set brightness
  8. Problem is temporarily solved until idle for another several hours

Zigbee2MQTT version

1.35.1-dev commit: 769bc14

Adapter firmware version

zStack3x0 20230507

Adapter

Sonoff ZBDongle-P

Setup

Add-on (Edge) on supervised HASS installation inside Proxmox VE, dongle passed through

Debug log

The relavent device is Bedside Light Strip. Here it was turned on manually with HASS WebUI, and it immediately went out after ramping up.

2024-03-01T12:43:38.869Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,14,200]
2024-03-01T12:43:38.869Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,14,200]
2024-03-01T12:43:38.869Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,14] - 200
2024-03-01T12:43:38.870Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":14}
2024-03-01T12:43:38.870Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2024-03-01T12:43:39.345Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,28,68,129,0,0,4,11,33,184,1,1,0,174,0,199,21,88,0,0,8,8,104,10,11,5,41,0,0,33,184,29,170]
2024-03-01T12:43:39.345Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,28,68,129,0,0,4,11,33,184,1,1,0,174,0,199,21,88,0,0,8,8,104,10,11,5,41,0,0,33,184,29,170]
2024-03-01T12:43:39.345Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 28 - 2 - 4 - 129 - [0,0,4,11,33,184,1,1,0,174,0,199,21,88,0,0,8,8,104,10,11,5,41,0,0,33,184,29] - 170
2024-03-01T12:43:39.345Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - incomingMsg - {"groupid":0,"clusterid":2820,"srcaddr":47137,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":174,"securityuse":0,"timestamp":5772743,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[8,104,10,11,5,41,0,0]}}
2024-03-01T12:43:39.347Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":104,"manufacturerCode":null,"commandIdentifier":10},"Payload":[{"attrId":1291,"dataType":41,"attrData":0}],"Command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}},"address":47137,"endpoint":1,"linkquality":174,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
2024-03-01T12:43:39.349Z zigbee-herdsman:controller:endpoint DefaultResponse 0x282c02bfffeb948b/1 2820(10, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2024-03-01T12:43:39.350Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x282c02bfffeb948b:47137/1 (0,0,1)
2024-03-01T12:43:39.350Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequest - {"dstaddr":47137,"destendpoint":1,"srcendpoint":1,"clusterid":2820,"transid":15,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,104,11,10,0]}}
2024-03-01T12:43:39.350Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,15,36,1,33,184,1,1,4,11,15,0,30,5,24,104,11,10,0,217]
2024-03-01T12:43:39.350Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:debug 2024-03-01 07:43:39: Received Zigbee message from 'Desk Light', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":0}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2024-03-01 07:43:39: MQTT publish: topic 'zigbee2mqtt/Desk Light', payload '{"ac_frequency":60,"current":0,"energy":2.08,"linkquality":174,"power":0,"power_factor":0,"power_on_behavior":"off","state":"OFF","update":{"installed_version":268513355,"latest_version":268513355,"state":"idle"},"update_available":null,"voltage":117.3}'
2024-03-01T12:43:39.354Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,28,68,129,0,0,4,11,33,184,1,1,0,171,0,134,22,88,0,0,8,8,105,10,8,5,33,0,0,33,184,29,231]
2024-03-01T12:43:39.354Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,28,68,129,0,0,4,11,33,184,1,1,0,171,0,134,22,88,0,0,8,8,105,10,8,5,33,0,0,33,184,29,231]
2024-03-01T12:43:39.354Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 28 - 2 - 4 - 129 - [0,0,4,11,33,184,1,1,0,171,0,134,22,88,0,0,8,8,105,10,8,5,33,0,0,33,184,29] - 231
2024-03-01T12:43:39.354Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - incomingMsg - {"groupid":0,"clusterid":2820,"srcaddr":47137,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":171,"securityuse":0,"timestamp":5772934,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[8,105,10,8,5,33,0,0]}}
2024-03-01T12:43:39.355Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":105,"manufacturerCode":null,"commandIdentifier":10},"Payload":[{"attrId":1288,"dataType":33,"attrData":0}],"Command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}},"address":47137,"endpoint":1,"linkquality":171,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
2024-03-01T12:43:39.357Z zigbee-herdsman:controller:endpoint DefaultResponse 0x282c02bfffeb948b/1 2820(10, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2024-03-01T12:43:39.357Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:debug 2024-03-01 07:43:39: Received Zigbee message from 'Desk Light', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":0}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2024-03-01 07:43:39: MQTT publish: topic 'zigbee2mqtt/Desk Light', payload '{"ac_frequency":60,"current":0,"energy":2.08,"linkquality":171,"power":0,"power_factor":0,"power_on_behavior":"off","state":"OFF","update":{"installed_version":268513355,"latest_version":268513355,"state":"idle"},"update_available":null,"voltage":117.3}'
2024-03-01T12:43:39.362Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,1,0,100]
2024-03-01T12:43:39.362Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,1,0,100]
2024-03-01T12:43:39.362Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 1 - [0] - 100
2024-03-01T12:43:39.362Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequest - {"status":0}
2024-03-01T12:43:39.362Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2024-03-01T12:43:39.363Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,15,201]
2024-03-01T12:43:39.363Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,15,201]
2024-03-01T12:43:39.363Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,15] - 201
2024-03-01T12:43:39.363Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":15}
2024-03-01T12:43:39.363Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2024-03-01T12:43:39.363Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0x282c02bfffeb948b:47137/1 (0,0,1)
2024-03-01T12:43:39.363Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequest - {"dstaddr":47137,"destendpoint":1,"srcendpoint":1,"clusterid":2820,"transid":16,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,105,11,10,0]}}
2024-03-01T12:43:39.363Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,15,36,1,33,184,1,1,4,11,16,0,30,5,24,105,11,10,0,199]
2024-03-01T12:43:39.371Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,1,0,100]
2024-03-01T12:43:39.372Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,1,0,100]
2024-03-01T12:43:39.372Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 1 - [0] - 100
2024-03-01T12:43:39.372Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequest - {"status":0}
2024-03-01T12:43:39.372Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2024-03-01T12:43:39.376Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,16,214]
2024-03-01T12:43:39.376Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,16,214]
2024-03-01T12:43:39.376Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,16] - 214
2024-03-01T12:43:39.376Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":16}
2024-03-01T12:43:39.377Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:debug 2024-03-01 07:43:49: Received MQTT message on 'zigbee2mqtt/Bedside Light Strip/set' with data '{"state":"ON"}'
Zigbee2MQTT:debug 2024-03-01 07:43:49: Publishing 'set' 'state' to 'Bedside Light Strip'
2024-03-01T12:43:49.787Z zigbee-herdsman:controller:database:log Writing database to '/config/zigbee2mqtt/database.db'
2024-03-01T12:43:49.795Z zigbee-herdsman:controller:endpoint Command 0xa4c1385fb54188bf/1 genLevelCtrl.moveToLevelWithOnOff({"level":254,"transtime":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2024-03-01T12:43:49.795Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0xa4c1385fb54188bf:41991/1 (0,0,1)
2024-03-01T12:43:49.795Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequest - {"dstaddr":41991,"destendpoint":1,"srcendpoint":1,"clusterid":8,"transid":17,"options":0,"radius":30,"len":6,"data":{"type":"Buffer","data":[1,124,4,254,0,0]}}
2024-03-01T12:43:49.796Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,16,36,1,7,164,1,1,8,0,17,0,30,6,1,124,4,254,0,0,16]
2024-03-01T12:43:49.805Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,1,0,100]
2024-03-01T12:43:49.805Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,1,0,100]
2024-03-01T12:43:49.805Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 1 - [0] - 100
2024-03-01T12:43:49.805Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequest - {"status":0}
2024-03-01T12:43:49.805Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2024-03-01T12:43:49.808Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,17,215]
2024-03-01T12:43:49.808Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,17,215]
2024-03-01T12:43:49.808Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,17] - 215
2024-03-01T12:43:49.809Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":17}
2024-03-01T12:43:49.809Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2024-03-01T12:43:49.825Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,25,68,129,0,0,8,0,7,164,1,1,0,178,0,165,20,98,0,0,5,24,124,11,4,0,7,164,29,198]
2024-03-01T12:43:49.825Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,25,68,129,0,0,8,0,7,164,1,1,0,178,0,165,20,98,0,0,5,24,124,11,4,0,7,164,29,198]
2024-03-01T12:43:49.826Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 25 - 2 - 4 - 129 - [0,0,8,0,7,164,1,1,0,178,0,165,20,98,0,0,5,24,124,11,4,0,7,164,29] - 198
2024-03-01T12:43:49.826Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - incomingMsg - {"groupid":0,"clusterid":8,"srcaddr":41991,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":178,"securityuse":0,"timestamp":6427813,"transseqnumber":0,"len":5,"data":{"type":"Buffer","data":[24,124,11,4,0]}}
2024-03-01T12:43:49.826Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":124,"manufacturerCode":null,"commandIdentifier":11},"Payload":{"cmdId":4,"statusCode":0},"Command":{"ID":11,"name":"defaultRsp","parameters":[{"name":"cmdId","type":32},{"name":"statusCode","type":32}]}},"address":41991,"endpoint":1,"linkquality":178,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
2024-03-01T12:43:49.827Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:info  2024-03-01 07:43:49: MQTT publish: topic 'zigbee2mqtt/Bedside Light Strip', payload '{"brightness":254,"color":{"h":0,"hue":0,"s":100,"saturation":100,"x":0,"y":0},"color_mode":"color_temp","color_power_on_behavior":"initial","color_temp":500,"do_not_disturb":false,"linkquality":178,"state":"ON"}'
2024-03-01T12:43:51.577Z zigbee-herdsman:controller:endpoint Read 0xa4c138d21e8b2a39/1 genBasic(["zclVersion"], {"timeout":10000,"disableResponse":false,"disableRecovery":true,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
2024-03-01T12:43:51.577Z zigbee-herdsman:adapter:zStack:adapter sendZclFrameToEndpointInternal 0xa4c138d21e8b2a39:5739/1 (0,0,1)
2024-03-01T12:43:51.578Z zigbee-herdsman:adapter:zStack:znp:SREQ --> AF - dataRequest - {"dstaddr":5739,"destendpoint":1,"srcendpoint":1,"clusterid":0,"transid":18,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[16,125,0,0,0]}}
2024-03-01T12:43:51.578Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,15,36,1,107,22,1,1,0,0,18,0,30,5,16,125,0,0,0,51]
2024-03-01T12:43:51.587Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,100,1,0,100]
2024-03-01T12:43:51.587Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,100,1,0,100]
2024-03-01T12:43:51.587Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 4 - 1 - [0] - 100
2024-03-01T12:43:51.587Z zigbee-herdsman:adapter:zStack:znp:SRSP <-- AF - dataRequest - {"status":0}
2024-03-01T12:43:51.587Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2024-03-01T12:43:51.590Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,68,128,0,1,18,212]
2024-03-01T12:43:51.590Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,68,128,0,1,18,212]
2024-03-01T12:43:51.590Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 4 - 128 - [0,1,18] - 212
2024-03-01T12:43:51.590Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":18}
2024-03-01T12:43:51.590Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2024-03-01T12:43:51.604Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,69,196,107,22,0,255]
2024-03-01T12:43:51.605Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,69,196,107,22,0,255]
2024-03-01T12:43:51.605Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 5 - 196 - [107,22,0] - 255
2024-03-01T12:43:51.605Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - srcRtgInd - {"dstaddr":5739,"relaycount":0,"relaylist":[]}
2024-03-01T12:43:51.605Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
2024-03-01T12:43:51.613Z zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,28,68,129,0,0,0,0,107,22,1,1,0,153,0,47,200,99,0,0,8,24,125,1,0,0,0,32,3,107,22,29,150]
2024-03-01T12:43:51.613Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,28,68,129,0,0,0,0,107,22,1,1,0,153,0,47,200,99,0,0,8,24,125,1,0,0,0,32,3,107,22,29,150]
2024-03-01T12:43:51.613Z zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 28 - 2 - 4 - 129 - [0,0,0,0,107,22,1,1,0,153,0,47,200,99,0,0,8,24,125,1,0,0,0,32,3,107,22,29] - 150
2024-03-01T12:43:51.613Z zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - incomingMsg - {"groupid":0,"clusterid":0,"srcaddr":5739,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":153,"securityuse":0,"timestamp":6539311,"transseqnumber":0,"len":8,"data":{"type":"Buffer","data":[24,125,1,0,0,0,32,3]}}
2024-03-01T12:43:51.614Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":125,"manufacturerCode":null,"commandIdentifier":1},"Payload":[{"attrId":0,"status":0,"dataType":32,"attrData":3}],"Command":{"ID":1,"name":"readRsp","parameters":[{"name":"attrId","type":33},{"name":"status","type":32},{"name":"dataType","type":32,"conditions":[{"type":"statusEquals","value":0}]},{"name":"attrData","type":1000,"conditions":[{"type":"statusEquals","value":0}]}]}},"address":5739,"endpoint":1,"linkquality":153,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
2024-03-01T12:43:51.614Z zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext []
Zigbee2MQTT:debug 2024-03-01 07:43:51: Received Zigbee message from 'Chime', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2024-03-01 07:43:51: Successfully pinged 'Chime' (attempt 1/2)

whc2001 avatar Mar 01 '24 04:03 whc2001

After some further testing, I can get the light to ramp up faster by setting the Transition in specific settings to 0.1. However the auto off problem is still there randomly, and each time it appears, the transition time goes back to around 1s. Tried a lot of things and it just won't work correctly...

whc2001 avatar Mar 03 '24 12:03 whc2001

I think I have found a way to get it work with Z2M (temporarily).

You will have to set up HomeAssistant ZHA with another coordinator. Unpair the LED driver with Z2M and pair it with ZHA, turn on and off once and pair back with Z2M again. After that, it should work for simple turn on/off without automatically turning off.

However, NEVER EVER touch anything in the Settings (specific) tab in the WebUI device page, especially the Transition setting. If you did so, the problem will appear and you need to do the above steps again to recover. To be on the safe side, don't use the transition time argument when calling from HA either and just use the default transition time.

Maybe there is something wrong in the settings implementation?

whc2001 avatar Mar 10 '24 23:03 whc2001

I too have the same issue with the light strip turning off immediately after turning on. I will try removing the transition option from z2m to see if that works.

rasika-jay avatar Jul 27 '24 00:07 rasika-jay

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

github-actions[bot] avatar Dec 30 '24 00:12 github-actions[bot]

1

whc2001 avatar Dec 30 '24 17:12 whc2001

I have a similar problem, when once I touched the Settings (specific), I always get a transition, even if I set the setting to 0 (aka no transition).

wucke13 avatar Jan 08 '25 20:01 wucke13

chamuridis avatar Jan 18 '25 20:01 chamuridis

Same fore me

spiran66 avatar Feb 21 '25 13:02 spiran66

Were you able to find a proper solution?

nevembalint avatar Apr 04 '25 14:04 nevembalint

Same issue, I am also getting following error when trying to turn on again:

Error 2025-05-22 15:50:05z2m: Publish 'set' 'state' to 'Lozko' failed: 'Error: ZCL command 0xa4c138992f8c4f2c/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Timeout - 1050 - 1 - 129 - 6 - 11 after 10000ms)'

It also fails to get the state:

Error 2025-05-22 15:46:27z2m: Publish 'get' 'brightness' to 'Lozko' failed: 'Error: ZCL command 0xa4c138992f8c4f2c/1 genLevelCtrl.read(["currentLevel"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Timeout - 1050 - 1 - 93 - 8 - 1 after 10000ms)'

Problem seems to appear randomly, sometimes after a longer while - sometimes immediately after sending several commands.

It also does happen that Zigbe2MQTT fails to get or set the state, but connected light switches operate (but at some point they stop working until LED controller is power-cycled as well).

m-stefanski avatar May 22 '25 13:05 m-stefanski

I too am having this issue. During pairing I manually set the transition time to 2 for about 30 of these devices. I'll try the ZHA workaround and see if that resolves the issue for now.

jemmiegod avatar May 29 '25 19:05 jemmiegod

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jul 29 '25 00:07 github-actions[bot]

I have some Moes ZB-TD5-RCW-GU10 bulbs, identified as TS0505B (TZ3210_ljoasixl) that are also doing this. It seems variable and is sometimes triggered on-demand by sending the light commands during transition from on/off... but also can be brought back to normal e.g. by turning it on and off rapidly before it's finished transitioning to on. I'm not quite sure if it's the same issue, but it seems more like a bug in the Tuya bulb firmware than in Z2M, going by this project's README.

xBelladonna avatar Jul 29 '25 04:07 xBelladonna

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Sep 29 '25 00:09 github-actions[bot]

No Please GitHub Actions I beg you 😭

xBelladonna avatar Sep 29 '25 04:09 xBelladonna

No Please GitHub Actions I beg you 😭

I'd say at this point this issue is better closed since it's a known bug of Tuya firmware, and there is not much Z2M can do to mitigate it. I hope tuyaZigbee would be more mature soon and would happily flash my devices away from stock firmware.

whc2001 avatar Sep 29 '25 15:09 whc2001