Closed AlexObukhoff closed 3 weeks ago
Data Point's:
{
"1": "Induction state",
"101": "状态变化间隔",
"102": "无人延时",
"103": "光照度",
"105": "距离区间开关",
"110": "灵敏度",
"111": "开关",
"114": "触发灵敏度",
"117": "无人持续时间大于",
"118": "有人持续时间大于",
"176": "模式变化",
"182": "距离",
"183": "距离区间数据"
}
{
"1": "Induction state",
"101": "State change interval",
"102": "No delay",
"103": "Illuminance",
"105": "Distance interval switch",
"110": "Sensitivity",
"111": "Switch",
"114": "Trigger sensitivity",
"117": "No one lasts longer than",
"118": "Someone lasts longer than",
"176": "Pattern change",
"182": "Distance",
"183": "Distance interval data"
}
Working 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 modernExtend = require('zigbee-herdsman-converters/lib/modernExtend');
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: [
{modelID: 'TS0601', manufacturerName: '_TZE204_bmdsp6bs',},
],
model: 'TS0601_TZE204_bmdsp6bs',
vendor: 'Tuya',
description: 'Smart Human presence sensor 24G',
whiteLabel: [tuya.whitelabel('Tuya', 'Y1_IN', 'Human presence sensor', ['_TZE204_bmdsp6bs'])],
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: [
e.presence(),
e.illuminance_lux(),
e
.numeric('keep_sensitivity', ea.STATE_SET)
.withValueMin(0)
.withValueMax(10)
.withValueStep(1)
.withDescription('Keep sensitivity'),
e
.numeric('trigger_sensitivity', ea.STATE_SET)
.withValueMin(1)
.withValueMax(20)
.withValueStep(1)
.withDescription('Trigger sensitivity'),
e
.numeric('fading_time', ea.STATE_SET)
.withValueMin(1)
.withValueMax(60)
.withValueStep(1)
.withDescription('Presence timeout')
.withUnit('s'),
e.numeric('target_distance', ea.STATE).withDescription('Distance to target').withUnit('m'),
],
meta: {
tuyaDatapoints: [
[1, 'presence', tuya.valueConverter.trueFalse1],
[102, 'fading_time', tuya.valueConverter.raw],
[103, 'illuminance_lux', tuya.valueConverter.raw],
[110, 'keep_sensitivity', tuya.valueConverter.raw],
[114, 'trigger_sensitivity', tuya.valueConverter.raw],
[182, 'target_distance', tuya.valueConverter.divideBy10],
[183, null, null],
],
},
extend: [
// A preferred new way of extending functionality.
],
icon: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAEiAT0DASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldY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tUhqM80AMNRtUhphoAYaSlNJQAU4CkxU0FvNcNiKJn+goAF61NGrO4VVJJ7AVpWugSsQ1xIEH91eTW1b2kNquIkx79z+NAFCy0nHz3P4J/jWqAFUAAADsKWimAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAGaZJDHMMSRqw9xmn0UAZ8uj2smcKyH/Zb/Gqknh/nKXB+jLW3RQBzjeH7on5Zoj9cj+lMPh29/56Qf8AfR/wrpqKAOaXw1cH788QHtk1Zj8NRDBkndvZRit3jFGRQBRh0axh6QBj6uc1dVVRcKoA9BxTsikJ4oASiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigD//Z',
};
module.exports = definition;
The big problem is that I do not know how to reset this sensor to connect to another controller. The decoupling from the old test controller was unsuccessful, now the sensor blinks 3 times and there are no more signals from it.
Could you make a pull request by clicking here?
Ready: https://github.com/Koenkk/zigbee-herdsman-converters/pull/8082
Link
https://aliexpress.ru/item/1005006332763566.html?sku_id=12000036791926783
Database entry
{"id":15,"type":"Router","ieeeAddr":"0xa4c138eea0ea935f","nwkAddr":42919,"manufId":4417,"manufName":"_TZE204_bmdsp6bs","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"��x.i��x.i","65506":56,"65508":0,"65534":0,"stackVersion":0,"dateCode":"","appVersion":74,"manufacturerName":"_TZE204_bmdsp6bs","zclVersion":3,"modelId":"TS0601","powerSource":1}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":74,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1726327548273}
Zigbee2MQTT version
1.40.1
Comments
Just pared the device and Z2M say "not supported"
External definition
What does/doesn't work with the external definition?
Doesn't work presence and luminance sensors. Show only Linkquality.