-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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]: TuYa 24GHz Human Presence Sensor TS0225_TZE200_2aaelwxk #18612
Comments
Does this ext converter work? I yes, could you make a pull request? |
use https://gist.github.com/Koenkk/79a20ea7e5eaf35749e157d0c31a1f9b |
@Koenkk it's working fine for and haven't seen any issues. I am not familiar with GitHub and am not sure about how to make a pull request. |
I can confirm that Tuya DPs shown above are the correct ones for TS0225 _TZE200_2aaelwxk @chewth91 I suppose that you have Tuya Zigbee GW, are there "Move Self Test", "Small Move Self Test" and "Breathe Self Test" functions in the Smart Life app? ( these could be potentially DP 118, 119, and 120). |
Hi, i did not see self test in Smartlife. Which one do you think they refer to? |
All 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) |
I have _TZE200_2aaelwxk with this converter it detects but doesn't show motion_state and illuminance_lux, the rest seems to work. I am attaching debug logs etc.
|
@chewth91 thank you for the screenshots - obviously, this model does not have exactly the same functions as the other TS0225 radar : |
This happened to me before as well. Have you entered all the parameters? |
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) |
@Koenkk when will this sensor be fully operational and working in regular Z2M ? I tried this external converter for "TS0225 by _TZE200_2aaelwxk" version, and it shows, but none of the sliders seem to be working. Am I doing anything wrong? OR is there better way to work in ZHA perhaps? Have anyone made this sensor working? Thanks Is this Zigbee2MQTT fully functional now? Does anyone know what each of those settings mean and how to set them for best results? |
@13717033460 since you added support for this, can you check the issue above? |
I contacted the AliExpress seller that sent me the sensor and they have emailed me their converter. It is different. Can anybody check both and let me know which one is better and should be used? Here is the link: https://doc.szalarm.com/zg-205Z/z2m.html I also asked what each setting do, and here is their link with information: |
The external converter the AliExpress seller gave me shows several models loading it in Z2M I see some key differences:
There is missing a few states like:
Those 2 are missing from the AliExpress seller converter, but are available from @chewth91 Which of the 2 converters is better? Thanks |
Hello,
you can add an external converter in this way first. This is the latest one.
…------------------ Original ------------------
From: "Koenkk/zigbee2mqtt" ***@***.***>;
Date: Tue, Aug 29, 2023 07:30 PM
***@***.***>;
***@***.******@***.***>;
Subject: Re: [Koenkk/zigbee2mqtt] [New device support]: TuYa 24GHz Human Presence Sensor TS0225_TZE200_2aaelwxk (Issue #18612)
The external converter the AliExpress seller gave me shows model _TZE200_hl0ss9oa but I have _TZE200_2aaelwxk. After loading it in Z2M I see some key doffereces:
In Z2M does not show photo anymore, but only Zigbee logo.
Presence state changed from "Presence/NONE, to AWAY/HOME" - similar to other older presence sensors
IS no longer domain sensor, but binary_sensor instead (which in my opinion is better as it works as ON/OFF state) used elsewehere.
Is now possible to change the type of the sensor, see image below.
Can someone fix it so it dows work fine with both versions of the sensor - _TZE200_hl0ss9oa AND _TZE200_2aaelwxk. I am newbie so not sure how to do it, just trying to observe and report. :)
Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@13717033460 so the AliExpress seller converter is the latest and better? |
sorry,I made a mistake. This is it. Please check the attachment.
…------------------ Original ------------------
From: "Koenkk/zigbee2mqtt" ***@***.***>;
Date: Tue, Aug 29, 2023 07:59 PM
***@***.***>;
***@***.******@***.***>;
Subject: Re: [Koenkk/zigbee2mqtt] [New device support]: TuYa 24GHz Human Presence Sensor TS0225_TZE200_2aaelwxk (Issue #18612)
@13717033460 so the AliExpress seller converter is the latest and better?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sorry, am I blind? I dont see attachment. Do you mean the converter that is posted by @chewth91 is the latest and best? OR the seller from AliExpress is newer and better? I feel stupid :( I am so sorry to ask again... |
{
fingerprint: tuya.fingerprint('TS0225', ['_TZE200_2aaelwxk']),
model: 'ZG-205Z-A',
vendor: 'TuYa',
description: 'Mini 24Ghz human presence sensor',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tzDatapoints],
exposes: [
e.presence(),
e.enum('motion_state', ea.STATE, ['none', 'large', 'small', 'static']).withDescription('Motion state'),
e.illuminance_lux(),
e.numeric('fading_time', ea.STATE_SET).withValueMin(0).withValueMax(600).withValueStep(1).withUnit('s')
.withDescription('Presence keep time'),
e.numeric('large_motion_detection_distance', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(0.01).withUnit('m')
.withDescription('Large motion detection distance'),
e.numeric('large_motion_detection_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withUnit('x')
.withDescription('Large motion detection sensitivity'),
e.numeric('small_motion_detection_distance', ea.STATE_SET).withValueMin(0).withValueMax(6).withValueStep(0.01).withUnit('m')
.withDescription('Small motion detection distance'),
e.numeric('small_motion_detection_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withUnit('x')
.withDescription('Small motion detection sensitivity'),
e.numeric('static_detection_distance', ea.STATE_SET).withValueMin(0).withValueMax(6).withValueStep(0.01).withUnit('m')
.withDescription('Static detection distance'),
e.numeric('static_detection_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withUnit('x')
.withDescription('Static detection sensitivity'),
e.binary('indicator', ea.STATE_SET, 'ON', 'OFF').withDescription('LED indicator mode'),
],
meta: {
tuyaDatapoints: [
[1, 'presence', tuya.valueConverter.trueFalse1],
[106, 'illuminance_lux', tuya.valueConverter.raw],
[101, 'motion_state', tuya.valueConverterBasic.lookup({
'none': tuya.enum(0), 'large': tuya.enum(1), 'small': tuya.enum(2), 'static': tuya.enum(3),
})],
[102, 'fading_time', tuya.valueConverter.raw],
[4, 'large_motion_detection_distance', tuya.valueConverter.divideBy100],
[2, 'large_motion_detection_sensitivity', tuya.valueConverter.raw],
[104, 'small_motion_detection_distance', tuya.valueConverter.divideBy100],
[105, 'small_motion_detection_sensitivity', tuya.valueConverter.raw],
[108, 'static_detection_distance', tuya.valueConverter.divideBy100],
[109, 'static_detection_sensitivity', tuya.valueConverter.raw],
[107, 'indicator', tuya.valueConverter.onOff],
],
},
},
…------------------ Original ------------------
From: "Koenkk/zigbee2mqtt" ***@***.***>;
Date: Tue, Aug 29, 2023 08:20 PM
***@***.***>;
***@***.******@***.***>;
Subject: Re: [Koenkk/zigbee2mqtt] [New device support]: TuYa 24GHz Human Presence Sensor TS0225_TZE200_2aaelwxk (Issue #18612)
Sorry, am I blind? I dont see attachment. Do you mean the converter that is posted by @chewth91 is the latest and best? OR the seller from AliExpress is newer and better? I feel stupid :( I am so sorry to ask again...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thank you. Will try it now :) There are a lot of "  "  " are not from the code I assume? Is there a link to download the .js file so I know is the correct one? or RAW format of it? |
OK,
In the process of using the product, you can contact me if you have any other questions, we are the manufacturer.
发自我的iPhone
…------------------ Original ------------------
From: Alex Valtchev ***@***.***>
Date: Tue,Aug 29,2023 8:29 PM
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: jomders ***@***.***>, Mention ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] [New device support]: TuYa 24GHz HumanPresence Sensor TS0225_TZE200_2aaelwxk (Issue #18612)
Thank you. Will try it now :)
What is new/different than the AliExpress version, do you know? Does it work better or more accurate? Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Great, @13717033460 I just want the latest external converter that support TS0225_TZE200_2aaelwxk version. I dont see attached file or link that I can download it. Thanks |
Hi @13717033460 , The first question is about what mmWave module is actually inside TS0225_TZE200_2aaelwxk This is not a 24Ghz module as advertised, but a 5.8 Ghz mmWave module - can you confirm that? Following the AliExpress seller link in the first post by @chewth91 , we see it has changed - there is no "24 GHz" anymore on the product description. Other AE sellers removed the ''24GHz" from the description, but the wrong info can still be seen in some of the pictures. Can you comment on this situation? |
This is pir
发自我的iPhone
…------------------ Original ------------------
From: Alex Valtchev ***@***.***>
Date: Wed,Aug 30,2023 1:25 AM
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: jomders ***@***.***>, Mention ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] [New device support]: TuYa 24GHz HumanPresence Sensor TS0225_TZE200_2aaelwxk (Issue #18612)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
发自我的iPhone
…------------------ Original ------------------
From: Alex Valtchev ***@***.***>
Date: Wed,Aug 30,2023 1:25 AM
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: jomders ***@***.***>, Mention ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] [New device support]: TuYa 24GHz HumanPresence Sensor TS0225_TZE200_2aaelwxk (Issue #18612)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I mean this is just the stand. Its nit a sensor. It can be maunted on any sensor to angel it. |
LINK for purchasing this stand: https://www.aliexpress.com/item/1005005943524259.html @13717033460 this is another senaor holder to angel the sensor into the right direction. |
@alexvaltchev that's a very good idea (using the Aqara sensor holder) - the precise aiming to the direction where the stationary/breath sensing is expected is of critical importance for achieving the best results. Precise aiming also helps a lot to avoid interference from ceiling of floor-standing fans, air conditioners, etc. |
Yes I already purchased. Waiting on it. I can send you a link for the second one when I get home if you want. |
Yes, please. |
Here is the link for the mounting bracket for pretty much any sensor, so it can be fixed and modified and angled at any direction for better results: It can be used for all older and newer models. |
Appologies for joining a stale chat - I just wanted to confirm what this device actually is - I have the Zigbee Model: TS0225, Zigbee Manufacturer: _TZE200_2aaelwxk, is this a 5.8GHz or 28GHz device? If 5.8, is it worth updating the Zigbee2MQTT description to reflect that? |
I know this ticket is closed, so I'd appreciate any recommendations on what could I do with the following: It works currently as _TZE200_2aaelwxk via zigbee2mqtt, described as 5.8Ghz Human presence sensor. And looking at this issue, I started a dispute on aliexpress, as advised above (and on some other forum) where guys prove this is 5.8GHz device by taking pictures of the disassembled device. So, I've disassembled mine, as what I see: it's actually 24GHz! Should I open a new issue for this? So far it works as is, but the illuminance values are crazy high, not sure if it's possible to calibrate it. |
What value do you get & do you have another luminance sensor to compare the values at the same location? A tuya.valueConverter.divideByxx (xx being the value you set) can be added to an external converter. So if you have one luminance sensor showing 48 & you have the one with high values showing 480, 4800, 48000 or the likes, you can then use the above to divide by 10, 100, 1000 respectively. |
Yeah, I got like 10x values right now in one room, my other luminance sensors also not perfect though. The other room shows 56 vs 2134 on tuya sensor 🫤 I guess you are referring to this, I will try to look into it on weekends, and see what I can do with it, thanks for the help! |
I have the exact same sensor with same id code. It is automatically recognized in z2mqtt & no external converter is required. Mine went up to over 3000lm almost every time there was motion. Found it was the led indicator on the front panel causing it. Turned off, problem solved. |
And as for the external converter, there is some in this thread. |
@GitTheFOuttaHere I have the LED turned off, but the values are still high. And it's really higher than it should be, according to the description on the wiki and my other sensors: Do you have normally accurate values for your device? |
Depends what "normally accurate" entails. My sensor (specifically TS0225_TZE200_2aaelwxk) would only go higher than 2000lm if I shine a bright led torch directly at it. I only have one of these and have mounted it under a cupboard. I have it there so it does not detect movement from the ceiling fan. And won't pickup my animals most times because there is a bench below it as well. It's also a good way to know how much actual sunlight there is. The values aren't super accurate, but it works enough for me to use the readings I'm given. A led torch I have which has a 1000lm output (on high) shining directly at it, shows over 3000lm. The photo sensitive component isn't exposed, it's hidden under the plastic case. So not sure how accurate you will need it to be. If your need for lumens value is critical, you may need a dedicated lux sensor. Having said that, the lumens value for mine seems to be on par with the wiki. Had mostly overcast days and the value didn't go much higher than 1000lm. The other sensors I have have different outputs, not in lumens. Their reading goes from 0 to 50 only. I've ordered another one of these and I'll post the results for you. |
@GitTheFOuttaHere appreciate your extended response, I guess I need some dedicated sensor to be able to directly compare with my existing ones, integrated with presence and motion sensors. |
Always welcome. I myself am interested in the values I can use. All my sensors being in different locations give different readings. I find the values required for that area & write the automation to suit. Lights on values, sunny day values, overcast. When setting up a sensor, I keep track of the brightness in the room via sight, then when it's just too dark I record the values. You are probably aware of how to set up a sensor, so I'll wait until I get the next unit & compare them for you. I do have an Aqara luminance sensor, somewhere. I'll dig it out and compare it to that. Bear in mind I have 2 x Aqara devices with luminance. One is dedicated to luminance only, the other is a aqara pir sensor with built in luminance. The luminace sensor gives values of around 1000 on daybreak & can go all the way up to 60000 in full sunlight. But while this sensor might show 900-1200, the pir one shows only 8-13. |
Received the new sensor today, along with a ceiling type (still shows up as _TZE200_2aaelwxk) & all report roughly the same values. I say "roughly" because they are not all exact, but definitely in the same sort of range. 1st sensor I received: 927 The first two have the photoresistor behind the shell. The ceiling one has a hole to let the light in. Which probably explains the different reading. All tested in the same location. UPDATE....... I received another sensor this afternoon (5.8g model _TZE204_qasjif9e) and the reading in the same location is 120. I'm no expert on luminous flux. And it would appear there is no "standard' across manufacturers. So if we presume the Xiaomi/Aqara Sensors are correct, the others are ten to 100 times that value. In saying all that, they work for my application. I only need to know if it's too dark during daytime or if the light has been left on. The values are recorded in HA & I just use the numbers from the sensor in that area to create the automations. Good luck with yours. |
This is 24 MHz quartz, used by the TeLink MCU: Not 24 000 MHz for the radar - you need to unsolder the second pcb with the mmwave sensor to make sure it's 5.8 or 24 GHz. |
How could someone confuse 24.000mhz with 24ghz. Maybe they didn't see the dot (.) in 24.000 mhz? There is 24ghz version & 5.8ghz version. Some sellers pass off the 5.8g as 24g. |
Hi, first time poster on git. I have bought the same sensor as @HNKNTA and Z2M identifies it wrongly as ZG-205Z/A 5.8Ghz Human presence sensor. This is definitely different as I've seen multiple pictures of the /A board. I've opened it and see "ZG-205Z v2.1" written on the board. |
Hi! I also have a pair of ZG-205Z v2.1 that I bought to replace two ZY-M100-24G that were saturating the Zigbee network with 3-4 messages every second, each. These new ones send much fewer messages, but even though Z2M does show the illuminance value, I can't use the sensor value for automations/scripts. It´s not available in the entity states. Is there any way to fix this? Also, as @hknkbp says, it would be great to see (an be able to use in automations) the distance, if possible. |
For me it was disabled, so I went to sensors, pressed "+8 entities not shown" and then enabled Iluminance. However, mine were ZY-M100-24G, so don't know if those new ones of yours will suffer the same. |
Yep, that was it! Thanks! |
how did you turn off the led indicator? was a tuya.valueConverter.divideByxx ever added to the converter for this device? I am on 2.1.0 and it seems to be reporting the raw illuminance lux value I changed my setting based on what I found here and will be testing |
Link
https://www.aliexpress.com/item/1005005909540714.html?gps-id=pcStoreNewArrivals&scm=1007.23409.271287.0&scm_id=1007.23409.271287.0&scm-url=1007.23409.271287.0&pvid=5175abbe-b739-46df-8ec7-c2c2a8f4c801&_t=gps-id:pcStoreNewArrivals,scm-url:1007.23409.271287.0,pvid:5175abbe-b739-46df-8ec7-c2c2a8f4c801,tpp_buckets:668%232846%238114%231999&pdp_npi=4%40dis%21MYR%21107.42%2175.21%21%21%2122.84%21%21%402101c59816919999368335919e0b96%2112000034805127430%21rec%21MY%21%21A&spm=a2g0o.store_pc_home.smartNewArrivals_2002856433204.1005005909540714
Database entry
{"id":67,"type":"Router","ieeeAddr":"0xa4c138f81e577a0c","nwkAddr":64592,"manufId":4417,"manufName":"_TZE200_2aaelwxk","powerSource":"DC Source","modelId":"TS0225","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,3,1280,57346,61184,60928,57344,1024],"outClusterList":[],"clusters":{"genBasic":{"attributes":{"zclVersion":3}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b00257cc7da","zoneState":0}},"msIlluminanceMeasurement":{"attributes":{"measuredValue":32770}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":130,"stackVersion":2,"hwVersion":1,"swBuildId":"0122052017","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1691999105436,"defaultSendRequestWhen":"immediate"}
Comments
Hi, just got this device from aliexpress recently and found that it is not supported in Z2M.
External converter
Supported color modes
No response
Color temperature range
No response
The text was updated successfully, but these errors were encountered: