zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]: TuYa USB-C repeater

Open krystof-k opened this issue 1 year ago • 2 comments

Link

https://www.aliexpress.com/item/1005007075890698.html

Database entry

{
  "id": 10,
  "type": "Router",
  "ieeeAddr": "0x70b3d52b600f2017",
  "nwkAddr": 38917,
  "manufId": 4660,
  "manufName": "_TZ3000_n0lphcok",
  "powerSource": "Mains (single phase)",
  "modelId": "TS0001",
  "epList": [
    1
  ],
  "endpoints": {
    "1": {
      "profId": 260,
      "epId": 1,
      "devId": 256,
      "inClusterList": [
        0,
        6,
        3,
        4,
        5,
        57345
      ],
      "outClusterList": [
        10
      ],
      "clusters": {
        "genBasic": {
          "attributes": {
            "65534": 0,
            "modelId": "TS0001",
            "manufacturerName": "_TZ3000_n0lphcok",
            "powerSource": 1,
            "zclVersion": 3,
            "appVersion": 100,
            "stackVersion": 1,
            "hwVersion": 2,
            "dateCode": "20210625",
            "swBuildId": "800+TZZSW31ZY101"
          }
        },
        "genOnOff": {
          "attributes": {
            "onOff": 0
          }
        },
        "manuSpecificTuya_3": {
          "attributes": {
            "powerOnBehavior": 0,
            "switchType": 2
          }
        }
      },
      "binds": [
        {
          "cluster": 6,
          "type": "endpoint",
          "deviceIeeeAddress": "0xe0798dfffea89768",
          "endpointID": 1
        }
      ],
      "configuredReportings": [],
      "meta": {}
    }
  },
  "appVersion": 100,
  "stackVersion": 1,
  "hwVersion": 2,
  "dateCode": "20210625",
  "swBuildId": "800+TZZSW31ZY101",
  "zclVersion": 3,
  "interviewCompleted": true,
  "meta": {
    "configured": 332242049
  },
  "lastSeen": 1723484409037
}

Comments

I bought a new USB-C TuYa repeater, it is recognized as TS0001.

External definition

const {onOff, identify} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['TS0001'],
    model: 'TS0001',
    vendor: '_TZ3000_n0lphcok',
    description: 'Automatically generated definition',
    extend: [onOff({"powerOnBehavior":false}), identify()],
    meta: {},
};

module.exports = definition;

krystof-k avatar Aug 12 '24 17:08 krystof-k

+1 I also received one of these from AliExpress

IMG_2674 IMG_2675

External Definition

const {onOff, identify} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['TS0001'],
    model: 'TS0001',
    vendor: '_TZ3000_n0lphcok',
    description: 'Automatically generated definition',
    extend: [onOff({"powerOnBehavior":false}), identify()],
    meta: {},
};

module.exports = definition;

ryanrozich avatar Aug 29 '24 21:08 ryanrozich

I bought one of these too, forgetting to check if it was supported by Z2M, stupid me.

I'm able to have it recognized by Z2M as TS0001 too, and can configure it in OpenHAB, but every time I switch it on by OpenHAB or the physical button, it switches back off after a few seconds.

Notice says one needs to install an app to configure the repeater, so I tried to install it but it does not detect the repeater.

SO, so far no luck.

guguxfr avatar Sep 20 '24 14:09 guguxfr

I bought one of these too, forgetting to check if it was supported by Z2M, stupid me.

I'm able to have it recognized by Z2M as TS0001 too, and can configure it in OpenHAB, but every time I switch it on by OpenHAB or the physical button, it switches back off after a few seconds.

Notice says one needs to install an app to configure the repeater, so I tried to install it but it does not detect the repeater.

SO, so far no luck.

Its just a signal repeater. When you plug it in it is already on and working. the physical button is just for pairing the device, it doesn't do anything else, no off or on. so just add it to your zigbee network and let it do its thing. its not configurable or anything.

thewan056 avatar Oct 07 '24 19:10 thewan056

I bought one of these too, forgetting to check if it was supported by Z2M, stupid me. I'm able to have it recognized by Z2M as TS0001 too, and can configure it in OpenHAB, but every time I switch it on by OpenHAB or the physical button, it switches back off after a few seconds. Notice says one needs to install an app to configure the repeater, so I tried to install it but it does not detect the repeater. SO, so far no luck.

Its just a signal repeater. When you plug it in it is already on and working. the physical button is just for pairing the device, it doesn't do anything else, no off or on. so just add it to your zigbee network and let it do its thing. its not configurable or anything.

Well, that seems strange to me, if the repeater is already on without pushing the button, why is the device sending a status saying it is off ? Also, if you push the button shortly, the device switches to on for a few seconds, then switches back to off. All that does not seem coherent with the fact that ti would be already on all the time.

Also, I did not feel like it enhanced my signal, but honestly I did not make lots of tests, it's just a feeling.

guguxfr avatar Oct 12 '24 08:10 guguxfr

The device is currently wrongly detected as: 1 Gang Switch

image

It works, because it is only a "Repeater".

According to the website it should expose "Real time monitoring of signal status."

I also found this picture and brief datasheet: https://ae01.alicdn.com/kf/S80098d3e9e9c4f2bab0d0f623dc354eeO.jpg

pflugj avatar Oct 17 '24 13:10 pflugj

Тоже купил этот продукт, отображается как выключатель. Усиливает ли сигналне понятно. Было бы прекрасно, если бы кто то исправил и прописал все верно в базе.

2

krash22reg avatar Oct 23 '24 04:10 krash22reg

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 23 '24 00:12 github-actions[bot]

+1 would like to see it supported fully.

RHCPNG avatar Dec 28 '24 14:12 RHCPNG

+1 seeing this as well

qfoxb avatar Jan 09 '25 00:01 qfoxb

Not sure if it is due to the incorrect detection, but this device is causing huge issues in my zigbee network, i've heard that some Tuya devices seem to drop zigbee messages from non-tuya devices and it appears to be happening with these, setting up a Universal Electronics XHS2-UE door sensor through the router on this device fails to configure and interview, and even crashes z2m

qfoxb avatar Jan 20 '25 08:01 qfoxb

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 Mar 22 '25 00:03 github-actions[bot]

Still interested! Thnx

RHCPNG avatar Mar 22 '25 08:03 RHCPNG

Still interested in having this supported...

hirvesh avatar Mar 26 '25 09:03 hirvesh

USB C device is incorrectly detected as a one gang switch. The attached in zigbee2mqtt image is the switch image.

Ropuh avatar Apr 06 '25 13:04 Ropuh

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 Jun 06 '25 00:06 github-actions[bot]

Hi. The device is now correctly detected as router and the device picture is also correct.

Image

Thanks

pflugj avatar Jun 06 '25 05:06 pflugj

I can confirm. Thnx!

RHCPNG avatar Jun 06 '25 10:06 RHCPNG

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 Aug 07 '25 00:08 github-actions[bot]