Closed Doctor-JaKe closed 1 year ago
I have the same (according to Zigbee2MQTT, unsupported) _tze204_qasjif9e device. This seems to be the newer model of this device, that has the USB-C Connection instead of the micro-usb connector.
@DaanVT86 :Mine 3rd piece of the Wall Mount Presence sensor (_tze204_qasjif9e device) has still the USB A to Micro USB cable and so a micro USB port for power on it . Can you please maybe post some screenshots and If you know whait is meant by "database entry" ath the start post"maybe you could me/us help out..
Thank You.
This is the database entry
{"id":6,"type":"Router","ieeeAddr":"0xa4c138049b3a1a9f","nwkAddr":57618,"manufId":4417,"manufName":"_TZE204_qasjif9e","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":{"stackVersion":0,"dateCode":""}}},"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":{},"lastSeen":1690381712647,"defaultSendRequestWhen":"immediate"}
Here's an external convertor you can use to get it working :)
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', ['_TZE204_qasjif9e']),
model: 'ZY-M100-S',
vendor: 'TuYa',
description: 'Mini Human Breathe Sensor',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
exposes: [
e.illuminance_lux(), e.presence(),
e.numeric('target_distance', ea.STATE).withDescription('Distance to target').withUnit('m'),
e.numeric('radar_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(9).withValueStep(1)
.withDescription('sensitivity of the radar'),
e.numeric('minimum_range', ea.STATE_SET).withValueMin(0).withValueMax(9.5).withValueStep(0.15)
.withDescription('Minimum range').withUnit('m'),
e.numeric('maximum_range', ea.STATE_SET).withValueMin(0).withValueMax(9.5).withValueStep(0.15)
.withDescription('Maximum range').withUnit('m'),
e.numeric('detection_delay', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(0.1)
.withDescription('Detection delay').withUnit('s'),
e.numeric('fading_time', ea.STATE_SET).withValueMin(0.5).withValueMax(1500).withValueStep(1)
.withDescription('Fading time').withUnit('s'),
],
meta: {
tuyaDatapoints: [
[1, 'presence', tuya.valueConverter.trueFalse1],
[9, 'target_distance', tuya.valueConverter.divideBy100],
[104, 'illuminance_lux', tuya.valueConverter.raw],
[2, 'radar_sensitivity', tuya.valueConverter.raw],
[4, 'maximum_range', tuya.valueConverter.divideBy100],
[3, 'minimum_range', tuya.valueConverter.divideBy100],
[102, 'fading_time', tuya.valueConverter.divideBy10],
[101, 'detection_delay', tuya.valueConverter.divideBy10],
],
},
};
module.exports = definition;
Thanks, added!
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
Ok. Thanx everybody.
But how long will it take estimated until its supported by the normal/regular branch of Zigbee2MQTT (for Home Assistant) ??
Verzonden vanuit Outlook voor iOShttps://aka.ms/o0ukef
Van: Koen Kanters @.> Verzonden: Wednesday, July 26, 2023 7:00:18 PM Aan: Koenkk/zigbee2mqtt @.> CC: Doctor-JaKe @.>; Author @.> Onderwerp: Re: [Koenkk/zigbee2mqtt] [New device VERSION! support]: Zigbee Wifi Mmwave Menselijke Aanwezigheid Motion Sensor Met Luminantie/Afstand Detectie 5/110/220V Tuya Smart leven Domotica (Issue #18434)
Closed #18434https://github.com/Koenkk/zigbee2mqtt/issues/18434 as completed.
ā Reply to this email directly, view it on GitHubhttps://github.com/Koenkk/zigbee2mqtt/issues/18434#event-9926657214, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ4DYBUFBZVSR4ZGPJSUVATXSFEKFANCNFSM6AAAAAA2YNBSUA. You are receiving this because you authored the thread.Message ID: @.***>
@Koenkk Sorry if I`m not seeing everything clear (not a developer so not too familiar here), but does your change take into account that the datapoints of this device are different then the other versions?
@Doctor-JaKe next release is on 1 Agust
@DaanVT86 no, I will merge https://github.com/Koenkk/zigbee-herdsman-converters/pull/5990 instead.
After the latest update on 1st of august it seems to be working now.
But still need some days to be 100% sure everything is fine.
@DaanVT86 : How about your device ??
Thank You very much again !!
Mine does not detect properly. How can I fix? Was above suggestion regarding dev brnach?
Restart your Zigbee hub/device and try again. Maybe even power it off for at least 15 minutes so your Zigbee network will reset/reconfigure their mesh connection and then power on your main Zigbee hub/controller (running Zigbee2MQTT).
That worked for me.
Verzonden vanuit Outlook voor iOShttps://aka.ms/o0ukef
Van: WizardOfOzzie @.> Verzonden: Wednesday, September 13, 2023 11:02:18 AM Aan: Koenkk/zigbee2mqtt @.> CC: Doctor-JaKe @.>; Mention @.> Onderwerp: Re: [Koenkk/zigbee2mqtt] [New device VERSION! support]: Zigbee Wifi Mmwave Menselijke Aanwezigheid Motion Sensor Met Luminantie/Afstand Detectie 5/110/220V Tuya Smart leven Domotica (Issue #18434)
Mine does not detect properly. How can I fix? Was above suggestion regarding dev brnach?
ā Reply to this email directly, view it on GitHubhttps://github.com/Koenkk/zigbee2mqtt/issues/18434#issuecomment-1717232738, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ4DYBQQ6MJ6R7UORTJ4NHLX2FZBVANCNFSM6AAAAAA2YNBSUA. You are receiving this because you were mentioned.Message ID: @.***>
Link
https://nl.aliexpress.com/item/1005004704966668.html?spm=a2g0o.order_detail.order_detail_item.4.75bb6d76CNuiqz&gatewayAdapt=glo2nld
Database entry
where in latest HAOS / Home Assistant 2023.7.3 / ZijBee2MQTT 1.32.1-1 / can I
Comments
this is the 3rd device of this kind I am trying to use in Zigbee2MQTT. The 1st 2 are working fine, even they are not detected/recognized completely right (because of their (icon) picture.
All 3 devices can be paired (successfully with interview completed) but only the 1st 2 are working /supported.
All are these "supported" Tuya presence sensor :
See this page : https://www.zigbee2mqtt.io/devices/TS0601_smart_human_presence_sensor_1.html
And don't bother the wrorng/different (icon) picture of my 2 1st one devices (as ceiling mounted (presence sensor) devices : they are working just perfectly.
The 1st 2 devices that work are :
Friendly name Tuya ZY-M100 by TS601 Human Presense Sensor Z2M Nr 1 Description
Last seen N/A Availability Disabled Device type Router Zigbee Model TS0601 Zigbee Manufacturer _TZE204_ztc6ggyl Description Ceiling human breathe sensor Support status
IEEE Address 0x70ac08fffef6176b Network address 0x3CC5 Manufacturer TuYa Model ZY-M100-L Power Interview completed True
Friendly name Tuya ZY-M100 by TS601 Human Presense Sensor Z2M Nr 1 Description
Last seen N/A Availability Disabled Device type Router Zigbee Model TS0601 Zigbee Manufacturer _TZE204_ztc6ggyl Description Ceiling human breathe sensor Support status
IEEE Address 0x70ac08fffef6176b Network address 0x3CC5 Manufacturer TuYa Model ZY-M100-L Power Interview completed True
The 3rd device that is not suppoerted gives me this info m:
riendly name 0xa4c1380679a8b7a8 Description
Last seen N/A Availability Disabled Device type Router Zigbee Model TS0601 Zigbee Manufacturer _TZE204_qasjif9e Support status
IEEE Address 0xa4c1380679a8b7a8 Network address 0x8027 Power Interview completed True
External converter
No response
Supported color modes
No response
Color temperature range
No response