Hi all,
I am running Openhab 2.5 on a raspberry. I have have a ConBee II stick to access Zigbee. I just got a new Ikea TRÅDFRI switch.
It is working within openhab and I get the result as follows:
Pressing the on button ( I ) shortly, results in the following output in openhab:
deconz:switch:homeserver:ffe97413a011000:buttonevent triggered 1002
Holding the on button, results in:
deconz:switch:homeserver:ffe97413a011000:buttonevent triggered 1001
Release the on button triggeres the 1003
The Off button ( 0 ) works the same way, just with 2001, 2002 and 2003
I would like to use the results as a way to do the following:
Click I once --> Turn on the light
Click I twice (within a resonable time) --> Set a specific brightness and color
Click I tree times --> Set another brightness and color
Holding I --> Increase brightness
Hold 0 --> Decrease birghtness
Click 0 --> Turn light off
I am fine with the click once (I can turn the bulb on and off again), however, timers and me seem not to harmonize
So my question:
-
How do I realize the double / tripple click
-
How can I hold and increase / decrease the brightness?
I tried some solutions, that I found, but none of them worked for me.
I am quite new to the whole rules thing, so the problem is probably sitting on the keyboard
Can anyone help me?
Kind Regards
Dasgen