Iluminize 5128.10: inverted position, position jumps to 50 %, drive-back in tilt blind mode

Open
#33,888 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
Half a day
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Start with the built-in Zigbee2MQTT definition for the iluminize 5128.10 and compare it with the linked working external converter. Trace the currentPositionLiftPercentage, genLevelCtrl.currentLevel, goToLiftPercentage, and tilt percentage behavior, including roller shade and tilt blind modes. Done means movement and reported position use consistent channels, position does not jump to 50%, and tilt blind mode does not drive back after reaching the target.

Written by the indexing model from the issue text.

Description

problem
What happened?

With the built-in definition, the iluminize 5128.10 roller shutter actuator shows the wrong position and behaves inconsistently:

  • Position is inverted (shown as open when the shutter is closed and vice versa) as soon as currentPositionLiftPercentage is reported.
  • With genLevelCtrl.currentLevel reporting, the position jumps to 50 % after every move.
  • invert_cover does not help, because it inverts both reading and moving.
  • Devices in tilt blind mode drive back by ~7 % after reaching the target.
Findings (measured on the device)

Firmware 2.5.3_r47, Zigbee2MQTT 2.14.3, 11 devices.

Topic Observed
closuresWindowCovering.currentPositionLiftPercentage Reported as openness: 0 = closed, 100 = open (opposite of the Zigbee spec).
genLevelCtrl.currentLevel Command channel, not a position: 1–30 % = down, 31–69 % = stop, 70–100 % = up; falls back to ~127 after each move (matches the manual).
goToLiftPercentage Works; target is interpreted as openness and the reported position matches.
windowCoveringType 0 (roller shade) or 8 (tilt blind) depending on how the device was calibrated. Read-only via Zigbee (NOT_AUTHORIZED). Pressing the Calib. button twice switches to roller shade.
Tilt in mode 8 After every move the device applies the stored tilt (currentPositionTiltPercentage). Tilt 100 → drive-back after moving down, tilt 0 → drive-back after moving up. A tilt matching the travel direction avoids it. Mode 0 ignores the tilt.

The current definition moves via tz.cover_via_brightness but reads via fz.cover_position_tilt with the standard mapping, so moving and reading use different, contradicting channels.

What did you expect to happen?
  • The reported position matches the physical position (100 = open, 0 = closed).
  • The position does not jump to 50 % after a move.
  • The shutter stops at the requested position without driving back, also in tilt blind mode.
  • Moving and reading use consistent channels, so invert_cover is not needed.
How to reproduce it (minimal and precise)
  1. Pair an iluminize 5128.10 (firmware 2.5.3_r47) with the built-in definition.
  2. Configure reporting for closuresWindowCovering / currentPositionLiftPercentage.
  3. Close the shutter (e.g. {"position": 1} or {"state": "CLOSE"}). It moves down, but the reported position becomes 100 (open).
  4. Optionally configure reporting for genLevelCtrl / currentLevel: after each move the position jumps to ~50 %.
  5. Enable invert_cover: the display is correct now, but {"position": 100} closes the shutter.
  6. On a device with windowCoveringType 8: send goToLiftPercentage to an intermediate value while moving down; after reaching it the shutter drives back up by ~7 %.
Zigbee2MQTT version

2.14.3

Adapter firmware version

20250321

Adapter

Sonoff ZBDongle-P (CC2652P, ZStack3x0)

Setup

Add-on on Home Assistant OS (VM on Proxmox)

Device database.db entry

No response

Debug log

No response

Notes
Working external converter

https://github.com/riede/z2m-iluminize-5128

  • Reads currentPositionLiftPercentage 1:1, ignores genLevelCtrl/genOnOff reports
  • Moves via goToLiftPercentage / stop
  • Sets goToTiltPercentage to match the travel direction before each move (fixes the drive-back in tilt blind mode)
  • Configures lift reporting

Tested with devices in both modes, single devices and Zigbee groups.

Open question

I only have firmware 2.5.3_r47 (OTA file version 47). Zigbee2MQTT offers no newer OTA image for this device (installed_version = latest_version = 47), so I cannot test other firmware versions. If other firmware versions report the lift percentage according to the spec, a firmware-dependent switch or an option would be needed. Happy to test changes.

Related

#32926 (tilt support request for the same device). The findings above show that goToTiltPercentage / currentPositionTiltPercentage work in tilt blind mode (windowCoveringType 8).

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.