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]: Smoke detector Tuya Zigbee TS0601 #15349

Closed
seesrza opened this issue Dec 4, 2022 · 36 comments
Closed

[New device support]: Smoke detector Tuya Zigbee TS0601 #15349

seesrza opened this issue Dec 4, 2022 · 36 comments
Labels
new device support New device support request stale Stale issues

Comments

@seesrza
Copy link

seesrza commented Dec 4, 2022

Link

https://aliexpress.ru/item/1005003970944017.html

Database entry

{"id":3,"type":"EndDevice","ieeeAddr":"0xa4c13879b8a471c2","nwkAddr":22977,"manufId":4417,"manufName":"_TZE200_m9skfctm","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"�"\u001e+\u0011","65506":56,"65508":0,"65534":0,"modelId":"TS0601","manufacturerName":"_TZE200_m9skfctm","powerSource":3,"zclVersion":3,"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-708457359},"lastSeen":1670154805583,"defaultSendRequestWhen":"immediate"}

Comments

I tried to add support, but I'm extremely new to doing anything under the hood on zigbee2mqtt. I followed the adding support guide, but got stumped as to what to do next.

External converter

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 extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');

const definition = {
    // Since a lot of TuYa devices use the same modelID, but use different datapoints
    // it's necessary to provide a fingerprint instead of a zigbeeModel
    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: '_TZE200_m9skfctm',
        },
    ],
    model: 'TS0601',
    vendor: 'TuYa',
    description: 'Photoelectric Smoke Detector',
    fromZigbee: [tuya.fz.datapoints],
    toZigbee: [tuya.tz.datapoints],
    onEvent: tuya.onEventSetTime, // Add this if you are getting no converter for 'commandMcuSyncTime'
    configure: tuya.configureMagicPacket,
    exposes: [],
    meta: {
        // All datapoints go in here
        tuyaDatapoints: [
        ],
    },
};

module.exports = definition;

Supported color modes

No response

Color temperature range

No response

@seesrza seesrza added the new device support New device support request label Dec 4, 2022
@seesrza seesrza changed the title [New device support]: Датчик дыма Tuya Zigbee TS0601 [New device support]: Smoke detector Tuya Zigbee TS0601 Dec 4, 2022
@Koenkk
Copy link
Owner

Koenkk commented Dec 4, 2022

Is anything logged int he debug log when triggering the sensor with smoke?

See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging.

@seesrza
Copy link
Author

seesrza commented Dec 5, 2022

Записывается ли что-нибудь в журнал отладки при срабатывании датчика с дымом?

См. https://www.zigbee2mqtt.io/guide/usage/debug.html о том, как включить ведение журнала отладки.

this report?

Debug 2022-12-05 10:44:38Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":768}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:38Datapoint 101 not defined for '_TZE200_m9skfctm' with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:38Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":1}],"seq":1024}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:38Datapoint 1 not defined for '_TZE200_m9skfctm' with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:38Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,150],"type":"Buffer"},"datatype":2,"dp":2}],"seq":1280}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:38Datapoint 2 not defined for '_TZE200_m9skfctm' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,150]}}
Debug 2022-12-05 10:44:39Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,100],"type":"Buffer"},"datatype":2,"dp":15}],"seq":1536}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:39Datapoint 15 not defined for '_TZE200_m9skfctm' with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,100]}}
Debug 2022-12-05 10:44:39Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":1792}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:39Datapoint 11 not defined for '_TZE200_m9skfctm' with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:41Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":2048}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:41Datapoint 101 not defined for '_TZE200_m9skfctm' with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:41Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":1}],"seq":2304}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:41Datapoint 1 not defined for '_TZE200_m9skfctm' with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:41Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,216],"type":"Buffer"},"datatype":2,"dp":2}],"seq":2560}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:41Datapoint 2 not defined for '_TZE200_m9skfctm' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,216]}}
Debug 2022-12-05 10:44:41Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,100],"type":"Buffer"},"datatype":2,"dp":15}],"seq":2816}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:41Datapoint 15 not defined for '_TZE200_m9skfctm' with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,100]}}
Debug 2022-12-05 10:44:42Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":3072}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:42Datapoint 11 not defined for '_TZE200_m9skfctm' with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:44Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":3328}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:44Datapoint 101 not defined for '_TZE200_m9skfctm' with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:44Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":1}],"seq":3584}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:44Datapoint 1 not defined for '_TZE200_m9skfctm' with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:44Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,33],"type":"Buffer"},"datatype":2,"dp":2}],"seq":3840}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:44Datapoint 2 not defined for '_TZE200_m9skfctm' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,33]}}
Debug 2022-12-05 10:44:44Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,100],"type":"Buffer"},"datatype":2,"dp":15}],"seq":4096}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:44Datapoint 15 not defined for '_TZE200_m9skfctm' with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,100]}}
Debug 2022-12-05 10:44:44Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":4352}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:44Datapoint 11 not defined for '_TZE200_m9skfctm' with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:47Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":4608}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:47Datapoint 101 not defined for '_TZE200_m9skfctm' with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:47Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":1}],"seq":4864}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:47Datapoint 1 not defined for '_TZE200_m9skfctm' with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:47Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,97],"type":"Buffer"},"datatype":2,"dp":2}],"seq":5120}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:47Datapoint 2 not defined for '_TZE200_m9skfctm' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,97]}}
Debug 2022-12-05 10:44:47Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,100],"type":"Buffer"},"datatype":2,"dp":15}],"seq":5376}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:47Datapoint 15 not defined for '_TZE200_m9skfctm' with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,100]}}
Debug 2022-12-05 10:44:47Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":5632}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:47Datapoint 11 not defined for '_TZE200_m9skfctm' with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:54Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":5888}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:54Datapoint 101 not defined for '_TZE200_m9skfctm' with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:54Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":1}],"seq":6144}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:54Datapoint 1 not defined for '_TZE200_m9skfctm' with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[1]}}
Debug 2022-12-05 10:44:54Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,72],"type":"Buffer"},"datatype":2,"dp":2}],"seq":6400}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:54Datapoint 2 not defined for '_TZE200_m9skfctm' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,72]}}
Debug 2022-12-05 10:44:54Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,100],"type":"Buffer"},"datatype":2,"dp":15}],"seq":6656}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:54Datapoint 15 not defined for '_TZE200_m9skfctm' with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,100]}}
Debug 2022-12-05 10:44:54Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":6912}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:54Datapoint 11 not defined for '_TZE200_m9skfctm' with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:57Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":7168}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:57Datapoint 101 not defined for '_TZE200_m9skfctm' with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:57Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":1}],"seq":7424}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:57Datapoint 1 not defined for '_TZE200_m9skfctm' with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[1]}}
Debug 2022-12-05 10:44:57Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,41],"type":"Buffer"},"datatype":2,"dp":2}],"seq":7680}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:57Datapoint 2 not defined for '_TZE200_m9skfctm' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,41]}}
Debug 2022-12-05 10:44:57Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,100],"type":"Buffer"},"datatype":2,"dp":15}],"seq":7936}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:57Datapoint 15 not defined for '_TZE200_m9skfctm' with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,100]}}
Debug 2022-12-05 10:44:57Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":8192}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:57Datapoint 11 not defined for '_TZE200_m9skfctm' with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:44:59Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":8448}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:44:59Datapoint 101 not defined for '_TZE200_m9skfctm' with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:45:00Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":1}],"seq":8704}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:45:00Datapoint 1 not defined for '_TZE200_m9skfctm' with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[1]}}
Debug 2022-12-05 10:45:00Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,42],"type":"Buffer"},"datatype":2,"dp":2}],"seq":8960}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:45:00Datapoint 2 not defined for '_TZE200_m9skfctm' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,42]}}
Debug 2022-12-05 10:45:00Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,100],"type":"Buffer"},"datatype":2,"dp":15}],"seq":9216}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:45:00Datapoint 15 not defined for '_TZE200_m9skfctm' with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,100]}}
Debug 2022-12-05 10:45:00Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":9472}' from endpoint 1 with groupID 0
Debug 2022-12-05 10:45:00Datapoint 11 not defined for '_TZE200_m9skfctm' with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Debug 2022-12-05 10:45:46Saving state to file /config/zigbee2mqtt/state.json

@Koenkk
Copy link
Owner

Koenkk commented Dec 6, 2022

Can you try with this converter:

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 extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ntcy3xu1', '_TZE200_m9skfctm']),
    model: 'TS0601_smoke_1',
    vendor: 'TuYa',
    description: 'Smoke sensor',
    fromZigbee: [tuya.fz.datapoints],
    toZigbee: [tuya.tz.datapoints],
    configure: tuya.configureMagicPacket,
    exposes: [e.smoke(), e.tamper(), e.battery_low()],
    meta: {
        tuyaDatapoints: [
            [1, 'smoke', tuya.valueConverter.true0ElseFalse],
            [4, 'tamper', tuya.valueConverter.raw],
            [14, 'battery_low', tuya.valueConverter.true0ElseFalse],
        ],
    },
};

module.exports = definition;

@seesrza
Copy link
Author

seesrza commented Dec 6, 2022

Можете ли вы попробовать с этим конвертером:

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 extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ntcy3xu1', '_TZE200_m9skfctm']),
    model: 'TS0601_smoke_1',
    vendor: 'TuYa',
    description: 'Smoke sensor',
    fromZigbee: [tuya.fz.datapoints],
    toZigbee: [tuya.tz.datapoints],
    configure: tuya.configureMagicPacket,
    exposes: [e.smoke(), e.tamper(), e.battery_low()],
    meta: {
        tuyaDatapoints: [
            [1, 'smoke', tuya.valueConverter.true0ElseFalse],
            [4, 'tamper', tuya.valueConverter.raw],
            [14, 'battery_low', tuya.valueConverter.true0ElseFalse],
        ],
    },
};

module.exports = definition;

Thanks a lot!!!

@seesrza
Copy link
Author

seesrza commented Dec 7, 2022

Может ли вы попробовать это с конвертером:

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 extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ntcy3xu1', '_TZE200_m9skfctm']),
    model: 'TS0601_smoke_1',
    vendor: 'TuYa',
    description: 'Smoke sensor',
    fromZigbee: [tuya.fz.datapoints],
    toZigbee: [tuya.tz.datapoints],
    configure: tuya.configureMagicPacket,
    exposes: [e.smoke(), e.tamper(), e.battery_low()],
    meta: {
        tuyaDatapoints: [
            [1, 'smoke', tuya.valueConverter.true0ElseFalse],
            [4, 'tamper', tuya.valueConverter.raw],
            [14, 'battery_low', tuya.valueConverter.true0ElseFalse],
        ],
    },
};

module.exports = definition;

the report is like this:

Info 2022-12-07 10:38:19MQTT publish: topic 'zigbee2mqtt/Датчик дыма кухня', payload '{"battery_low":false,"fault_alarm":"0","linkquality":188,"self_test":true,"smoke":false,"tamper":null}'
Debug 2022-12-07 10:38:19Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,112],"type":"Buffer"},"datatype":2,"dp":2}],"seq":48896}' from endpoint 1 with groupID 0
Debug 2022-12-07 10:38:19Datapoint 2 not defined for '_TZE200_m9skfctm' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,112]}}
Debug 2022-12-07 10:38:20Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,100],"type":"Buffer"},"datatype":2,"dp":15}],"seq":49152}' from endpoint 1 with groupID 0
Debug 2022-12-07 10:38:20Datapoint 15 not defined for '_TZE200_m9skfctm' with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,100]}}
Debug 2022-12-07 10:38:20Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":49408}' from endpoint 1 with groupID 0
Debug 2022-12-07 10:38:20Datapoint 11 not defined for '_TZE200_m9skfctm' with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}

@Koenkk
Copy link
Owner

Koenkk commented Dec 7, 2022

I don't know what these datapoints mean, to figure this out see: https://www.zigbee2mqtt.io/advanced/support-new-devices/03_find_tuya_data_points.html

@seesrza
Copy link
Author

seesrza commented Dec 17, 2022

I don't know what these datapoints mean, to figure this out see: https://www.zigbee2mqtt.io/advanced/support-new-devices/03_find_tuya_data_points.html

Made a new converter. I get all the necessary information from the sensor.
But as a result, that I have no experience, I get a lot of errors in the log. Can you see where I went wrong?

@seesrza
Copy link
Author

seesrza commented Dec 17, 2022

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 extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
fingerprint: [ { modelID: 'TS0601', manufacturerName: '_TZE200_m9skfctm'},],
model: 'TS0601_new',
vendor: 'TuYa',
description: 'Photoelectric Smoke Detector',
fromZigbee: [tuya.fz.datapoints, fz.tuya_air_quality],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
exposes: [e.smoke(), e.battery(), e.co2(), e.tamper(), e.battery_low()],
meta: {
tuyaDatapoints: [
[1, 'smoke', tuya.valueConverter.true0ElseFalse],
[101, 'co2', tuya.valueConverter.raw],
[15,'battery', tuya.valueConverter.raw],
[11,'tamper', tuya.valueConverter.true0ElseFalse],
[2,'battery_low', tuya.valueConverter.true0ElseFalse],

    ],
},

};

module.exports = definition;

@seesrza
Copy link
Author

seesrza commented Dec 17, 2022

Debug 2022-12-17 18:07:53Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":2560}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:53zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #101 with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:07:53MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":90,"battery_low":false,"co2":false,"linkquality":236,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:07:53Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":1}],"seq":2816}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:53zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #1 with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:07:53MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":90,"battery_low":false,"co2":false,"linkquality":255,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:53Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,250],"type":"Buffer"},"datatype":2,"dp":2}],"seq":3072}' from endpoint 1 with groupID 0
Info 2022-12-17 18:07:53MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":90,"battery_low":false,"co2":250,"linkquality":208,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:53Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,92],"type":"Buffer"},"datatype":2,"dp":15}],"seq":3328}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:53zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #15 with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,92]}}
Info 2022-12-17 18:07:53MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":250,"linkquality":148,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:53Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":3584}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:53zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #11 with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:07:53MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":250,"linkquality":152,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:55Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":3840}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:56zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #101 with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:07:56MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":false,"linkquality":188,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:56Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":1}],"seq":4096}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:56zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #1 with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:07:56MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":false,"linkquality":192,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:56Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,253],"type":"Buffer"},"datatype":2,"dp":2}],"seq":4352}' from endpoint 1 with groupID 0
Info 2022-12-17 18:07:56MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":253,"linkquality":196,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:56Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,92],"type":"Buffer"},"datatype":2,"dp":15}],"seq":4608}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:56zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #15 with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,92]}}
Info 2022-12-17 18:07:56MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":253,"linkquality":196,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:56Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":4864}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:56zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #11 with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:07:56MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":253,"linkquality":196,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:58Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":5120}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:58zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #101 with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:07:58MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":false,"linkquality":168,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:59Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":1}],"seq":5376}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:59zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #1 with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:07:59MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":false,"linkquality":168,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:59Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,0],"type":"Buffer"},"datatype":2,"dp":2}],"seq":5632}' from endpoint 1 with groupID 0
Info 2022-12-17 18:07:59MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":true,"co2":0,"linkquality":172,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:59Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,92],"type":"Buffer"},"datatype":2,"dp":15}],"seq":5888}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:59zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #15 with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,92]}}
Info 2022-12-17 18:07:59MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":true,"co2":0,"linkquality":204,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:07:59Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":6144}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:07:59zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #11 with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:07:59MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":true,"co2":0,"linkquality":224,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:08:08Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":6400}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:08zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #101 with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:08:08MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":true,"co2":false,"linkquality":172,"smoke":true,"tamper":false}'
Debug 2022-12-17 18:08:08Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":1}],"seq":6656}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:08zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #1 with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[1]}}
Info 2022-12-17 18:08:08MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":true,"co2":false,"linkquality":168,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:08Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,41],"type":"Buffer"},"datatype":2,"dp":2}],"seq":6912}' from endpoint 1 with groupID 0
Info 2022-12-17 18:08:09MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":41,"linkquality":160,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:09Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,92],"type":"Buffer"},"datatype":2,"dp":15}],"seq":7168}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:09zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #15 with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,92]}}
Info 2022-12-17 18:08:09MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":41,"linkquality":176,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:09Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":7424}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:09zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #11 with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:08:09MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":41,"linkquality":172,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:11Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":7680}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:11zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #101 with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:08:11MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":false,"linkquality":156,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:11Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":1}],"seq":7936}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:11zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #1 with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[1]}}
Info 2022-12-17 18:08:11MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":false,"linkquality":164,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:11Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,32],"type":"Buffer"},"datatype":2,"dp":2}],"seq":8192}' from endpoint 1 with groupID 0
Info 2022-12-17 18:08:11MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":32,"linkquality":156,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:11Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,92],"type":"Buffer"},"datatype":2,"dp":15}],"seq":8448}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:11zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #15 with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,92]}}
Info 2022-12-17 18:08:11MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":32,"linkquality":164,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:11Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":8704}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:12zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #11 with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:08:12MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":32,"linkquality":156,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:14Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":8960}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:14zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #101 with data {"dp":101,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:08:14MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":false,"linkquality":168,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:14Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":1}],"seq":9216}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:14zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #1 with data {"dp":1,"datatype":4,"data":{"type":"Buffer","data":[1]}}
Info 2022-12-17 18:08:14MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":false,"linkquality":168,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:14Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,27],"type":"Buffer"},"datatype":2,"dp":2}],"seq":9472}' from endpoint 1 with groupID 0
Info 2022-12-17 18:08:14MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":27,"linkquality":168,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:15Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,92],"type":"Buffer"},"datatype":2,"dp":15}],"seq":9728}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:15zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #15 with data {"dp":15,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,92]}}
Info 2022-12-17 18:08:15MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":27,"linkquality":168,"smoke":false,"tamper":false}'
Debug 2022-12-17 18:08:15Received Zigbee message from '0xa4c13879b8a471c2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":11}],"seq":9984}' from endpoint 1 with groupID 0
Warning 2022-12-17 18:08:15zigbee-herdsman-converters:TuyaSmartAirBox: Unrecognized DP #11 with data {"dp":11,"datatype":1,"data":{"type":"Buffer","data":[0]}}
Info 2022-12-17 18:08:15MQTT publish: topic 'zigbee2mqtt/0xa4c13879b8a471c2', payload '{"battery":92,"battery_low":false,"co2":27,"linkquality":164,"smoke":false,"tamper":false}'

@Koenkk
Copy link
Owner

Koenkk commented Dec 18, 2022

fz.tuya_air_quality should not be there, does it work without errors after removing it?

@seesrza
Copy link
Author

seesrza commented Dec 18, 2022

fz.tuya_air_qualityтам не должно быть, работает без ошибок после удаления?

without it, it does not display the CO level. with it displays an almost exact value

@seesrza
Copy link
Author

seesrza commented Dec 18, 2022

Снимок

@Koenkk
Copy link
Owner

Koenkk commented Dec 19, 2022

Try adding the following to tuyaDatapoints:

  • [2, 'co2', tuya.valueConverter.raw],
  • [22, 'co2', tuya.valueConverter.raw],

@fulup-bzh
Copy link

MOES smoke detector signature TS0601_TZE200_dnz6yvl2 works with following converter definition

const definition = {
    fingerprint: tuya.fingerprint('TS0601', ['_TZE200_dnz6yvl2']),
    model: 'MOES_smoke',
    vendor: 'TuYa',
    description: 'Smoke Detector',
    fromZigbee: [tuya.fz.datapoints,fz.tuya_smoke],
    toZigbee: [],
    onEvent: tuya.onEventSetTime, // Add this if you are getting no converter for 'commandMcuSyncTime'
    configure: tuya.configureMagicPacket,
    exposes: [
        e.smoke(), e.battery_low(), e.battery()
    ],
    meta: {
        // All datapoints go in here
         tuyaDatapoints: [
                [1, 'smoke', tuya.valueConverter.true0ElseFalse],
                [15,'battery', tuya.valueConverter.raw],
                [14,'battery_low', tuya.valueConverter.true0ElseFalse],
            ],
    },
};

Note: following DPs are still not handled #2 could the be % of smoke but more test should be done to make sure about it.

2022-12-21 21:25:21zigbee-herdsman-converters:tuya_smoke: Unrecognized DP #2 with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,0]}}
2022-12-21 21:25:21zigbee-herdsman-converters:tuya_smoke: Unrecognized DP #11 with data {"dp":11,"datatype":5,"data":{"type":"Buffer","data":[0]}}
2022-12-21 21:25:27zigbee-herdsman-converters:tuya_smoke: Unrecognized DP #17 with data {"dp":17,"datatype":1,"data":{"type":"Buffer","data":[0]}}
2022-12-21 21:25:32zigbee-herdsman-converters:tuya_smoke: Unrecognized DP #21 with data {"dp":21,"datatype":4,"data":{"type":"Buffer","data":[0]}}

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Dec 22, 2022
@Koenkk
Copy link
Owner

Koenkk commented Dec 22, 2022

@fulup-bzh thanks, added _TZE200_dnz6yvl2. I believe dp 14 is the battery_state (where 0 = low, 1 = med, 2 = high)

@fulup-bzh
Copy link

I unfortunately have no simple way to test if this device provides 2 or 3 battery states. I checked within tuya.js and all tuya 'battery_low' seems to be mapped on true0ElseFalse. Nevertheless you still might be right :)

@Jonno12345
Copy link

Hi all,

I've got three _TZE200_m9skfctm - however I've ended up with quite a different converter, as follows, to get mine to work:

const exposes = require('zigbee-herdsman-converters/lib/exposes');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;
const ea = exposes.access;
const numeric = exposes.numeric;

const definition = {
fingerprint: [ { modelID: 'TS0601', manufacturerName: '_TZE200_m9skfctm'},],
model: 'TS0601_new',
vendor: 'TuYa',
description: 'Photoelectric Smoke Detector',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
exposes: [e.smoke(), numeric('smoke_level', ea.STATE).withUnit("ppm").withDescription("Parts per million of smoke detected"), e.tamper(), e.battery(), e.test()],
meta: {
tuyaDatapoints: [
            [1, 'smoke', tuya.valueConverter.true0ElseFalse],
            [2, 'smoke_level', tuya.valueConverter.raw],
            [11,'tamper', tuya.valueConverter.true0ElseFalse],
            [15,'battery', tuya.valueConverter.raw],
            [101,'test', tuya.valueConverter.true0ElseFalse]
        ],
    },
};

module.exports = definition;

I used the Tuya gateway to find out the datapoints. 2 is actually the PPM level, which I don't believe to be CO/CO2 as it's a photoelectric sensor. As such, I've added a custom smoke_level for this, but I am no expert in smoke alarms so might have mislabelled this. I am a little concerned it's so different to the original though, presumably there aren't multiple models with the same manufacturerName..?

image

@Koenkk
Copy link
Owner

Koenkk commented Dec 25, 2022

@Jonno12345 looks good to me, can you make a PR?

@kjeisa
Copy link

kjeisa commented Dec 25, 2022

Hello, I also have _TZE200_m9skfctm and have used "my own" converter but tried to change to this one. The "test" didn report anything with tuya.valueConverter.true0ElseFalse I have to use tuya.valueConverter.raw. And my "smoke" value is 1 when no smoke and 0 when smoke is detected, can I get it to show Clear/detected instead? Or are there more models with the same name out there?

@Jonno12345
Copy link

Jonno12345 commented Dec 25, 2022

Was that using my converter? I'm concerned there are two versions of this as my converter is really different to the original posted.

Hello, I also have _TZE200_m9skfctm and have used "my own" converter but tried to change to this one. The "test" didn report anything with tuya.valueConverter.true0ElseFalse I have to use tuya.valueConverter.raw. And my "smoke" value is 1 when no smoke and 0 when smoke is detected, can I get it to show Clear/detected instead? Or are there more models with the same name out there?

@kjeisa
Copy link

kjeisa commented Dec 25, 2022

Was that using my converter? I'm concerned there are two versions of this as my converter is really different to the original posted.

Hello, I also have _TZE200_m9skfctm and have used "my own" converter but tried to change to this one. The "test" didn report anything with tuya.valueConverter.true0ElseFalse I have to use tuya.valueConverter.raw. And my "smoke" value is 1 when no smoke and 0 when smoke is detected, can I get it to show Clear/detected instead? Or are there more models with the same name out there?

Yes I tried with this one:

const exposes = require('zigbee-herdsman-converters/lib/exposes');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;
const ea = exposes.access;
const numeric = exposes.numeric;

const definition = {
fingerprint: [ { modelID: 'TS0601', manufacturerName: '_TZE200_m9skfctm'},],
model: 'TS0601_new',
vendor: 'TuYa',
description: 'Photoelectric Smoke Detector',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
exposes: [e.smoke(), numeric('smoke_level', ea.STATE).withUnit("ppm").withDescription("Parts per million of smoke detected"), e.tamper(), e.battery(), e.test()],
meta: {
tuyaDatapoints: [
[1, 'smoke', tuya.valueConverter.true0ElseFalse],
[2, 'smoke_level', tuya.valueConverter.raw],
[11,'tamper', tuya.valueConverter.true0ElseFalse],
[15,'battery', tuya.valueConverter.raw],
[101,'test', tuya.valueConverter.true0ElseFalse]
],
},
};

module.exports = definition;

and before I have used this one:

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 extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');

const definition = {
fingerprint: [
{
modelID: 'TS0601',
manufacturerName: '_TZE200_m9skfctm',
},
],
model: 'TS0601',
vendor: 'TuYa',
description: 'Smokedetector',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
exposes: [e.smoke(), e.tamper(), e.battery(), tuya.exposes.faultAlarm(), tuya.exposes.gasValue()],
meta: {
tuyaDatapoints: [
[1, 'smoke', tuya.valueConverter.raw],
[2, 'gas_value', tuya.valueConverter.raw],
[11, 'fault_alarm', tuya.valueConverter.trueFalse],
[15, 'battery', tuya.valueConverter.raw],
[101, 'tamper', tuya.valueConverter.raw],
],
},
};

module.exports = definition;

but this is my first time trying to make a converter since there was no official so I dont know whats wrong and not, but atleast the test button only went from N/A to false when I tried yours. So I changed it to tuya.valueConverter.raw on the test button and it now works on true/false. I also made/translated the datapoints from the info I got my hands on, maybe it makes any sense?

Sbdeb966206ca49a99f30e61d1c132f68u

@Jonno12345
Copy link

Jonno12345 commented Dec 25, 2022

Odd, your mappings look the same as mine. Not at my house to test right now, but I'm surprised it doesn't work with my converter if that's the data points you have as it's identical. What isn't working sorry? 1 when no smoke and 0 with smoke is correct and should be the same as my converter

@kjeisa
Copy link

kjeisa commented Dec 25, 2022

Yes, i tried the Test button on the smoke detector and it did not change from false to true in the output. (With [101,'test', tuya.valueConverter.true0ElseFalse]) I must use [101,'test', tuya.valueConverter.raw] for it to work. Strange

@kjeisa
Copy link

kjeisa commented Dec 25, 2022

I tried with smoke now, and the smoke detection works good, thanks.
So looks like the correct setup for mine DP's and valueConverters are:
[1, 'smoke', tuya.valueConverter.true0ElseFalse],
[2, 'smoke_level', tuya.valueConverter.raw],
[11,'tamper', tuya.valueConverter.true0ElseFalse],
[15,'battery', tuya.valueConverter.raw],
[101,'test', tuya.valueConverter.raw]

I dont know how to test dp:11 (tamper) or fault but I guess that's a value thats not needed to check.
Guess you check if your test button reports correct value when you have time, if it does then there may be 2 types of this detector?

@Jonno12345
Copy link

Jonno12345 commented Dec 26, 2022

@kjeisa

So yeah, I've just confirmed this. Using 'raw' converts to a true/false value automatically based on the datapoint type, which in this case is a bool, so 'raw' works as intended. 'Smoke present' however is considered an enum so as raw would just pass through 0 or 1, 0 for smoke present, 1 for no smoke present, so the converter works as intended. Sorry for any confusion, I was testing the smoke presence primarily as honestly that was the important one for me 😁.

Unfortunately I have no idea how to test the device fault either, presumably I'd have to break the power to the photoelectric sensor in some way but I haven't got one I can try that with (or certain it would actually work).

If you're happy with the below on your device, I'll submit as a PR?

const exposes = require('zigbee-herdsman-converters/lib/exposes');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;
const ea = exposes.access;
const numeric = exposes.numeric;

const definition = {
fingerprint: [ { modelID: 'TS0601', manufacturerName: '_TZE200_m9skfctm'},],
model: 'TS0601_new',
vendor: 'TuYa',
description: 'Photoelectric Smoke Detector',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
exposes: [e.smoke(), numeric('smoke_level', ea.STATE).withUnit("ppm").withDescription("Parts per million of smoke detected"), e.tamper(), e.battery(), e.test()],
meta: {
    tuyaDatapoints: [
            [1, 'smoke', tuya.valueConverter.true0ElseFalse],
            [2, 'smoke_level', tuya.valueConverter.raw],
            [11,'tamper', tuya.valueConverter.true0ElseFalse],
            [15,'battery', tuya.valueConverter.raw],
            [101,'test', tuya.valueConverter.raw]
        ],
    },
};

module.exports = definition;

@kjeisa
Copy link

kjeisa commented Dec 27, 2022

@Jonno12345 Okay, yes just submit that now looks good 😁

@seesrza
Copy link
Author

seesrza commented Dec 27, 2022

const exposes = require('zigbee-herdsman-converters/lib/exposes');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;
const ea = exposes.access;
const numeric = exposes.numeric;

const definition = {
fingerprint: [ { modelID: 'TS0601', manufacturerName: '_TZE200_m9skfctm'},],
model: 'TS0601_new',
vendor: 'TuYa',
description: 'Photoelectric Smoke Detector',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
exposes: [e.smoke(), numeric('smoke_level', ea.STATE).withUnit("ppm").withDescription("Parts per million of smoke detected"), e.tamper(), e.battery(), e.test()],
meta: {
tuyaDatapoints: [
[1, 'smoke', tuya.valueConverter.true0ElseFalse],
[2, 'smoke_level', tuya.valueConverter.raw],
[11,'tamper', tuya.valueConverter.true0ElseFalse],
[15,'battery', tuya.valueConverter.raw],
[101,'test', tuya.valueConverter.raw]
],
},
};

module.exports = definition;

with this converter gives such errors

Info 2022-12-27 19:50:43MQTT publish: topic 'zigbee2mqtt/Датчик дыма кухня', payload '{"battery":88,"linkquality":52,"smoke":false,"smoke_level":28,"tamper":false,"test":false}'
Debug 2022-12-27 19:50:43Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,88],"type":"Buffer"},"datatype":2,"dp":15}],"seq":42496}' from endpoint 1 with groupID 0
Info 2022-12-27 19:50:43MQTT publish: topic 'zigbee2mqtt/Датчик дыма кухня', payload '{"battery":88,"linkquality":72,"smoke":false,"smoke_level":28,"tamper":false,"test":false}'
Debug 2022-12-27 19:50:43Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":42752}' from endpoint 1 with groupID 0

@Jonno12345
Copy link

Jonno12345 commented Dec 27, 2022

const exposes = require('zigbee-herdsman-converters/lib/exposes');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;
const ea = exposes.access;
const numeric = exposes.numeric;
const definition = {
fingerprint: [ { modelID: 'TS0601', manufacturerName: '_TZE200_m9skfctm'},],
model: 'TS0601_new',
vendor: 'TuYa',
description: 'Photoelectric Smoke Detector',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
exposes: [e.smoke(), numeric('smoke_level', ea.STATE).withUnit("ppm").withDescription("Parts per million of smoke detected"), e.tamper(), e.battery(), e.test()],
meta: {
tuyaDatapoints: [
[1, 'smoke', tuya.valueConverter.true0ElseFalse],
[2, 'smoke_level', tuya.valueConverter.raw],
[11,'tamper', tuya.valueConverter.true0ElseFalse],
[15,'battery', tuya.valueConverter.raw],
[101,'test', tuya.valueConverter.raw]
],
},
};
module.exports = definition;

with this converter gives such errors

Info 2022-12-27 19:50:43MQTT publish: topic 'zigbee2mqtt/Датчик дыма кухня', payload '{"battery":88,"linkquality":52,"smoke":false,"smoke_level":28,"tamper":false,"test":false}' Debug 2022-12-27 19:50:43Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,88],"type":"Buffer"},"datatype":2,"dp":15}],"seq":42496}' from endpoint 1 with groupID 0 Info 2022-12-27 19:50:43MQTT publish: topic 'zigbee2mqtt/Датчик дыма кухня', payload '{"battery":88,"linkquality":72,"smoke":false,"smoke_level":28,"tamper":false,"test":false}' Debug 2022-12-27 19:50:43Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":101}],"seq":42752}' from endpoint 1 with groupID 0

Whats the error? This is just an info and debug output from what I can see which look perfectly normal?

@seesrza
Copy link
Author

seesrza commented Dec 27, 2022

Good afternoon! I'm new to this, so I'm wondering if this is not a bug?:
Debug 2022-12-27 20:40:21Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,91],"type":"Buffer"},"datatype":2,"dp":15}],"seq":52480}' from endpoint 1 with groupID 0

@Jonno12345
Copy link

Good afternoon! I'm new to this, so I'm wondering if this is not a bug?: Debug 2022-12-27 20:40:21Received Zigbee message from 'Датчик дыма кухня', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,91],"type":"Buffer"},"datatype":2,"dp":15}],"seq":52480}' from endpoint 1 with groupID 0

That's just the smoke alarm reporting a battery level of 91, this is before the converter has made it into something usable by Z2M, so no, not an issue. You've got debug logging turned on so you'll see all the raw ZigBee messages coming in.

@seesrza
Copy link
Author

seesrza commented Dec 27, 2022

Добрый день! Я новичок в этом, поэтому мне интересно, не ошибка ли это?: Отладка 2022-12-27 20:40:21Получено сообщение Zigbee от «Датчик дыма кухня», тип «commandDataReport», кластер «manuSpecificTuya», data '{"dpValues":[{"data":{"data":[0,0,0,91],"type":"Buffer"},"datatype":2,"dp":15}] ,"seq":52480}' из конечной точки 1 с идентификатором группы 0

Это просто дымовая сигнализация, сообщающая об уровне заряда батареи 91, это до того, как преобразователь превратил ее во что-то, пригодное для использования Z2M, так что нет, не проблема. У вас включено ведение журнала отладки, поэтому вы будете видеть все поступающие необработанные сообщения ZigBee.

Thank you so much! Now I understand.

Regarding tamper - I opened the sensor, it physically does not have such a function.

@Jonno12345
Copy link

Добрый день! Я новичок в этом, поэтому мне интересно, не ошибка ли это?: Отладка 2022-12-27 20:40:21Получено сообщение Zigbee от «Датчик дыма кухня», тип «commandDataReport», кластер «manuSpecificTuya», data '{"dpValues":[{"data":{"data":[0,0,0,91],"type":"Buffer"},"datatype":2,"dp":15}] ,"seq":52480}' из конечной точки 1 с идентификатором группы 0

Это просто дымовая сигнализация, сообщающая об уровне заряда батареи 91, это до того, как преобразователь превратил ее во что-то, пригодное для использования Z2M, так что нет, не проблема. У вас включено ведение журнала отладки, поэтому вы будете видеть все поступающие необработанные сообщения ZigBee.

Thank you so much! Now I understand.

Regarding tamper - I opened the sensor, it physically does not have such a function.

Yeah this should actually be 'device_fault'. I'll review whether I can get this one working correctly but I have no way to actually test it as I don't know what it considers to be a fault. I'd assume if it tries to pulse the sensor but it doesn't work, however I don't have one to sacrifice to test this.

@Jonno12345
Copy link

I have submitted a PR at Koenkk/zigbee-herdsman-converters#5218 now, with the correct value for 'device_fault'. As said before I can't test it properly without damaging one, but I've identified the correct datapoint now.

@kjeisa
Copy link

kjeisa commented Dec 28, 2022

Nice work:)

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Jan 28, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2023
@DennisJohnsen
Copy link

@Jonno12345
Hey.
I just received 3 of these smoke detectors, and hoped that i would be able to link them together with NodeRed (i.e. if one goes off i can send a state to the others to make them be on too).

Do you have any chance of figuring out if we're missing features for this device in order to use /set to "trigger" the smoke detector? Ala what you see here: https://www.zigbee2mqtt.io/devices/SD-8SCZBS.html#warning-composite or https://www.zigbee2mqtt.io/devices/SA12IZL.html#alarm-binary

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 stale Stale issues
Projects
None yet
Development

No branches or pull requests

6 participants