IKEA STYRBAR (Remote Control N2): some units never send configured battery reports → marked offline after 25 h

Aperta
#33,914 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend

Direzione di ricerca

Start by reading the device converter and availability handling for the IKEA RODRET E2201, then check how battery reporting configuration and passive timeouts are applied. The report provides no source file or test path, so first locate those entry points and compare the silent units with the units that report. Done means reproducing or explaining the missing check-ins and addressing the false offline status for affected remotes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What happened?

I have five IKEA RODRET remotes ("Remote Control N2", E2201). Battery reporting is configured on all five: genPowerCfg.batteryPercentageRemaining on endpoint 1, maxRepIntval 65000 s (about 18 h).

Two of them have never sent a battery value (battery: null since pairing). Between button presses they send nothing at all. With the default passive availability timeout (1500 min) they are marked offline after 25 h without a press. In Home Assistant every entity of the remote then becomes unavailable, even though the remote works fine on the next press.

Remote Firmware (installed_version) meta.configured Battery Behaviour
A 33816598 332242049 95 reports, stays online
B 33816598 0.0.0 100 reports, stays online
C 33816599 0.0.0 85 reports, stays online
D 33816599 332242049 null silent between presses → offline after 25 h
E 33816599 332242049 null silent between presses (rarely used)

Example: remote D was last seen 2026-12-01 09:33 UTC and went offline the next day. It is used only a few times a week. Link quality at its last message was 81, so range is not the problem.

The firmware version is not the deciding factor: C has the same firmware as D/E and reports fine. All were paired normally and the interviews completed.

What did you expect to happen?

Either:

  • the configured battery report arrives at least every ~18 h, so the remote checks in and stays online; or
  • if RODRET firmware is known to drop configured reports, Z2M uses a longer default availability timeout for remotes that only talk on a button press. Marking a working remote "offline" in HA after one quiet day creates false alarms.

For now I set a per-device availability: {timeout: 10080} on the RODRETs. That works, but every user has to discover it.

How to reproduce it (minimal and precise)
  1. Pair a RODRET. Battery reporting is configured by the converter.
  2. Do not press it for more than 25 h.
  3. On some units, battery stays null and the device goes offline.
Zigbee2MQTT version

2.14.4 (zigbee-herdsman 11.3.0, zigbee-herdsman-converters 26.139.0)

Adapter firmware version

SLZB-06 (CC2652P), Z-Stack 20260311

Adapter

SLZB-06 over TCP (zstack)

Setup

Docker, Home Assistant 2026.12.0 via MQTT discovery

Device database.db entry

modelId: "Remote Control N2", dateCode: "20240725", appVersion: 1, stackVersion: 106, powerSource: "Battery"; configuredReportings: [{cluster: 1, attrId: 33, maxRepIntval: 65000}]

Notes

I can't tell whether the two silent units ignore the configured report or never received the configuration (meta.configured is the same as on the working unit A). I'm happy to run a reconfigure while pressing a button and report back.

Lingua principale
TypeScript
Stelle
15.9k
Fork
2.1k
Merge medio
12h 11m
PR unite (30g)
32

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Koenkk/zigbee2mqtt

Tutte le issue di Koenkk/zigbee2mqtt

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.