[lumi.sensor_occupy.agl8 (PS-S04D) / Aqara] ???

Open
#33,635 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Start by locating the PS-S04D device definition and its exposes or configuration in the repository, then compare the reported endpoint clusters and behavior with nearby Aqara sensor definitions. The report gives no debug log, database entry, or reproduction steps, so first gather those details and inspect how the device enters its dormant state. Done means identifying why the settings stop working and confirming the fix with a reproducible device setup.

Written by the indexing model from the issue text.

Description

problem
What happened?

Once paired, only the presence detection and PIR features work; none of the other settings can be adjusted unless I delete the device and re-pair it—but even then, it reverts to a "dormant" state after a few minutes. I have integrated it using Z2M (Zigbee2MQTT 2.14.3.1) on Home Assistant (HASSOS version).

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.14.3 (unknown)

Adapter firmware version

{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20260310,"transportrev":2}

Adapter

ZStack3x0

Setup

os: #1 SMP PREEMPT_DYNAMIC Tue Oct 27 13:21:12 UTC 2026 - 6.18.58-haos - x64
node: v24.22.1
ha: true

Device database.db entry

No response

Debug log

No response

Notes
Device

definition: PS-S04D - Aqara (v0.0.2)
software_build_id: 0.0.0_6542
date_code: 20260515
endpoints:

{"1":{"bindings":[{"cluster":"manuSpecificLumi","target":{"endpoint":1,"ieee_address":"0x00124b0026d14762","type":"endpoint"}},{"cluster":"msIlluminanceMeasurement","target":{"endpoint":1,"ieee_address":"0x00124b0026d14762","type":"endpoint"}},{"cluster":"msRelativeHumidity","target":{"endpoint":1,"ieee_address":"0x00124b0026d14762","type":"endpoint"}},{"cluster":"msTemperatureMeasurement","target":{"endpoint":1,"ieee_address":"0x00124b0026d14762","type":"endpoint"}}],"clusters":{"input":["genMultistateInput","msIlluminanceMeasurement","msRelativeHumidity","msTemperatureMeasurement","genPowerCfg","genIdentify","genBasic","manuSpecificLumi"],"output":["genTime","genOta"]},"configured_reportings":[{"attribute":"attr0","cluster":"manuSpecificLumi","maximum_report_interval":3600,"minimum_report_interval":0,"reportable_change":1},{"attribute":"attr1","cluster":"manuSpecificLumi","maximum_report_interval":3600,"minimum_report_interval":0,"reportable_change":1},{"attribute":"measuredValue","cluster":"msIlluminanceMeasurement","maximum_report_interval":3600,"minimum_report_interval":10,"reportable_change":5},{"attribute":"measuredValue","cluster":"msRelativeHumidity","maximum_report_interval":3600,"minimum_report_interval":10,"reportable_change":100},{"attribute":"measuredValue","cluster":"msTemperatureMeasurement","maximum_report_interval":3600,"minimum_report_interval":10,"reportable_change":100}],"scenes":[]}}
Health

time: Sat Nov 07 2026 19:18:16 GMT+0100 (Ora standard dell’Europa centrale)
os.load_average: 0.01, 0.05, 0.08
os.memory_percent: 27.6209
process.memory_percent: 2.6368
process.uptime_sec: 15606

{"leave_count":0,"messages":200,"messages_per_sec":0.0128,"network_address_changes":0}
Dominant language
TypeScript
Stars
15.8k
Forks
2.1k
Avg merge
1d 6h
Merged PRs (30d)
38

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.