Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.76k stars 1.64k forks source link

Presence sensor reports presence all the time (_TZE204_ztqnh5cg) #23373

Open petepal opened 1 month ago

petepal commented 1 month ago

What happened?

A while ago, both my _TZE204_ztqnh5cg started to report presence at all times.

{
    "detection_delay": 1,
    "fading_time": 5,
    "illuminance_lux": 249,
    "linkquality": 96,
    "maximum_range": 5,
    "minimum_range": 0.5,
    "presence": true,
    "radar_sensitivity": 7,
    "target_distance": 0
}

In HA it reports statuses like "Home" and "Away" (instead of detect presence true / false).

Any ideas on how to debug?

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.39.0-1

Adapter firmware version

7.4.3 [GA]

Adapter

Skyconnect, ember

Setup

Add on on HA, set up as Proxmox's VM

Debug log

[2024-07-19 09:55:03] debug:    z2m: Received Zigbee message from '[Kuchnia] Czujnik obecności', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,0],"type":"Buffer"},"datatype":2,"dp":9}],"seq":33337}' from endpoint 1 with groupID 0
[2024-07-19 09:55:03] info:     z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/[Kuchnia] Czujnik obecności', payload '{"detection_delay":1,"fading_time":5,"illuminance_lux":252,"linkquality":96,"maximum_range":5,"minimum_range":0.5,"presence":true,"radar_sensitivity":7,"target_distance":0}'
kamashkin commented 1 month ago

Have the same issue

image
negmos commented 1 day ago

Same for me :(.. i have like 5 of them, and only one is reporting correctly!! The rest are always True!

negmos commented 1 day ago

I tried with 1.40.1 and also with different adapters (Zigstar, SMlight) and the same result :(

Koenkk commented 3 hours ago

Could you provide the debug log when triggering presence on the device? (keep it as small as possible, start capturing, trigger presence, wait 5 secs, stop capturing logs)

See this on how to enable debug logging.