dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 498 forks source link

Debounce device updates (Homekit Control) #7687

Closed unstressable closed 6 months ago

unstressable commented 6 months ago

Does the issue really belong here?

Is there already an existing issue for this?

Describe the bug

Would be nice to have an option to debounce commands, because Homekit sends device updates very fast.

For example when changing a groups brightness from 1% to 100% Homekit sends somethin like 10%, 27%, 55%, 88% 100% very very quick.

It seems to cunfuse deconz, because some commands are lost after this operation.

Would be the best to have a checkbox to send commands only to deconz if it is more than about 500ms unchanged.

Steps to reproduce the behavior

anything is described above

Expected behavior

anything is described above

Screenshots

No response

Environment

Miniserver, Conbee 2, iobroker, deconz, Ubuntu, everythin up-to-date

deCONZ Logs

No response

Additional context

No response

Mimiix commented 6 months ago

Hi feature requests are collected on the forums.

As this is not a bug as described in #5113 I am closing this issue

ebaauw commented 6 months ago

IMHO this should be handled by the API client, not by the API itself. In Homebridge deCONZ, this is even configurable through waitTimeUpdate.