Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New device support]: _TZE284_chbyv06x #26940

Closed
danielgantzer opened this issue Apr 1, 2025 · 6 comments
Closed

[New device support]: _TZE284_chbyv06x #26940

danielgantzer opened this issue Apr 1, 2025 · 6 comments
Labels
new device support New device support request

Comments

@danielgantzer
Copy link

Link

https://vi.aliexpress.com/item/1005007128052490.html?srcSns=sns_WhatsApp&spreadType=socialShare&bizType=ProductDetail&social_params=61047789681&aff_fcid=57c08130ad694e4a85a54787e2a6e575-1743541440739-07449-_EyqfRgy&tt=MG&aff_fsk=_EyqfRgy&aff_platform=default&sk=_EyqfRgy&aff_trace_key=57c08130ad694e4a85a54787e2a6e575-1743541440739-07449-_EyqfRgy&shareId=61047789681&businessType=ProductDetail&platform=AE&terminal_id=6d55b6660fcd4db0aaa74f21aab7c782&afSmartRedirect=y

Database entry

{"id":72,"type":"Router","ieeeAddr":"0xa4c138c1ba6e5d7f","nwkAddr":5797,"manufId":4417,"manufName":"_TZE284_chbyv06x","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":"\r@x/i\u000e@x/i","65506":56,"65508":0,"stackVersion":0,"dateCode":"","appVersion":78}}},"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,"meta":{},"lastSeen":1743420336629}

Zigbee2MQTT version

2.2.0 commit: c5c07e7

Comments

{"id":72,"type":"Router","ieeeAddr":"0xa4c138c1ba6e5d7f","nwkAddr":5797,"manufId":4417,"manufName":"_TZE284_chbyv06x","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":"\r@x/i\u000e@x/i","65506":56,"65508":0,"stackVersion":0,"dateCode":"","appVersion":78}}},"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,"meta":{},"lastSeen":1743420336629} - from alliexpress

External definition

-

What does/doesn't work with the external definition?

i try but.... not working

@danielgantzer danielgantzer added the new device support New device support request label Apr 1, 2025
@zekino
Copy link

zekino commented Apr 2, 2025

The same issue here. I reported this a month ago with a similar ticket link .I have already updated to yesterday's version, but the only change after successfully pairing this device is its status being "unsupported" and the Link Quality being visible. Nothing else.

@danielgantzer
Copy link
Author

I think it might be a problem with the connection method... I use ezsp... what do you use?

@zekino
Copy link

zekino commented Apr 2, 2025

I use this setup (Dockerized):
Image

@Koenkk
Copy link
Owner

Koenkk commented Apr 2, 2025

Added!

Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.

@danielgantzer
Copy link
Author

@Koenkk -After I added external converter for these gas sensors... it still appears unsupported.

  • I generated this external converters according to the file you made

attached external_convertors:
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');

const definition = {
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_yojqa8xn", "_TZE204_zougpkpy", "_TZE204_chbyv06x", "_TZE204_yojqa8xn", "_TZE284_chbyv06x"]),
model: "TS0601_gas_sensor_2",
vendor: "Tuya",
description: "Gas sensor",
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
configure: tuya.configureMagicPacket,
exposed: [
e.gas(),
tuya.exposes.gasValue().withUnit("LEL"),
tuya.exposes.selfTest(),
tuya.exposes.selfTestResult(),
tuya.exposes.silence(),
e.enum("alarm_ringtone", ea.STATE_SET, ["melody_1", "melody_2", "melody_3", "melody_4", "melody_5"]).withDescription("Ringtone of the alarm"),
e.numeric("alarm_time", ea.STATE_SET).withValueMin(1).withValueMax(180).withValueStep(1).withUnit("s").withDescription("Alarm time"),
e.binary("preheat", ea.STATE, true, false).withDescription("Indicates sensor preheat is active"),
],
whiteLabel: [
tuya.whitelabel("DYGSM", "DY-RQ500A", "Gas sensor", ["_TZE204_zougpkpy", "_TZE204_chbyv06x", "_TZE284_chbyv06x"]),
],
meta: {
tuyaDatapoints: [
[1, "gas", tuya.valueConverter.trueFalseEnum0],
[2, "gas_value", tuya.valueConverter.divideBy10],
[6, "alarm_ringtone", tuya.valueConverterBasic.lookup({
melody_1: tuya.enum(0),
melody_2: tuya.enum(1),
melody_3: tuya.enum(2),
melody_4: tuya.enum(3),
melody_5: tuya.enum(4),
})],
[7, "alarm_time", tuya.valueConverter.raw],
[8, "self_test", tuya.valueConverter.raw],
[9, "self_test_result", tuya.valueConverter.selfTestResult],
[10, "preheat", tuya.valueConverter.raw],
[13, null, null], // alarm_switch; ignore for now since it is unclear what it does
[16, "silence", tuya.valueConverter.raw],
],
},
};

module.exports = definition;

@danielgantzer
Copy link
Author

I check and working with dev branch -

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device support New device support request
Projects
None yet
Development

No branches or pull requests

3 participants