Use case : To get rid of my complex OH rules to dim up and down my Hue lights in different situations with various light scenes I rather would like to use Hue routines which can easily be defined in the Philips Hue smartphone app implemented by Signify. With OH I just would control if the Hue routine is active or not – as you can manually do in the Hue app.
Basics : Depending on the type of the Hue routine “CLIPGenericStatus” or “CLIPGenericFlag” the Hue bridge differentiate between CLIP Generic Status Sensor and CLIP Generic Flag Sensor.
My issue : CLIP Generic Flag Sensor (Thing type 0850) is not working for me: when changing the related OH switch item, the Hue routine in Hue app is not turned ON or OFF.
CLIP Generic Status Sensors are working for me – thanks to the hint of @Chiuaua79
My question : Did anybody make CLIP Generic Flag Sensors to work?
Configuration
openHAB 2.5.0 M4 (milestone build) on Raspberry, with Hue Binding Snapshot 2.5.12.202101050353 Thing
In fact, I did several tests also using the Philips Hue CLIP API Debugger. In the meantime my 3 OH test item switches for the respective CLIP Generic Flag Sensors (thing type 0850) can trigger ON and OFF, the corresponding changes I can see in the Hue app and in the command response of the Hue API debugger.
I don’t know why – and sounds strange – but the OH flag sensor items only worked well after I manually triggered the OH item switches first time on the Paper UI control menu (I tested this behaviour with two more items).
Nevertheless, I’m facing two hurdles before I can fully use the OH flag sensors:
When I switch an OH flag sensor item to ON (i.e.: the corresponding hue routine becomes active), not only Hue flag sensor is immediately switching to ON but also the lights of the corresponding light group dim on after a few seconds! Is my Hue bridge kidding me? - this is really not what I want for my time-controlled Hue routines – this effect I could reproduce with all my 3 OH test items. Of course, this behaviour I do not see when I active a Hue routine directly in the smartphone Hue app.
When I activate a routine in my smartphone Hue app this change is not reflected in my OH items, but thats not that bad, cause mostly I would turn the Hue routines On and OFF via OH, not within the Hue app.
To point 1. To exclude side effects I commented out all OH Hue related rules.
Did I miss anything? I think my configuration is incorrect but I do not see the crux of the matter.