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

Aperta
#33,928 0 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
54/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

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.

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

Descrizione

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.

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.