zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

MINI-ZBRBS: Missing States 'opening' and 'closing'

Open Timo-1979 opened this issue 10 months ago • 6 comments

What happened?

Only the states OPEN and CLOSE are available. The states "OPENING" and "CLOSING" are not reported while the motor is running.

What did you expect to happen?

When the motor is running the state of the shutter should be "OPENING" or "CLOSING".

How to reproduce it (minimal and precise)

Assumption: The shutter is closed and the status is now "CLOSED" - Position at 0%. Set the position to 50%. The state changes now to "OPEN". If the position is at 50%. Set the state to 0%. The state remains in "OPEN". If the shutter is closed (reached the 0% position) - the state changes to "CLOSED".

Zigbee2MQTT version

2.8.0

Adapter firmware version

7.4.4 [GA]

Adapter

EmberZNet

Setup

Add-on Home-Assistant OS on Proxmox VM

Device database.db entry

No response

Debug log

No response

Notes

MINI-ZBRBS

  • Firmware-ID: 1.1.0 - 20251209
  • Firmware-Version: 4352

Timo-1979 avatar Feb 02 '26 20:02 Timo-1979

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Apr 04 '26 00:04 github-actions[bot]

It would be nice if somebody takes a look on this problem

Timo-1979 avatar Apr 04 '26 08:04 Timo-1979

I don't think the device reports those states. But I'm tagging @cubez2mdeveloper in case they want to check

andrei-lazarov avatar Apr 04 '26 10:04 andrei-lazarov

The device has a motor run status with "stop", "forward" (when opening) and "reverse" (when closing). I think this could be used together with the status.

Timo-1979 avatar Apr 05 '26 08:04 Timo-1979

Hi @Timo-1979, thanks for the additional details.

You are right that the device exposes a separate motor_run_status (stop / forward / reverse), so the information is available on the device side.

The difficulty is that in the current Zigbee2MQTT cover model, state is used both as a writable command (OPEN / CLOSE / STOP) and as the reported cover state. Because of that, we cannot simply add OPENING / CLOSING to state, as this would also make them writable values, which would be incorrect. So this is not just a simple device-specific converter mapping issue.

For now, motor_run_status remains exposed as a separate value, but it is not mapped to state.

Given the required model changes, this is not something we expect to address in the near term. That said, the extra details you provided were helpful for understanding the limitation more clearly.

If you have additional suggestions for how this could be handled in a clean way within the current model, feel free to share them here.

CubeZ2mDeveloper avatar Apr 07 '26 06:04 CubeZ2mDeveloper

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jun 07 '26 00:06 github-actions[bot]