zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[Wrong device]: 2 Button Scene Switch

Open Mrsash2020 opened this issue 5 months ago • 8 comments

Link

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

Model

None

Description

Zigbee Switch Push Button Switch 2Gang 6 Scene

Vendor

NA

Picture (link)

https://ae-pic-a1.aliexpress-media.com/kf/A8fa22cec06fc43bea39eb916f8e6a4bdR.jpg_.webp

Database entry

https://www.zigbee2mqtt.io/devices/33951_33948.html#awox-33951%252F33948

Notes

Ok So my new 2 button scene switch gets identified as AwoX

Image

Mrsash2020 avatar Sep 27 '25 00:09 Mrsash2020

I have this issue too. I have an older one that works fine but got a couple of newer ones from the same source and it has this issue too. The working one is detected as https://www.zigbee2mqtt.io/devices/LKWSZ211.html#linkoze-lkwsz211 but the newer one is detected as https://www.zigbee2mqtt.io/devices/33951_33948.html#awox-33951%252F33948

NoifP avatar Oct 26 '25 07:10 NoifP

@NoifP could you provide the data/database.db entry of your device?

Koenkk avatar Oct 26 '25 20:10 Koenkk

This is the working one:

{"id":24,"type":"EndDevice","ieeeAddr":"0xa4c138f33f29c99b","nwkAddr":19446,"manufId":4417,"manufName":"_TZ3210_3ulg9kpo","powerSource":"Battery","modelId":"TS0021","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[1,1280,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"�DY0\r","65506":54,"65508":0,"65534":0,"modelId":"TS0021","manufacturerName":"_TZ3210_3ulg9kpo","powerSource":3,"zclVersion":3,"appVersion":66,"stackVersion":0,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0xe0798dfffed94f29","zoneState":1}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":66,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":1946894323},"lastSeen":1761977995947}

These are the two unhappy ones:

{"id":26,"type":"EndDevice","ieeeAddr":"0xa4c1384336b0199a","nwkAddr":41017,"manufId":4417,"manufName":"TELINK","powerSource":"Battery","modelId":"TLSR82xx","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":0,"inClusterList":[0,3,1,6],"outClusterList":[4,5,4096],"clusters":{"genBasic":{"attributes":{"appVersion":0,"hwVersion":0}}},"binds":[],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":0,"inClusterList":[0,3,6],"outClusterList":[],"clusters":{"genBasic":{"attributes":{"appVersion":0,"hwVersion":0}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":2,"hwVersion":0,"zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1760441245407}
{"id":27,"type":"EndDevice","ieeeAddr":"0xa4c138639d9a3fe3","nwkAddr":65046,"manufId":4417,"manufName":"TELINK","powerSource":"Battery","modelId":"TLSR82xx","epList":[1,2],"endpoints":{"1":{"profId":260,"epId":1,"devId":0,"inClusterList":[0,3,1,6],"outClusterList":[4,5,4096],"clusters":{"genBasic":{"attributes":{"modelId":"TLSR82xx","manufacturerName":"TELINK","powerSource":3,"zclVersion":3,"appVersion":0,"stackVersion":2,"hwVersion":0}}},"binds":[],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":0,"inClusterList":[0,3,6],"outClusterList":[],"clusters":{"genBasic":{"attributes":{"appVersion":0,"hwVersion":0}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":2,"hwVersion":0,"zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1761431130776}

Is that what you are after? If you need anything else please let me know.

NoifP avatar Nov 01 '25 06:11 NoifP

For the non-working ones, can you stop z2m, replace all occurrences of TLSR82xx with _TZ3210_3ulg9kpo, start z2m and see if it works?

Koenkk avatar Nov 02 '25 19:11 Koenkk

Hello, i have the same problem different Aliexpress LINK: https://it.aliexpress.com/item/1005005814154185.html?spm=a2g0o.order_list.order_list_main.11.30a118028Ledn1&gatewayAdapt=glo2ita

Image

import * as m from 'zigbee-herdsman-converters/lib/modernExtend';

export default { zigbeeModel: ['TLSR82xx'], model: 'TLSR82xx', vendor: 'TELINK', description: 'Automatically generated definition', extend: [m.deviceEndpoints({"endpoints":{"1":1,"2":2}}), m.battery(), m.iasZoneAlarm({"zoneType":"generic","zoneAttributes":["alarm_1","alarm_2","tamper","battery_low"]})], };

{ "description": "LED white", "exposes": [ { "features": [ { "access": 7, "description": "On/off state of this light", "label": "State", "name": "state", "property": "state", "type": "binary", "value_off": "OFF", "value_on": "ON", "value_toggle": "TOGGLE" }, { "access": 7, "description": "Brightness of this light", "label": "Brightness", "name": "brightness", "property": "brightness", "type": "numeric", "value_max": 254, "value_min": 0 } ], "type": "light" }, { "access": 2, "description": "Triggers an effect on the light (e.g. make light blink for a few seconds)", "label": "Effect", "name": "effect", "property": "effect", "type": "enum", "values": [ "blink", "breathe", "okay", "channel_change", "finish_effect", "stop_effect" ] }, { "access": 7, "category": "config", "description": "Controls the behavior when the device is powered on after power loss", "label": "Power-on behavior", "name": "power_on_behavior", "property": "power_on_behavior", "type": "enum", "values": [ "off", "on", "toggle", "previous" ] }, { "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": "33951/33948", "options": [ { "access": 2, "description": "Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to 0 (no transition).", "label": "Transition", "name": "transition", "property": "transition", "type": "numeric", "value_min": 0 }, { "access": 2, "description": "State actions will also be published as 'action' when true (default false).", "label": "State action", "name": "state_action", "property": "state_action", "type": "binary", "value_off": false, "value_on": true } ], "source": "native", "supports_ota": false, "vendor": "AwoX" }

MattiaCarli avatar Nov 07 '25 01:11 MattiaCarli

I've upgraded to Z2M 2.6.3-1 just before testing.

I tried substituting the values and it changed to saying "Not supported: generated".

I tried replacing:

  • TELINK with _TZ3210_3ulg9kpo

and

  • TLSR82xx with TS0021

Once I had done this z2m showed right image for the device but still didn't seem to work. I triggered an interview and it went back to being a light bulb.

Sorry, I ran out of time to explore any further. I will get back to it but it might be Christmas before I have much time.

NoifP avatar Nov 09 '25 21:11 NoifP

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 Jan 09 '26 00:01 github-actions[bot]

I'll have another go at this soon.

NoifP avatar Jan 13 '26 23:01 NoifP

same issue. anything I can try to do?

ntzb avatar Feb 27 '26 17:02 ntzb

this is what I came up with - /config/zigbee2mqtt/external_converters/scene_switch.mjs:

import * as m from "zigbee-herdsman-converters/lib/modernExtend";

export default {
  fingerprint: [{ manufacturerName: "TELINK", modelID: "TLSR82xx" }],
  model: "Scene_Switch_2gang",
  vendor: "Tuya",
  description: "2-button scene switch",
  extend: [
    m.deviceEndpoints({ endpoints: { 1: 1, 2: 2 } }),
    m.battery(),
    m.onOff({ powerOnBehavior: false, endpointNames: ["1", "2"] }),
  ],
  meta: { multiEndpoint: true },
};

it allows only 2 scenes, not 6 - single press only, double/long press does not work.

ntzb avatar Feb 27 '26 21:02 ntzb