SONOFF Fusion Orb-ZBRBS — Open/Close direction reversed while percentage control works

Open
#33,928 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
54/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start by reading the converter change in commit e9437ee and inspect how window-covering commands, direction reports, invert_cover, and per-device options are handled. Compare the affected and working MINI-ZBRBS behavior, then evaluate the reported override while preserving percentage control, Stop, and endpoint feedback. Done means the direction labels and Open/Close actions match physical movement without regressing those behaviors; edge hardware testing is still pending.

Written by the indexing model from the issue text.

Description

problem
What happened?

On two SONOFF Fusion Orb-ZBRBS switches (MINI-ZBRBS-E, detected as MINI-ZBRBS), Open lowers the shutter and Close raises it. Home Assistant’s Opening/Closing labels are also reversed. Both units use invert_cover: true, and percentage targets and endpoint feedback work in the expected direction. A third unit on the same firmware (4609) responds correctly to the same upOpen command.

What did you expect to happen?

Open should raise the shutter, Close should lower it, and the movement labels should match the physical direction. I’d like to correct those behaviors while preserving percentage control and endpoint feedback.

How to reproduce it (minimal and precise)
  1. Start with an affected shutter partway open, using the stock converter.
  2. In Zigbee2MQTT, open the device’s Exposes tab and press Open, then Stop. The shutter moves down.
  3. Press Close, then Stop. The shutter moves up.
  4. Repeat on the working unit. It moves in the expected directions.
Zigbee2MQTT version

2.14.4

Adapter firmware version

20221226

Adapter

Sonoff ZBDongle-P (Z-Stack (ZStack3x0))

Setup

Zigbee2MQTT add-on on Home Assistant OS (x86_64), running in a Proxmox VM. Kernel: 6.18.58-haos.

Device database.db entry

No response

Debug log

Stock Zigbee2MQTT 2.14.4, both units in this excerpt reported firmware 4609.

12:13:34 [affected] ZCL command closuresWindowCovering.downClose
Observed: shutter moved up; reported position 75% → 90%.
12:13:41 [affected] ZCL command closuresWindowCovering.upOpen
Observed: shutter moved down; reported position 90% → 71%.
12:57:31 [working] ZCL command closuresWindowCovering.upOpen
Observed: shutter moved up; reported position 88% → 98%.

Both units stopped when sent closuresWindowCovering.stop.

Notes

The built-in buttons work as mounted. Wiring and mounting orientation are unverified. A per-device converter that swaps Open/Close commands and forward/reverse reports fixed both affected units while preserving Stop and percentage control.

Since e9437ee (https://github.com/Koenkk/zigbee-herdsman-converters/commit/e9437ee) deliberately separated Open/Close commands from invert_cover, is there a supported way to correct this per device? Would a separate opt-in setting be appropriate? I can share the tested override.

Reproduced on 2.14.4. Dev e90885e7 pins the same converter (26.139.0). Edge hardware testing is pending.

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.