-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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]: ZG-204ZM similar to ZG-204ZL #21919
Comments
I also got this to somehow work for ZG-204ZM, but i dont see any entitities about breathing, do you? I think in Tuya app this is exposed. @Koenkk do you know if this is supported in the converter? I found this one which is apparently provided by the seller. |
Breathing is also not supported by the converters in https://doc.szalarm.com/zg-205ZL/cntop_zigbee_sensor.js |
You are right, i can see its not exposed DPs/untested. Hope it will get support in future. Thanks for your reply. |
@gijsh070 could you share your data/database.db entry of this device? |
I got a .js file from the seller but it seems like its the same as i send before. I bought 2 of these devices. @Koenkk is this the info you meant? Im quite new to mqtt so let me know if provided wrong info. From db: {"id":59,"type":"EndDevice","ieeeAddr":"0xa4c138a3a5310ec8","nwkAddr":21396,"manufId":4742,"manufName":"_TZE200_2aaelwxk","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,3,1280,1,1024],"outClusterList":[],"clusters":{"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200,"batteryVoltage":30}},"msIlluminanceMeasurement":{"attributes":{"measuredValue":1}},"genBasic":{"attributes":{"modelId":"TS0601","manufacturerName":"_TZE200_2aaelwxk","powerSource":3,"zclVersion":3,"appVersion":144,"stackVersion":2,"hwVersion":1,"swBuildId":"0122052017"}},"ssIasZone":{"attributes":{"iasCieAddr":"0xe0798dfffeb3d1da","zoneState":0}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":144,"stackVersion":2,"hwVersion":1,"swBuildId":"0122052017","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1711648444843} |
Zigbee2MQTT current version: 1.36.1-1 |
Same with 1.37.1 - “Fading time” is always ~1sec making device quite useless. Also doesn't seem any other sliders have any effect. Motion only goes from 'large' to 'none', never 'static'. _TZE200_2aaelwxk / fw: 0122052017 |
I have this device reported as _TZE200_kb5noeto and ZG-204ZM with FW 0122052017 |
@gargamelonly I have this device with the exact same values and FW and it is working as expected (except the issues mentioned in this thread). I changed the sensitivity to 10 (not sure if that makes any difference), and it detects motion using the PIR, and then it keeps the presence variable as ON while the presence is detected by the mmwave sensor, aren´t you experiencing the same behaviour? |
@heisenberg2980 |
@gargamelonly I am not sure if changing any of the settings does anything at the moment, but I didn´t change the other values so I have the default settings (fading time = 30s, static detection distance = 6m) |
Hi I have the same device as @gargamelonly , and it mostly works as expected ( almost but not fully ). However, I noticed that if I don't move for 10 seconds with the fading time set to 10 seconds, the state changes from "large" to "static." But a few seconds later, it shifts to "none." I thought the device would stay at "static" until I left the room, but that's not the case. So, for me, it behaves more like a regular detection sensor rather than a presence sensor. :( Has anyone else experienced this issue with _TZE200_kb5noeto (FW: 0122052017)? EDIT: However, I noticed another issue: the device sends one message every second, sometimes two messages in the same second. This spams the network and drains the battery quickly. How can I limit the messages from the device to avoid spam? |
Exactly the same behavior here. |
I have this device, and apart from some small issues where the device started reporting motion when there was nobody around, I was pretty happy as these small issues seem to be fixed just moving the sensor to a slightly different position. I installed this sensor in the cloakroom, thinking it would be the perfect replacement for my aqara motion sensor, but unfortunately after couple of days working without any issue, the sensor has started reporting false movements all the time. I am not sure what the reason could be, but it is pretty random for me as I have not touched the position of the sensor and it is pointing at the same exact spot it was pointing before. |
Seems _TZE200_2aaelwxk has different set of issues compared to _TZE200_kb5noeto, even tho they both have same fw |
Is there any way to replace _TZE200_kb5noeto to _TZE200_2aaelwxk? In tuya application, the code _TZE200_2aaelwxk has version 2.1 and _TZE200_kb5noeto has version 2.1.1 |
Hey there, I've been testing the device and it stays "Presence: True" and "Motion state: large" all the time no matter the parameters (currently 35s, 5.5m and 10x). I tried restarting the device and re-paring, no changes. Is the device broken and is someone else having the same behaviour? Device description: Update: I have recieved another ZG-204ZM from another seller and this one seems to work. I haven't tested it yet to confirm if it really works or if it is just changing states unlike the first one. |
I know the product through smarthomescene, it seems like smarthomescene received money to advertise a trash product |
Same issues - no matter which setting you tweak it detects presence after you install the batteries and no amount of tweaking of settings get it to clear the presence. Motion_State changes between "Large" & "Static" but never goes to "None" which is suspect is why occupancy value remains "1" and not changes to "0" I opened mine and 1 visual difference from pictures on SmartHomeScence.com is that mine shows V2.1 versus the a date code on the pictures |
well, smarthomescene article mentions |
I used the link in the article to purchase and received a different unit from the review, so it is more on the AliExpress seller. It is disappointing but can only put it down as a learning experience at this point. |
Wait a minute, the same exact device comes from two different manufacturers, and they even have different issues? this is getting interesting, and much more complex to debug/fix! Basically people will always have to check the manufacturer when they open or review an issue for this device, as it might not apply to the other manufacturer. In my case, with a _TZE200_kb5noeto, the device is reporting presence 100% of the time, so it is pretty useless at the moment, hoping that we are able to fix it as some point, as the device itself looks really promissing |
I bought using all the links on AliExpress, they were all defective and useless
I bought using all the links on AliExpress, they were all defective and useless |
I have 9 of this sensors - 8 are _TZE200_kb5noeto and 1 is _TZE200_2aaelwxk. For about 2 weeks I had problem with 2 of _TZE200_kb5noeto. It keeps showing presence. But I found that for one it was enough to just took batteries out for minute and it started working. For second I had to repair it and point to place where there is no movement to got to state presence false. And it started to work now. But sometimes it works for one day, or for hour. I don't think that there is hardware issue here, but I think that there must be something with communication. |
Good to know; Mine also shows presence true and false (kb5noeto) but seems
very hit and miss regarding distance / fade time / etc.
Only way to get something useful from this would be to compare with the
Tuya zigbee hub imo
Op za 1 jun 2024 om 11:32 schreef Koterak ***@***.***>:
… I have 9 of this sensors - 8 are _TZE200_kb5noeto and 1 is
_TZE200_2aaelwxk. For about 2 weeks I had problem with 2 of
_TZE200_kb5noeto. It keeps showing presence. But I found that for one it
was enough to just took batteries out for minute and it started working.
For second I had to repair it and point to place where there is no movement
to got to state presence false. And it started to work now. But sometimes
it works for one day, or for hour. I don't think that there is hardware
issue here, but I think that there must be something with communication.
—
Reply to this email directly, view it on GitHub
<#21919 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEDLMD4AS4FEA5ZCWJD7P7TZFGIMDAVCNFSM6AAAAABFE274JWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGM3TSOJRHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I have 2 of the _TZE200_kb5noeto The device seems to hold a lot of promise (batteries/mmwave/good adjustability/cheap) but fails to deliver so far. I hope for better integration/firmware update, whatever makes it work :) |
The device works perfectly fine with the Tuya app using a Tuya Zigbee gateway. However, I encountered the same issues mentioned by others. I noticed that setting 'Static detection sensitivity' to 0 allows 'Presence' detection to work normally. I hope someone figures out a solution soon because I bought six of them from AliExpress. |
Yees, I already opened second report - there is wrong letter - "Dadar"
instead of "Radar"
niedz., 2 cze 2024 o 16:40 papperone ***@***.***> napisał(a):
… With latest Z2M 1.38.0-1 this device has 2 new parameters but one seems to
be wrongly setup (see below error)
immagine.png (view on web)
<https://github.com/Koenkk/zigbee2mqtt/assets/28104633/f926efde-ca41-404f-a078-e4940fc1f9a3>
—
Reply to this email directly, view it on GitHub
<#21919 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOZYCBJYUQ4OXERUVTOGILZFMVHFAVCNFSM6AAAAABFE274JWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTHA4DENJXGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
the issue is also the fact that the text passed is not the one expected, e.g. "Only PIR" instead of "only_pir", on top of the typo you mentioned ;) |
Just experienced the same "stuck-to-large" situation for the last couple of days. No matter what I did with the sensor, it never changed back to "static" or "none". |
Firstly I tried the same. But I found out that (for me) it started to work
when I pull batteries out for 1/2 minutes. 8 of sensors are working good so
far - when it got stuck I have just restart them (got problems with 2 so
far, others are working fine). But last obe sensor have problem every few
hours. But maybe send photo which solder joints you resoldered? Maybe I
resoldered others and will try same as you
W dniu pon., 3.06.2024 o 14:38 speedycars ***@***.***>
napisał(a):
… large
Hey there, I've been testing the device and it stays "Presence: True" and
"Motion state: large" all the time no matter the parameters (currently 35s,
5.5m and 10x). I tried restarting the device and re-paring, no changes. Is
the device broken and is someone else having the same behaviour?
Device description: Zigbee Model: TS0601 Zigbee Manufacturer:
_TZE200_kb5noeto Firmware version: 0122052017 Model: ZG-204ZM
<https://www.zigbee2mqtt.io/devices/ZG-204ZM.html#tuya-zg-204zm>
Update: I have recieved another ZG-204ZM from another seller and this one
seems to work. I haven't tested it yet to confirm if it really works or if
it is just changing states unlike the first one.
Just experienced the same "stuck-to-large" situation for the last couple
of days. No matter what I did with the sensor, it never changed back to
large.
I was thinking about it - if it's stuck to "large" then the PIR module
should be falsely reporting this. Opened the case and re-soldered the 3
points on its back. Right after I put in batteries, it started acting like
it should. I will test it for few more days though.
—
Reply to this email directly, view it on GitHub
<#21919 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOZYCDUGDOY3A224KYWPLLZFRPTRAVCNFSM6AAAAABFE274JWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVGA4TSMZVGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@Koterak, this might be a different issue. My reply was mostly about the issue described by @bruno-dogancic. |
Interesting, tried to resolder this pins too - today it’s second day when
device is working allright. Before it was getting stuck after few hours.
W dniu wt., 4.06.2024 o 11:17 speedycars ***@***.***>
napisał(a):
… @Koterak <https://github.com/Koterak>, this might be a different issue.
My reply was mostly about the issue described by @bruno-dogancic
<https://github.com/bruno-dogancic>.
Anyway, here is the photo of the re-soldered 3 points:
image.png (view on web)
<https://github.com/Koenkk/zigbee2mqtt/assets/36267359/8f3d42fd-725b-4026-a4ac-b44a8cc98d7c>
—
Reply to this email directly, view it on GitHub
<#21919 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOZYCETSL3JCVRDA22HAFDZFWA4LAVCNFSM6AAAAABFE274JWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXGAZDMNZVGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Great to hear there is a significant improvement! Just a quick tip: If you got a screenshot from HA (History) where the "motion_state" attribute stays at "large" for hours, the aliexpress would provide a refund (hope that will help in improving the soldering quality). It took me some time to convince them I cannot do a video to proof my testing process as this is just a sensor and there are no visible signs on its hardware if it's working fine or not and that behavior is totally random, but in the end they agreed. |
@speedycars that's a very good idea, if we request the refund from Aliexpress hopefully the seller will improve the design pretty quickly. Just a quick question, has anyone had the same issue with the Tuya app? I don´t think there will be any difference as it seems a hardware issue, but just wondering if anyone has tried if the same issue happens using the Tuya app |
I don't have a Tuya gateway anymore, never had a chance to test there. But, yes, I don't believe there will be any difference. |
Great to hear it! I will try to tinker with mine devices to see what will happen |
I ran MQTTX to see if it communicates at all. It goes silent for a long period. I think it could be software issue. Do we know if there a firmware update? Sending the set command to the queue {"motion_detection_mode": "PIR+Dadar"} gives the error: {"level":"error","message":"No converter available for 'motion_detection_mode' ("PIR+Dadar")","namespace":"z2m"} |
My staying at 100% for a week now. |
Thank you @speedycars for a tip for resoldering the 3 pins!!! Once I have done it, it has stayed stable for a couple of days now. Still can not change the motion_detection_mode. Will see if the firmware update (if it ever becomes available) solves the issue. It does have both PIR and HLK-LD2410 Human Presence Radar Sensors |
I have V2.1. It was getting stuck, so I gave up. Guess I will power it on again and resolder if it gets stuck again. Edit: it works fine now, I assume the restart was all I needed. |
Link
https://www.aliexpress.com/item/1005006492967626.html
Database entry
{"id":37,"type":"EndDevice","ieeeAddr":"0xa4c13835d225271e","nwkAddr":21969,"manufId":4098,"manufName":"_TZE200_2aaelwxk","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,3,1280,1,1024],"outClusterList":[],"clusters":{"genBasic":{"attributes":{"modelId":"TS0601","manufacturerName":"_TZE200_2aaelwxk"}},"ssIasZone":{"attributes":{"iasCieAddr":"0xe0798dfffed3b030","zoneState":0}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200,"batteryVoltage":26}},"msIlluminanceMeasurement":{"attributes":{"measuredValue":32546}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":144,"stackVersion":2,"hwVersion":1,"swBuildId":"0122052017","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1711218578185}
Comments
I ordered both variants, the PIR Infrared variant and the 24GHz radar variant from the AliExpress link.
Common manual for both specifies ZG-204ZS/ZG-204ZM as model names. And, that only ZG-204ZM has 24GHz sensor.
I disassembled both, and both of them have written ZG-204ZS on the PCB, but the 24GHz variant has got extra circuitry attached to it, looks like the 24GHz radar.
The PIR Infrared variant (ZG-204ZS) is detected as ZG-204ZL in Zigbee2MQTT.
The 24GHz radar variant (ZG-204ZM) is not yet supported by Zigbee2MQTT.
Now, the confusing part
At first, I tried to base definition on ZL-204ZL - https://github.com/Koenkk/zigbee-herdsman-converters/blob/14dffaa06511876d096aa72e669df4b032f4cf33/src/devices/tuya.ts#L5627-L5655, and nothing worked, not even illuminance report.
Then, I tried to base definition ZG-205Z/A (_TZE200_2aaelwxk), and illuminance and motion state started to work.
It works somewhat okay-ish with two obvious caveats:
I am also not sure, if configuration options have any effect.
External definition
The text was updated successfully, but these errors were encountered: