Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge πŸŒ‰, get rid of your proprietary Zigbee bridges πŸ”¨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.97k stars 1.67k forks source link

[New device support]: TONGOU β€ŽTO-Q-SY1-ZT - Smart DIN Rail Switch #20892

Open mklooss opened 9 months ago

mklooss commented 9 months ago

Link

https://www.amazon.de/dp/B0CHVF7D4N

Database entry

{"id":81,"type":"EndDevice","ieeeAddr":"0xa4c1385d3a953a12","nwkAddr":56860,"manufId":4417,"manufName":"_TZ3000_gzvniqjb","powerSource":"Mains (single phase)","modelId":"TS0011","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"\u0001\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011","65506":55,"65508":0,"65534":0,"modelId":"TS0011","manufacturerName":"_TZ3000_gzvniqjb","powerSource":3,"zclVersion":3,"appVersion":80,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":1,"moesStartUpOnOff":2}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b00214f1fad","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":80,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1071524409},"lastSeen":1705669676089,"defaultSendRequestWhen":"immediate"}

Comments

Similar to: https://www.zigbee2mqtt.io/devices/TO-Q-SY1-JZT.html

See also: https://github.com/dresden-elektronik/deconz-rest-plugin/pull/6842 https://zigbee.blakadder.com/Tongou_TO-Q-SY1-ZT.html

External defintion

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

const definition = {
    zigbeeModel: ['TS0011'],
    model: 'TS0011',
    vendor: '_TZ3000_gzvniqjb',
    description: 'Automatically generated definition',
    extend: [onOff({powerOnBehavior: false})],
};

module.exports = definition;
Trebor87 commented 8 months ago

Hello

I have just bought this device, It installs ok but canot OTA update it, any idea when this will be possible ?

Many thanks

Mark-64 commented 4 months ago

Hi, I also I bought this device and it is recognized as Tuya TS0011. It works ok as a switch bit it doesn't seem to have Zigbee router capability, not sure if this is correct, as the similar model TO-Q-SY1-JZT (with power monitoring) can behave as a router.

niikkoo commented 2 months ago

@Koenkk : Hello , Will you take in charge this device support or it is a lost time
currently this devie is still detected as Tuya TS0011. Feel free to knock me for any additional infos thank you for your time and your work

Koenkk commented 2 months ago

The TO-Q-SY1-JZT is a different device, it has Zigbee model ID TS011F, this one has TS0011. I also don't see any electrical measurements cluster being supported, so I'm wondering if this device can do power measurements at all. Can someone check if this work with the original gateway?

mklooss commented 2 months ago

TO-Q-SY1-ZT does NOT have electrical measurements. Just OnOff. had a couple of weeks an an tuya Gateway,

White Version = No Metering Black Version = With Metering

https://www.aliexpress.us/item/3256804712600413.html

niikkoo commented 2 months ago

Thank you both for your answers :) i finally ordered black version TO-Q-SY2-Jwt , hopping it will detect as expected

oscarpuigcerver commented 2 weeks ago

I have 3 new TO-Q-SY2-163JZT but in all cases is showing as unsupported, someone else with the same issue?

djereg commented 1 day ago

I bought a TO-Q-SY1-ZT. It is reconized by Z2M as _TZ3000_gzvniqjb and a TS0011 model.

Displayed as a regular 1 gang wall switch, but it's ok, since technically it's a regular switch (without metering). But, it is recognized as an end device and displaying unknown battery state.

I dont know does it works as a router, but Z2M does not recognize it as a router.

image