Koenkk / Koenkk/zigbee2mqtt

[External Converter]: TS0601 from _TZE284_adlblwab

Open
#32,725 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Link

https://allegro.pl/produkt/sterownik-tuya-beznapieciowy-8-kanalowy-zigbee-8x10a-540220b5-aac2-4cc0-a32e-f72f7c338fbe?offerId=16270863807

Database entry

{"id":385,"type":"Router","ieeeAddr":"0xa4c138e1f955d8b4","nwkAddr":63938,"manufId":4417,"manufName":"_TZE284_adlblwab","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0,60672],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"�z1\u0013�z1i�z1i�z1i\r\u0000\u0000\u0000e\u000e\u0000\u0000\u0000\u0012","65506":56,"65508":0,"65534":0,"stackVersion":0,"dateCode":"","appVersion":78,"modelId":"TS0601","manufacturerName":"_TZE284_adlblwab","powerSource":1,"zclVersion":3,"hwVersion":1}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":78,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1785592335694}

Zigbee2MQTT version

2.13.0 (unknown)

External converter
{
    "description": "T758 8-channel Zigbee relay",
    "exposes": [
        {
            "endpoint": "l1",
            "features": [
                {
                    "access": 3,
                    "description": "On/off state of the switch",
                    "endpoint": "l1",
                    "label": "State",
                    "name": "state",
                    "property": "state_l1",
                    "type": "binary",
                    "value_off": "OFF",
                    "value_on": "ON",
                    "value_toggle": "TOGGLE"
                }
            ],
            "type": "switch"
        },
        {
            "endpoint": "l2",
            "features": [
                {
                    "access": 3,
                    "description": "On/off state of the switch",
                    "endpoint": "l2",
                    "label": "State",
                    "name": "state",
                    "property": "state_l2",
                    "type": "binary",
                    "value_off": "OFF",
                    "value_on": "ON",
                    "value_toggle": "TOGGLE"
                }
            ],
            "type": "switch"
        },
        {
            "endpoint": "l3",
            "features": [
                {
                    "access": 3,
                    "description": "On/off state of the switch",
                    "endpoint": "l3",
                    "label": "State",
                    "name": "state",
                    "property": "state_l3",
                    "type": "binary",
                    "value_off": "OFF",
                    "value_on": "ON",
                    "value_toggle": "TOGGLE"
                }
            ],
            "type": "switch"
        },
        {
            "endpoint": "l4",
            "features": [
                {
                    "access": 3,
                    "description": "On/off state of the switch",
                    "endpoint": "l4",
                    "label": "State",
                    "name": "state",
                    "property": "state_l4",
                    "type": "binary",
                    "value_off": "OFF",
                    "value_on": "ON",
                    "value_toggle": "TOGGLE"
                }
            ],
            "type": "switch"
        },
        {
            "endpoint": "l5",
            "features": [
                {
                    "access": 3,
                    "description": "On/off state of the switch",
                    "endpoint": "l5",
                    "label": "State",
                    "name": "state",
                    "property": "state_l5",
                    "type": "binary",
                    "value_off": "OFF",
                    "value_on": "ON",
                    "value_toggle": "TOGGLE"
                }
            ],
            "type": "switch"
        },
        {
            "endpoint": "l6",
            "features": [
                {
                    "access": 3,
                    "description": "On/off state of the switch",
                    "endpoint": "l6",
                    "label": "State",
                    "name": "state",
                    "property": "state_l6",
                    "type": "binary",
                    "value_off": "OFF",
                    "value_on": "ON",
                    "value_toggle": "TOGGLE"
                }
            ],
            "type": "switch"
        },
        {
            "endpoint": "l7",
            "features": [
                {
                    "access": 3,
                    "description": "On/off state of the switch",
                    "endpoint": "l7",
                    "label": "State",
                    "name": "state",
                    "property": "state_l7",
                    "type": "binary",
                    "value_off": "OFF",
                    "value_on": "ON",
                    "value_toggle": "TOGGLE"
                }
            ],
            "type": "switch"
        },
        {
            "endpoint": "l8",
            "features": [
                {
                    "access": 3,
                    "description": "On/off state of the switch",
                    "endpoint": "l8",
                    "label": "State",
                    "name": "state",
                    "property": "state_l8",
                    "type": "binary",
                    "value_off": "OFF",
                    "value_on": "ON",
                    "value_toggle": "TOGGLE"
                }
            ],
            "type": "switch"
        },
        {
            "access": 1,
            "category": "diagnostic",
            "description": "Link quality (signal strength)",
            "label": "Linkquality",
            "name": "linkquality",
            "property": "linkquality",
            "type": "numeric",
            "unit": "lqi",
            "value_max": 255,
            "value_min": 0
        }
    ],
    "model": "T758_8_channel",
    "options": [],
    "source": "external",
    "supports_ota": false,
    "vendor": "TuYa",
    "version": "0.0.0"
}
What does/doesn't work with the external definition?

Switching is working

Notes

software_build_id: undefined
date_code: ``
endpoints:

{"1":{"clusters":{"input":["genGroups","genScenes","manuSpecificTuya","genBasic","60672"],"output":["genOta","genTime"]},"name":"l1"},"242":{"clusters":{"input":[],"output":["greenPower"]}}}

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 supplied external converter and the device database entry for TS0601, then compare them with existing TuYa converter definitions in the repository. Confirm the native definition represents all eight endpoints and preserves the switching behavior reported here; verify the resulting exposes and device behavior with the relevant converter tests or pairing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.