Iluminize 5128.10: inverted position, position jumps to 50 %, drive-back in tilt blind mode
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
- Domain
- backend, embedded-iot
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
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
currentPositionLiftPercentageis reported. - With
genLevelCtrl.currentLevelreporting, the position jumps to 50 % after every move. invert_coverdoes 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_coveris not needed.
How to reproduce it (minimal and precise)
- Pair an iluminize 5128.10 (firmware
2.5.3_r47) with the built-in definition. - Configure reporting for
closuresWindowCovering/currentPositionLiftPercentage. - Close the shutter (e.g.
{"position": 1}or{"state": "CLOSE"}). It moves down, but the reported position becomes 100 (open). - Optionally configure reporting for
genLevelCtrl/currentLevel: after each move the position jumps to ~50 %. - Enable
invert_cover: the display is correct now, but{"position": 100}closes the shutter. - On a device with
windowCoveringType8: sendgoToLiftPercentageto 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
currentPositionLiftPercentage1:1, ignoresgenLevelCtrl/genOnOffreports - Moves via
goToLiftPercentage/stop - Sets
goToTiltPercentageto 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
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Koenkk/zigbee2mqtt
-
Group Exposes always displays unknown state (?) despite valid group state being published via MQTTOpenproblem
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Koenkk/zigbee2mqtt#33925 ·
Maintainers usually reply within 1 day
-
problem
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Koenkk/zigbee2mqtt#33894 ·
Maintainers usually reply within 1 day
-
problem
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Koenkk/zigbee2mqtt#33892 ·
Maintainers usually reply within 1 day
-
problem
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Koenkk/zigbee2mqtt#33891 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Koenkk/zigbee2mqtt#33890 ·
Maintainers usually reply within 1 day
All issues in Koenkk/zigbee2mqtt
Similar issues
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainers usually reply within 1 day
-
area: middleware enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
agent/quality testing
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
juspay/agent-distro#203 ·
Maintainers usually reply within 1 day