OH 3.4.0 Hue binding misses channel triggers for Dimmer Switch

Since OH 3.4.0 I noticed that sometimes OH misses channel triggers for pressing a key on the Hue Dimmer Switch.
I have defined two items to track the status of the switch for debugging:

Number swLaundry "Last key pressed" {channel="hue:0820:2:dim_laundry:dimmer_switch"}

and a rule that logs any channel trigger:

rule "Hue Dimmer Switch Key 1 - Short pressed" do
  channel 'dim_laundry:dimmer_switch_event',
    thing: 'hue:0820:2',
    triggered: [Hue::ON_SHORT_RELEASED]
  run do |event|
    area_name = event.channel.to_s.split(":")[3].split("_")[1]
    scene_item = items["Scene_#{area_name}"]
    logger.info "Event [#{event.channel.to_s}, #{event.get_event}]; area [#{area_name}]; scene item [#{scene_item.name}, #{scene_item}]"
    ....

The log shows that 2 key presses are detected, but somehow the rule is not triggered. It happens at about a ratio of 2 to 4 key presses to get 1 channel trigger.

[INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'laundry_Switch' changed from 1002.0 to 1000.0
[INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'laundry_Switch' changed from 1000.0 to 1002.0

Anyone else experiencing similar issues with the new version of the Hue binding?

I got the same issue!

1 Like

Got the issue resolved by switching to Hue API v2.