Hue slow/delay after 3.4.0 update

Having a somewhat related issue with the Hue binding in 3.4.0. No delays but it is frequently missing key press/release events from the Dimmer Switch (tested with model RWL022, the new model with Hue logo on the lower button).

Often have to press it a few times before a Key Press event is triggered. Also, it usually triggers only one of the events that get generated from the bridge by pressing and releasing a key. The ON/OFF key for instance when pressed briefly should generate a 1000.0 (Initial Pressed) followed by a 1002.0 (Key Short Released). But I usually only get the first and sometimes only the second, but hardly ever both.

The bridge does get the events as I can see from the CLIP debug web interface. As a test I pressed and released Key 1 on the dimmer switch and nothing shows up in events.log but the status is updated in the bridge:

{
	"state": {
		"buttonevent": 1002,
		"lastupdated": "2023-01-05T10:23:00"
	},
	"swupdate": {
		"state": "noupdates",
		"lastinstall": "2022-12-06T13:22:17"
	},
	"config": {
		"on": true,
		"battery": 100,
		"reachable": true,
		"pending": []
	},
	"name": "Hue dimmer switch 2",
	"type": "ZLLSwitch",
	"modelid": "RWL022",
	"manufacturername": "Signify Netherlands B.V.",
	"productname": "Hue dimmer switch",
        ...
1 Like

Got the same behavior with the old switch as well in addition to the delay

1 Like

Dear all,

initial setup of openHAB 3.4 with corresponding Hue binding was successful. But after some time of operation the whole system became very instable. Beginning with delays the system then completely froze and restarted unpredictably.
At first, cause was not identifiable: could have been openHAB itselft, zigbee2mqtt, Hue binding, my individual rules, VS Code… Log viewer did not report any clear indication.

Did several ‘Greenfield’ setup approaches with two Raspis (SSD and SD card) using latest openhabian image: at least after 18 hours of operation the system was no longer usable.

After two weeks of suffering I became aware of the change ‘HTTP → HTTPS’ for Hue binding in openHAB 3.4. Manually siwtched back to HTTP and since then openHAB 3.4 is running well.

UPDATE/EDIT: after 18h system crashed again. ‘HTTP’ did not fix it completely. Would like to downgrade binding to v3.3 but I fail in finding a way to do so… :sob:

Best regards,
exonix

1 Like

Why do you think the crash is due to the hue binding?
Because I am using the same binding since many days without any delay or crash.
Maybe something else like another of your installed bindings is the root cause?

Hi @Lolodomo, do you happen to also use Hue Dimmer Switches (old or new model)? If so, no issues with button presses often not recognized?

No, I don’t have such device.
Please open a separate thread to not mix different priblems.

The current thread is about the delay after a certain time leading eventually to a crash.

Not sure if it’s two seperate things, I will try to test without sensors on hue in the next days

I’ve been discovering this problem since openHAB 3.3. Unfortunatly it’s not reproducible for me. Sometimes it tooks a few seconds, before a openHAB-command/-event is recognized by the Hue bridge, other times it reacts in a few milliseconds.
As I have analysed this with tcpdump, there is a lot of communication between openHAB and the Hue bridge. I’m not sure if the problem occurs when you add a huge number of Hue Elements (bulbs, sensors, etc.) to the bridge or by another event. Maybee it’s possible to loose some events in case of intense communication between Bridge and openHAB. As I’ve seen in Wireshark the bridge sends Updates to openHAB while openHAB sends shortly after that new Events to the Bridge. Perhaps someone could confirm or analyze this behaviour.
I’m not sure, since when the problem exists. But I remember I’ve done something with scenes in openHAB and in the Hue App.

I also tried changing the timing-settings for polling from the bridge, but I couldn’t see any differences.

My issue was a bit different, but moving several switches and lights from the bridge that had about the maximum number of devices to the second bridge that had only a few devices solved my issue of missed key presses completely.

After upgrade to 3.4.1 my system is running smooth for a few days now.
Will keep track and report here. If everything runs smooth til end of the month I will close th GH issue.

Update: Still working fine 2 days later. Lets see where we get end of the week

Seems like 3.4.1 magically fixed the issue.

Not for me! Anyone else still seeing very slow hue responses?

I also have slow responses and I run on 3.4.1.
It started when I updated from 3.2.0 to 3.4.1

Yes … After a restart, the delay ist back.

Does anyone have any thoughts on how to troubleshoot / fix? Happy to help but not really sure where to start. It’s quite a big deal for me as I have numerous motion sensors that trigger lights and none of this is working currently

Some of you having a V2 bridge might want to try a new version:

This would not help finding the root cause for this problem, but serves two other purposes:

  1. Helps testing the new version.
  2. Could possibly solve your problem, since it works quite differently.
2 Likes

Did anybody find a solution for the slow behaviour?
I recognized slow updates from the Hue motion sensors out of a sudden.
I was using the Hue binding successfully for a long time and didn’t touch anything of my OpenHAB v3.4.1. Maybe this is related to automatic updates of the Philips Hue Bridge itself, which were done during May.
Updating to OpenHAB v3.4.4 did not help.
It’s definitely an issues with OpenHAB/Hue binding, because I see other apps (like Apple HomeKit) and the native Philips Hue App reporting quickly about movings via the Hue motion sensors. Only OpenHAB needs up to about 1 minute to report about changes. Checked via events.log file.

Unfortunately the recommended new version of the Hue binding with API v2 support does not work with my OpenHAB installation - opened different thread for this.

Any help / ideas appreciated :slight_smile:

I am using Openhab 3.4.4 and Hue motion sensor and it works fine but I am using zigbe2mqtt.
I haven’t had any issues regarding slow response.