Hue + 6x bulbs in group - painfully slow response time

Hello again,

I have Phillips Hue bridge (v2) connected to OpenHab/testing 2.5.0-1 running on Raspberry Pi 3+.
I also have ~20 lights connected to the bridge and configured in OpenHab - lets focus only on one room.

Group:Dimmer:AVG DaniksRoom_Lights "Lights brightness [%d]" <light> (DaniksRoom, Lights) { autoUpdate="false" }

Color danik_rightLamp__color "Right lamp" <colorpicker> (DaniksRoom_Lights, DaniksRoom_FrontLights, DaniksRoom_RgbLights) { channel="hue:0210:*************:danik_rightLamp:color" }
Dimmer danik_rightLamp__colorTemperature "Right lamp - temperature" <heating> (DaniksRoom_LightTemperatures) { channel="hue:0210:*************:danik_rightLamp:color_temperature" }
String danik_rightLamp__alert "Right lamp - alert" <alarm> { channel="hue:0210:*************:danik_rightLamp:alert" }
Switch danik_rightLamp__effect "Right lamp - effect" <rgb> { channel="hue:0210:*************:danik_rightLamp:effect" }

Color danik_leftLamp__color "Left lamp" <colorpicker> (DaniksRoom_Lights, DaniksRoom_FrontLights, DaniksRoom_RgbLights) { channel="hue:0210:*************:danik_leftLamp:color" }
Dimmer danik_leftLamp__colorTemperature "Left lamp - temperature" <heating> (DaniksRoom_LightTemperatures) { channel="hue:0210:*************:danik_leftLamp:color_temperature" }
String danik_leftLamp__alert "Left lamp - alert" <alarm> { channel="hue:0210:*************:danik_leftLamp:alert" }
Switch danik_leftLamp__effect "Left lamp - effect" <rgb> { channel="hue:0210:*************:danik_leftLamp:effect" }

Dimmer danik_spotLight1__brightness "Spot light 1" <light> (DaniksRoom_CellingLights, DaniksRoom_Lights) { channel="hue:0220:*************:danik_spotLight1:brightness" }
Dimmer danik_spotLight1__colorTemperature "Bed lamp 1 - temperature" <heating> (DaniksRoom_LightTemperatures) { channel="hue:0220:*************:danik_spotLight1:color_temperature" }
Dimmer danik_spotLight2__brightness "Spot light 2" <light> (DaniksRoom_CellingLights, DaniksRoom_Lights) { channel="hue:0220:*************:danik_spotLight2:brightness" }
Dimmer danik_spotLight2__colorTemperature "Bed lamp 2 - temperature" <heating> (DaniksRoom_LightTemperatures) { channel="hue:0220:*************:danik_spotLight2:color_temperature" }
Dimmer danik_spotLight3__brightness "Spot light 3" <light> (DaniksRoom_CellingLights, DaniksRoom_Lights) { channel="hue:0220:*************:danik_spotLight3:brightness" }
Dimmer danik_spotLight3__colorTemperature "Bed lamp 3 - temperature" <heating> (DaniksRoom_LightTemperatures) { channel="hue:0220:*************:danik_spotLight3:color_temperature" }
Dimmer danik_spotLight4__brightness "Spot light 4" <light> (DaniksRoom_CellingLights, DaniksRoom_Lights) { channel="hue:0220:*************:danik_spotLight4:brightness" }
Dimmer danik_spotLight4__colorTemperature "Bed lamp 4 - temperature" <heating> (DaniksRoom_LightTemperatures) { channel="hue:0220:*************:danik_spotLight4:color_temperature" }
Bridge hue:bridge:************* [ ipAddress="192.168.25.2", userName="****", pollingInterval=1] {
    0210 danik_leftLamp [ lightId="1" ]
    0210 danik_rightLamp [ lightId="2" ]
    0220 danik_spotLight1 [ lightId="17" ]
    0220 danik_spotLight2 [ lightId="16" ]
    0220 danik_spotLight3 [ lightId="18" ]
    0220 danik_spotLight4 [ lightId="19" ]
}

pollingInterval=1 is for cases when I am controlling the lights using Google Assistant Hue connection and I needed up-to-date states in OpenHab rules.

For demo purposes lets say that I send this series of commands to the DaniksRoom_Lights item (as fast as I can click on the slider on sitemap :stuck_out_tongue_winking_eye:):

  1. 100
  2. 50
  3. 10
  4. 100
  5. 50
  6. 10
  7. 100
  8. 50
  9. 10
  10. 0

The bulbs will one-by-one change their state according to the command currently received.
After ~90 seconds the lights will finally end up in the final state - 0%.

90 seconds! - That is more than minute from the last command issued by the user to bulb changing into current state.

During this kind of benchmark the CPU of the Raspi goes up to around 50%.
The Raspi is pretty much dedicated for OpenHab (+ Nginx, Mosquitto, SSH).
The Hue Bridge should be idle - no entertainment streaming happening right now…

Is there any way how to make the lights more responsive?
If I am controlling the lights using the Phillips Hue app its much faster.

For cases where I want to control several lights at once, which I would say is the same behavior like setting each room light in a row, I have set up scenes in hue.

Those scenes can be called via http request in a rule.
If you call scenes directly from the api, the response times are really smooth.