Koenkk / Koenkk/zigbee2mqtt

TS0601 _TZE200_w4cryh2i: configuration fails with UNSUPPORTED_ATTRIBUTE for genOnOff reporting

Open
#32,789 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?

Zigbee Model: TS0601
Manufacturer: _TZE200_w4cryh2i

What did you expect to happen?

In the past there were no errors reported for this type of dimmer. I completely forgot about it, but now when I looked into the logs I noticed the following errors:

error: 	z2m: Failed to configure 'Dining Light', attempt 3 (Error: ZCL command 0xdc8e95fffe3aee9c/1 genOnOff.configReport([{"attribute":"onOff","minimumReportInterval":0,"maximumReportInterval":0,"reportableChange":0}], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')

The device works otherwise, but it's flooding the logs.

How to reproduce it (minimal and precise)

It is probably too HW specific, but here are some pictures of the device config:

Image Image Image Image
Zigbee2MQTT version

2.13.0

Adapter firmware version

20211217

Adapter

Sonoff Zigbee Stick ZStack3x0

Setup
   zigbee2mqtt:
      container_name: zigbee2mqtt
      image: koenkk/zigbee2mqtt
      restart: unless-stopped
      user: 1000:1000
      group_add:
         - dialout
      ports:
         - 8088:8080
      volumes:
         - $APPDATA/zigbee2mqtt:/app/data
         - /run/udev:/run/udev:ro
      environment:
         - TZ=Europe/Stockholm
      devices:
         - /dev/ttyUSB0:/dev/ttyUSB0
      networks:
         - default
         - security_default
Device database.db entry

No response

Debug log

No response

Notes

I suspect this is a converter problem. It is too low-level for me, I would be very grateful for an extra pair of eyes.

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 by locating the converter and configuration path for TS0601/_TZE200_w4cryh2i, then reproduce the genOnOff.configReport failure shown in the issue. Check how UNSUPPORTED_ATTRIBUTE is handled for this device and determine the appropriate configuration behavior. Done means the device configures without repeatedly flooding the logs.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.