Detection distance min won't work on TS0601 presence sensor

Closed
#33,919 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend

Research direction

Start by finding the TS0601 ZY-M100-24GV3 device definitions for models _TZE200_gkfbdvyx and _TZE204_gkfbdvyx, then trace how the Detection distance Min setting is exposed and handled. Compare that path with Detection distance Max, which the report says works; done means changing the minimum distance affects presence detection at the selected 1, 2, and 3 meter settings.

Written by the indexing model from the issue text.

Description

problem
What happened?

I'm trying to use the Detection distance Min on two presence sensors TS0601.
Definition (Zigbee2MQTT) ZY-M100-24GV3] Model _TZE200_gkfbdvyx
Definition (Zigbee2MQTT) ZY-M100-24GV3] Model _TZE204_gkfbdvyx
but the setting is just ignored and the State and the Presence are detected regardless the distance set 1,2,3 meters
just don't do any difference. The Distance Detection Max works instead fine!
Zigbee2MQTT Current version: 2.14.4-1

Any help is welcome!!

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.14.4-1

Adapter firmware version

Revision: 9.1.0 [GA]

Adapter

SONOFF Dongle Max MG24

Setup

Home Assistant 2026.12.0 on Raspberry PI 5

Device database.db entry

No response

Debug log

No response

Notes

No response

Dominant language
TypeScript
Stars
15.9k
Forks
2.1k
Avg merge
12h 11m
Merged PRs (30d)
32

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Koenkk/zigbee2mqtt

All issues in Koenkk/zigbee2mqtt

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.