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

Open
#33,914 4 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
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

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.