[New device support]: ONENUO 288WZ / TS0601 _TZE284_n4ttsck2
Link
https://www.aliexpress.com/item/1005008209344934.html
Database entry
{"id":20,"type":"EndDevice","ieeeAddr":"0xa4c1380c4d06be19","nwkAddr":27075,"manufId":4417,"manufName":"_TZE284_n4ttsck2","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0,60672],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65487":14400,"65506":56,"65508":0,"modelId":"TS0601","manufacturerName":"_TZE284_n4ttsck2","powerSource":3,"zclVersion":3,"appVersion":77,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":77,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1738488501292}
Zigbee2MQTT version
2.1.0-1
Comments
Buy some of this Smoke Detector from ALI. In the List of supported Device i found this https://www.zigbee2mqtt.io/devices/288WZ.html . But in ZIGBEE2MQTT is show as not supported.
in the Log is see this by join:
[2025-02-02 10:27:52] info: z2m: Zigbee: allowing new devices to join. [2025-02-02 10:27:52] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt_P/bridge/response/permit_join', payload '{"data":{"time":254},"status":"ok","transaction":"bnnp9-10"}' [2025-02-02 10:28:07] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt_P/0xa4c1380c4d06be19/availability', payload '{"state":"online"}' [2025-02-02 10:28:07] info: zh:controller: Interview for '0xa4c1380c4d06be19' started [2025-02-02 10:28:07] info: z2m: Device '0xa4c1380c4d06be19' joined [2025-02-02 10:28:07] info: z2m: Starting interview of '0xa4c1380c4d06be19' [2025-02-02 10:28:07] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt_P/bridge/event', payload '{"data":{"friendly_name":"0xa4c1380c4d06be19","ieee_address":"0xa4c1380c4d06be19"},"type":"device_joined"}' [2025-02-02 10:28:07] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt_P/bridge/event', payload '{"data":{"friendly_name":"0xa4c1380c4d06be19","ieee_address":"0xa4c1380c4d06be19","status":"started"},"type":"device_interview"}' [2025-02-02 10:28:08] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt_P/bridge/event', payload '{"data":{"friendly_name":"0xa4c1380c4d06be19","ieee_address":"0xa4c1380c4d06be19"},"type":"device_announce"}' [2025-02-02 10:28:18] info: zh:controller:device: Device '0xa4c1380c4d06be19' is only compliant to revision '21' of the ZigBee specification (current revision: 23). [2025-02-02 10:28:21] info: zh:controller: Succesfully interviewed '0xa4c1380c4d06be19' [2025-02-02 10:28:21] info: z2m: Successfully interviewed '0xa4c1380c4d06be19', device has successfully been paired [2025-02-02 10:28:21] warning: z2m: Device '0xa4c1380c4d06be19' with Zigbee model 'TS0601' and manufacturer name '_TZE284_n4ttsck2' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html [2025-02-02 10:28:21] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt_P/bridge/event', payload '{"data":{"friendly_name":"0xa4c1380c4d06be19","ieee_address":"0xa4c1380c4d06be19","status":"successful","supported":false},"type":"device_interview"}'
Nothing found in the Issue List anout _TZE284_n4ttsck2
External definition
show only LQI
What does/doesn't work with the external definition?
No information about the Device
same here.
Hello
Same for me. I have found this if it can help : https://github.com/zigpy/zha-device-handlers/issues/3820
Hello After some research I found that is thΓ© same than onenuo _TZE204_kgaxpvxr https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/onenuo.ts So please, add It π
hello, seems working with this external converters :
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 reporting = require('zigbee-herdsman-converters/lib/reporting');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const definition = {
fingerprint: [
{
// The model ID from: Device with modelID 'TS0601' is not supported
// You may need to add \u0000 at the end of the name in some cases
modelID: 'TS0601',
// The manufacturer name from: Device with modelID 'TS0601' is not supported.
manufacturerName: '_TZE284_n4ttsck2',
},
],
model: '288WZ',
vendor: 'ONENUO',
description: 'Smoke detector',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
configure: tuya.configureMagicPacket,
exposes: [
e.smoke(),
e.enum('smoke_state', ea.STATE, ['alarm', 'normal', 'detecting', 'unknown']).withDescription('Smoke state'),
e.battery(),
tuya.exposes.silence(),
tuya.exposes.selfTestResult(),
e.enum('sensitivity', ea.STATE_SET, ['low', 'medium', 'high']).withDescription('Sensitivity'),
],
meta: {
tuyaDatapoints: [
[1, null, function (lookup) {
return {
from: function (v) {
const smokeState = lookup.from(v);
return {
'smoke': (smokeState === 'alarm'),
'smoke_state': smokeState
};
}
}
}(tuya.valueConverterBasic.lookup({ 'alarm': tuya.enum(0), 'normal': tuya.enum(1), 'detecting': tuya.enum(2), 'unknown': tuya.enum(3) }))],
//[1, 'smoke_state', tuya.valueConverterBasic.lookup({'alarm': tuya.enum(0), 'normal': tuya.enum(1), 'detecting': tuya.enum(2), 'unknown': tuya.enum(3)})],
[15, 'battery', tuya.valueConverter.raw],
[16, 'silence', tuya.valueConverter.raw],
[101, 'self_test_result', tuya.valueConverterBasic.lookup({ 'failure': false, 'success': true })],
[102, 'sensitivity', tuya.valueConverterBasic.lookup({ 'low': tuya.enum(0), 'medium': tuya.enum(1), 'high': tuya.enum(2) })],
],
},
};
module.exports = definition;
I confirm, with this external converters the device will show as supported. Real test is pending. Thanks for the help.
In my case after include the external converter, HA detects the device but no values in smoke and smoke state, well the value is no value
Works perfectly for me, thank you !
- Battery status OK after some minutes
- Smoke detection switch turns on in HA immediately
Hello! This is a new world for me. Where do i have to paste that code? some directory? .js? hope you can help me
Hello! This is a new world for me. Where do i have to paste that code? some directory? .js? hope you can help me
Hello, I have searched a lot ;)
- With file editor add-on go to (or create) /homeassistant/zigbee2mqtt/external_converters
- Make a new file called as you want .js
- Open this file, paste the above code
- Restart HA
Done everything as told but it still does not show smoke status
same issue for me, no status feedback. What is the solution please?
Hi, I also have this exact device (ONENUO smoke detector, TS0601 / _TZE284_n4ttsck2) and it's still showing up as unsupported (only battery, linkquality, and identify exposed via the generic Tuya fallback). My device info: IEEE address: 0xa4c13869c9f3189d Model ID: TS0601 Manufacturer name: _TZE284_n4ttsck2 There's already a working definition for this exact hardware (model 288WZ, https://www.zigbee2mqtt.io/devices/288WZ.html) with full support for smoke, battery, silence, self_test_result, smoke_state, and sensitivity β but it's currently only fingerprinted for _TZE204_kgaxpvxr. Given this is the same physical product (ONENUO 228WZ/288WZ) just from a different manufacturing batch, could the fingerprint for _TZE284_n4ttsck2 be added to the existing 288WZ definition? Happy to test if a dev-branch build is available. Thanks for maintaining this project!