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]: ZG-204ZM similar to ZG-204ZL #21919

Open
kravemir opened this issue Mar 23, 2024 · 45 comments
Open

[New device support]: ZG-204ZM similar to ZG-204ZL #21919

kravemir opened this issue Mar 23, 2024 · 45 comments
Labels
new device support New device support request

Comments

@kravemir
Copy link

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:

  • the presence attribute is always Nulls, even when motion state is large or small,
  • the motion state is always large (something detected) or small, but based on the definition file, there should be also none and medium values.

I am also not sure, if configuration options have any effect.

External definition

const {} = require('zigbee-herdsman-converters/lib/modernExtend');
// Add the lines below
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 {} = 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 = {
    zigbeeModel: ['TS0601'],
    model: 'TS0601',
    vendor: 'TuYa',
    description: 'Luminance motion sensor',
    fromZigbee: [tuya.fz.datapoints],
    toZigbee: [tuya.tz.datapoints],
    exposes: [
        e.presence(), e.illuminance().withUnit('lx'),
        e.numeric('large_motion_detection_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withUnit('x')
            .withDescription('Motion detection sensitivity'),
        e.numeric('large_motion_detection_distance', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(0.01).withUnit('m')
            .withDescription('Motion detection distance'),
        e.enum('motion_state', ea.STATE, ['none', 'small', 'medium', 'large']).withDescription('State of the motion'),
        e.numeric('fading_time', ea.STATE_SET).withValueMin(0).withValueMax(28800).withValueStep(1).withUnit('s')
            .withDescription('For how much time presence should stay true after detecting it'),
        e.numeric('medium_motion_detection_distance', ea.STATE_SET).withValueMin(0).withValueMax(6).withValueStep(0.01).withUnit('m')
            .withDescription('Medium motion detection distance'),
        e.numeric('medium_motion_detection_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withUnit('x')
            .withDescription('Medium motion detection sensitivity'),
        e.binary('indicator', ea.STATE_SET, 'ON', 'OFF').withDescription('LED Indicator'),
        e.numeric('small_detection_distance', ea.STATE_SET).withValueMin(0).withValueMax(6).withValueStep(0.01).withUnit('m')
            .withDescription('Small detection distance'),
        e.numeric('small_detection_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withUnit('x')
            .withDescription('Small detection sensitivity'),
    ],
    meta: {
        tuyaDatapoints: [
            [1, 'presence', tuya.valueConverter.trueFalse1],
            [2, 'large_motion_detection_sensitivity', tuya.valueConverter.raw],
            [4, 'large_motion_detection_distance', tuya.valueConverter.divideBy100],
            [101, 'motion_state', tuya.valueConverterBasic.lookup(
                {'none': tuya.enum(0), 'large': tuya.enum(1), 'medium': tuya.enum(2), 'small': tuya.enum(3)})],
            [102, 'fading_time', tuya.valueConverter.raw],
            [104, 'medium_motion_detection_distance', tuya.valueConverter.divideBy100],
            [105, 'medium_motion_detection_sensitivity', tuya.valueConverter.raw],
            [106, 'illuminance', tuya.valueConverter.raw],
            [107, 'indicator', tuya.valueConverter.onOff],
            [108, 'small_detection_distance', tuya.valueConverter.divideBy100],
            [109, 'small_detection_sensitivity', tuya.valueConverter.raw],
            // Not exposed DPs/untested
            // [103, 'motion_false_detection', tuya.valueConverter.raw],
            // [113, 'breathe_false_detection', tuya.valueConverter.raw],
            // [3, 'mov_minimum_distance', tuya.valueConverter.raw],
            // [110, 'micro_minimum_distance', tuya.valueConverter.raw],
            // [111, 'motionless_minimum_distance', tuya.valueConverter.raw],
            // [112, 'reset_setting', tuya.valueConverter.raw],
            // [114, 'time', tuya.valueConverter.raw],
            // [115, 'alarm_time', tuya.valueConverter.raw],
            // [116, 'alarm_volume', tuya.valueConverterBasic.lookup(
            //  {'low': tuya.enum(0), 'medium': tuya.enum(1), 'high': tuya.enum(2), 'mute': tuya.enum(3)})],
            // [117, 'working_mode', tuya.valueConverterBasic.lookup(
            // {'arm': tuya.enum(0), 'off': tuya.enum(1), 'alarm': tuya.enum(2),  'doorbell': tuya.enum(3)})],
            // [118, 'auto1', tuya.valueConverter.raw],
            // [119, 'auto2', tuya.valueConverter.raw],
            // [120, 'auto3', tuya.valueConverter.raw],
        ],
    },
};

module.exports = definition;
@kravemir kravemir added the new device support New device support request label Mar 23, 2024
@gijsh070
Copy link

gijsh070 commented Mar 25, 2024

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.

https://doc.szalarm.com/zg-205ZL/cntop_zigbee_sensor.js

@Koenkk
Copy link
Owner

Koenkk commented Mar 27, 2024

Breathing is also not supported by the converters in https://doc.szalarm.com/zg-205ZL/cntop_zigbee_sensor.js

@gijsh070
Copy link

You are right, i can see its not exposed DPs/untested. Hope it will get support in future. Thanks for your reply.

@Koenkk
Copy link
Owner

Koenkk commented Mar 28, 2024

@gijsh070 could you share your data/database.db entry of this device?

@gijsh070
Copy link

gijsh070 commented Mar 28, 2024

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}

@looked-github
Copy link

Zigbee2MQTT current version: 1.36.1-1
Currently "Motion state" only accepts "large" or "none" states. "small" and "static" are missing. “Fading time” does not seem to be adjustable. Illuminance requires approximately -99% adjustment.

@nvgame00
Copy link

nvgame00 commented May 13, 2024

Zigbee2MQTT current version: 1.36.1-1 Currently "Motion state" only accepts "large" or "none" states. "small" and "static" are missing. “Fading time” does not seem to be adjustable. Illuminance requires approximately -99% adjustment.

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

@gargamelonly
Copy link

gargamelonly commented May 13, 2024

I have this device reported as _TZE200_kb5noeto and ZG-204ZM with FW 0122052017
It is identified by Z2M [1.37.1] but I could not find a working setting to make it useful.
So far a useless device.

@heisenberg2980
Copy link

@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?

@gargamelonly
Copy link

@heisenberg2980
Set "Static detection sensitivity" to 10 (max), does not help.
What do you have for "Fading time" and "Static detection distance" ?

@heisenberg2980
Copy link

@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)

@truongbber
Copy link

a
error always Presence True status, I tried setting the sensitivity to the lowest, even though I moved out of the room, and the room does not have any devices causing interference, does anyone have a way to fix it?

@kevincaradant
Copy link

kevincaradant commented May 20, 2024

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."
Until here, it's the expected behavior.

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:
I discovered that if you set the fading time to less than 30 seconds, it switches to 'none' even if you're still here (not moving). Setting it to 30 seconds keeps it static even if I don't move for 2 minutes. Problem solved but maybe it should added into the documentation of the device: https://www.zigbee2mqtt.io/devices/ZG-204ZM.html

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?

@gargamelonly
Copy link

Exactly the same behavior here.
Something is wrong with it (_TZE200_kb5noeto (FW: 0122052017)).
Can't solve it.

@heisenberg2980
Copy link

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.

@nvgame00
Copy link

Seems _TZE200_2aaelwxk has different set of issues compared to _TZE200_kb5noeto, even tho they both have same fw

@truongbber
Copy link

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

@bruno-dogancic
Copy link

bruno-dogancic commented May 22, 2024

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

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.

@truongbber
Copy link

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

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

@BambamNZ
Copy link

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

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.

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

@mvadu
Copy link

mvadu commented May 29, 2024

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
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

well, smarthomescene article mentions _TZE200_2aaelwxk and we are dealing with _TZE200_kb5noeto, not sure i will blame him for this!

@BambamNZ
Copy link

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.

@heisenberg2980
Copy link

heisenberg2980 commented May 29, 2024

Seems _TZE200_2aaelwxk has different set of issues compared to _TZE200_kb5noeto, even tho they both have same fw

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

@truongbber
Copy link

I bought using all the links on AliExpress, they were all defective and useless

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
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

well, smarthomescene article mentions _TZE200_2aaelwxk and we are dealing with _TZE200_kb5noeto, not sure i will blame him for this!

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
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

well, smarthomescene article mentions _TZE200_2aaelwxk and we are dealing with _TZE200_kb5noeto, not sure i will blame him for this!

I bought using all the links on AliExpress, they were all defective and useless

@Koterak
Copy link

Koterak commented Jun 1, 2024

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.

@tipofthesowrd
Copy link

tipofthesowrd commented Jun 1, 2024 via email

@rolfvreijdenberger
Copy link

I have 2 of the _TZE200_kb5noeto
The issue I have is that i get a lot of false negatives (I am there, but the sensor detects 'none' as motion state, and goes to the 'away' state for presence) which makes it unreliable as a presence detector.
PIR works fine and then the initial large/static as well .
I have tried tweaking different settings, and release 1.38 introduced 2 new ones. the motion detection sensitivity seems to make a bit of a difference, but not sure yet (release was an hour ago :)) and for the detection mode (also new) I have filed a bug report.

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 :)

@pruvi9019
Copy link

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.

@papperone
Copy link

With latest Z2M 1.38.0-1 this device has 2 new parameters but one seems to be wrongly setup (see below error)
immagine

@Koterak
Copy link

Koterak commented Jun 2, 2024 via email

@papperone
Copy link

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 ;)

@kevincaradant
Copy link

kevincaradant commented Jun 2, 2024

#21919 (comment) @pruvi9019

Does setting 'Static detection sensitivity' to 0 mean that the 'Large', 'Static', and 'None' options work as expected? Or does it mean that the 'Static' option is no longer recognized, effectively turning it into a simple motion detector instead of a presence detector?

Your previous answer was unclear to me.

Thank you for your answer.

Note: I set it like that:
I don't know if it will be the best but for the moment, it seems works as expected ( but I tried it only since 2 days )
And as mentioned, I can't selected Radar mode due to the issue of Z2M.
image

@speedycars
Copy link

speedycars commented Jun 3, 2024

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

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 "static" or "none".
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. Seems like it was poorly soldered. I will test it for few more days though.

@Koterak
Copy link

Koterak commented Jun 3, 2024 via email

@speedycars
Copy link

@Koterak, this might be a different issue. My reply was mostly about the issue described by @bruno-dogancic.
Anyway, here is the photo of the re-soldered 3 points:
image

@Koterak
Copy link

Koterak commented Jun 5, 2024 via email

@speedycars
Copy link

Great to hear there is a significant improvement!
Mine stays stable too so far.

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.

@heisenberg2980
Copy link

@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

@speedycars
Copy link

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.

@bruno-dogancic
Copy link

Great to hear it! I will try to tinker with mine devices to see what will happen

@shartdain
Copy link

shartdain commented Jun 6, 2024

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"}

@kevincaradant
Copy link

Hi every one,

Is it only my device which is draining the battery ?

One battery for 2 weeks is so few :/
Screenshot_20240608-115658

The device is not responding anymore at 5% since today.

@shartdain
Copy link

shartdain commented Jun 8, 2024

Hi every one,

Is it only my device which is draining the battery ?

One battery for 2 weeks is so few :/ >
The device is not responding anymore at 5% since today.

My staying at 100% for a week now.

@shartdain
Copy link

shartdain commented Jun 8, 2024

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.
BTW: The printout on my devise board states it is ZG-204ZS v2.0 but the Zigbee2MQTT identified it as
Model: ZG-204ZM
firmware version: 0122052017
Description: PIR 24Ghz human presence sensor
Zigbee Model: TS0601
Zigbee Manufacturer: _TZE200_kb5noeto

It does have both PIR and HLK-LD2410 Human Presence Radar Sensors
(with the maximum sensing distance of 5 meters and the distance resolution of 0.75 m)
20240607_224916

@ArkadiuszNiemiec
Copy link

ArkadiuszNiemiec commented Jun 25, 2024

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.

20240626_010140

Edit: it works fine now, I assume the restart was all I needed.
The problem with presence status update taking a long time to update is known, right? There's no way to set it so it sets presence to false few seconds after I leave the room?

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

No branches or pull requests