Open kravemir opened 5 months ago
Здравствуйте, у меня ZG-204ZM (_TZE200_kb5noeto) с прошивкой 0122052017, использующей Z2M 1.39.0-1. Обнаружение присутствия, похоже, вообще не работает, только в режиме PIR (который у меня уже есть). В комбинированном режиме он зависает в "статическом" состоянии. Если я переключу режим обнаружения на радар, он никогда не покажет движение/присутствие... Можно ли это решить с помощью упомянутой перепайки контактов? Или его просто невозможно заставить работать, поэтому мне следует поискать другой радар присутствия? Большое спасибо за ответ.
Моя текущая конфигурация «Обнаружение PIR работает» от Z2M: { "battery": 100, "fading_time": 30, "illuminance_lux": 0, "indicator": "ON", "linkquality": 96, "motion_detection_mode": "pir_and_radar", "motion_detection_sensitivity": 0, "motion_state": "none", "presence": false, "static_detection_distance": 8, "static_detection_sensitivity": 0 }
Same problem. Did you solve it?
Здравствуйте, у меня ZG-204ZM (_TZE200_kb5noeto) с прошивкой 0122052017, использующей Z2M 1.39.0-1. Обнаружение присутствия, похоже, вообще не работает, только в режиме PIR (который у меня уже есть). В комбинированном режиме он зависает в "статическом" состоянии. Если я переключу режим обнаружения на радар, он никогда не покажет движение/присутствие... Можно ли это решить с помощью упомянутой перепайки контактов? Или его просто невозможно заставить работать, поэтому мне следует поискать другой радар присутствия? Большое спасибо за ответ. Моя текущая конфигурация «Обнаружение PIR работает» от Z2M: { "battery": 100, "fading_time": 30, "illuminance_lux": 0, "indicator": "ON", "linkquality": 96, "motion_detection_mode": "pir_and_radar", "motion_detection_sensitivity": 0, "motion_state": "none", "presence": false, "static_detection_distance": 8, "static_detection_sensitivity": 0 }
Same problem. Did you solve it?
Hello, it magically started working, there are few problems - sometimes presence detection not working, only motion, but overal it 70% works.. :D
Hello. I have ZG-204ZS v2.1, how add support to zigbee2mqtt 1.39.1 ?
I’ve got the kb5noeto version one. Detection works quite well actually, but it takes forever (sometimes up to 5 minutes) before it clears “Presence” to false" and “Motion state” to none.
Replaced the batteries today. After 5 months it dropped to 10% so I guess 6 month battery life, as stated by the specification, is ok.
https://github.com/Koenkk/zigbee2mqtt/issues/21919#issuecomment-2351060870
I've needed to replace them almost every month until now. I used duracell and energizer with the same problem. Bad luck perhaps? There I switched to rechargeable batteries. They are almost 1 month old for now, it still works. I'll see if I make it to 2 months 🤣
Edit: Battery just die now , am I cursed ? Daim that's crazy. Just one month ( less battery with rechargeable batteries but at least they are rechargeable )
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