Aqara Button - long press - dim bulb

  • Platform information:
    • Hardware: RPi 4 8GB
    • OS: openhabian
    • openHAB version: 2.5.9-1
  • Issue of the topic: please be detailed explaining your issue

I want to build something like here: https://www.youtube.com/watch?v=JDpRmPBw6qE

Single Press: Lights On/Off --> no problem
Double Press: Lights Warm/Cold --> no problem
Long Press Hold: Increase Brightness to 100 and decrease then --> PROBLEM
Long Press Release: stop increasing/decreasing --> PROBLEM

I´m working on that for a couple of days, now but I didn´t found a solution to get it to work like in the video. At least, I´m glad that I found the increase / decrease command :slight_smile:

I figured out how to trigger the increase but it will also spam my logs now, and the Long Press Release is not recognized or it will not stop the increase process.

Maybe anybody from the community can help me out :frowning:

  • Rules code related to the issue

    var boolean LongPress = false
    
    rule "Wohnzimmer Dimmer"
    when
       Channel "deconz:switch:4dc00fc0:00158d00030af569010006:buttonevent" triggered
    then
        var actionName = receivedEvent.getEvent()
        switch(actionName) {
            case "1001": {
                LongPress = true
                while (LongPress)   
                {         
                G_WohnzimmerlampenBrightness.sendCommand ("INCREASE")
                }
                    Thread::sleep(5000)
                }
    
            case "1003":
            {
                    LongPress = false      
            }
            } 
       
    end
    
  • If logs where generated please post these here using code fences:

The Spam of the logs each millisecond a entry is coming and I can´t interrupt it, only way is to restart openhab:

vent.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.081 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE

2020-10-31 22:49:02.094 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

2020-10-31 22:49:02.108 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.113 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.118 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.124 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE

2020-10-31 22:49:02.134 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

2020-10-31 22:49:02.145 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.150 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.154 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE

2020-10-31 22:49:02.167 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

2020-10-31 22:49:02.181 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.186 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.189 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.191 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.193 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.195 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.197 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.199 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE

2020-10-31 22:49:02.210 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

2020-10-31 22:49:02.224 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.226 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.228 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE

2020-10-31 22:49:02.238 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

2020-10-31 22:49:02.249 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.251 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE

2020-10-31 22:49:02.263 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

2020-10-31 22:49:02.282 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.287 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE

2020-10-31 22:49:02.300 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

2020-10-31 22:49:02.312 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.318 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE

2020-10-31 22:49:02.331 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

2020-10-31 22:49:02.344 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.351 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE

2020-10-31 22:49:02.369 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.373 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

2020-10-31 22:49:02.387 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE

2020-10-31 22:49:02.392 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE

2020-10-31 22:49:02.403 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

What actual events turn up in your events.log when you perform these actions?

Sure:

You can see:
I enabled with press 1002 the bulb, then press and hold with 1001 at 14:56:50 of course with 5000ms the bulb is really quick at 100% brightness. On 14:57:02 you can see that value changed from 1001 to 1003 which is the long press released but it is between and afterwards still fireing INCREASING. I deleted some lines between because I was on the letter cap for the chat :stuck_out_tongue:

2020-11-01 14:56:50.205 [vent.ChannelTriggeredEvent] - deconz:switch:4dc00fc0:00158d00030af569010006:buttonevent triggered 1001
2020-11-01 14:56:50.212 [vent.ItemStateChangedEvent] - ButtonWohnzimmer changed from 1002 to 1001
2020-11-01 14:56:50.223 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.238 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:50.252 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:50.259 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.267 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.275 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.283 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.291 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.303 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.308 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.333 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:50.355 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:50.361 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.387 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:50.407 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:50.412 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.421 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.447 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:50.460 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.493 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:50.498 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.502 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.515 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:50.521 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.550 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:50.554 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.558 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.593 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:50.611 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:50.616 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.623 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.629 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.648 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:50.654 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.670 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:50.677 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.683 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.699 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:50.716 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:50.721 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.727 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.736 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.744 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.748 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.754 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.758 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.762 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.768 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.772 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.777 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.781 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.787 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.791 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.798 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.805 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.812 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.833 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:50.849 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:50.855 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.861 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.868 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.875 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.880 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.885 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.891 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.898 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.902 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.906 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.912 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.916 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.920 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.925 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.929 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.934 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.939 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.946 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.960 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:50.978 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:50.983 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:50.999 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.016 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.021 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.028 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.034 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.039 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.044 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.050 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.056 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.061 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.067 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.083 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.100 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.105 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.110 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.116 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.122 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.128 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.134 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.140 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.145 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.162 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.181 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.196 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.225 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.232 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.237 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.242 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.257 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.285 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.291 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.298 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.305 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.311 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.320 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.335 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.352 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.370 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.392 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.399 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.408 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.414 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.420 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.425 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.431 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.436 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.442 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.447 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.452 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.458 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.464 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.470 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.477 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.506 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.525 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.530 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.536 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.554 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.571 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.575 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.578 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.596 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.619 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.624 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.631 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.637 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.642 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.647 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.652 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.658 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.663 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.668 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.684 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.701 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.712 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.717 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.723 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.734 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.740 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.745 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.759 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.765 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.778 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.786 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.805 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.820 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.827 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.835 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.844 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.852 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.857 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.863 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.868 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.873 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.878 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.883 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.889 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.894 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.899 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.914 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.932 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.939 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.954 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:51.979 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:51.983 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:51.987 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.000 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.014 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.017 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.021 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.025 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.042 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.045 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.058 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.062 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.080 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.092 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.105 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.120 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.123 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.127 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.131 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.145 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.157 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.173 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.186 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.200 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.204 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.219 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.229 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.258 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.275 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.294 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.301 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.323 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.340 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.366 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.374 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.391 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.414 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.422 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.439 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.458 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.467 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.485 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.509 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.520 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.524 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.542 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.559 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.573 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.587 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.600 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.603 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.606 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.609 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.612 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.615 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.618 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.621 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.624 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.627 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.630 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.633 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.637 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.640 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.643 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.658 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.668 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.690 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.702 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.708 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.722 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.748 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.755 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.774 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.794 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.800 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.804 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.824 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:52.855 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:52.863 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.874 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:52.888 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:53.003 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:53.010 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:53.031 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:53.049 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:53.054 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:53.067 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:53.091 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:53.105 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:53.114 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:53.131 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:53.135 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:53.139 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:53.154 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:53.169 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:53.173 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:53.188 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:53.203 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:53.207 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:53.230 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:53.242 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:53.247 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:53.264 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:53.284 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:53.293 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
    2020-11-01 14:56:55.623 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:55.626 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.644 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:55.655 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:55.657 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.670 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:55.682 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:55.684 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.692 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.705 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:55.716 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:55.718 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.820 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.833 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:55.845 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:55.850 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.864 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:55.879 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:55.883 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.900 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:55.913 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:55.918 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.930 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:55.937 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.948 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:55.952 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:55.956 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
    2020-11-01 14:56:58.931 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.936 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.941 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.945 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.950 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.955 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.959 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.964 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.969 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.973 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.977 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.981 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.986 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.991 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.995 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:58.999 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.003 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.007 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.019 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:59.024 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.039 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:59.043 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.047 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.060 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:56:59.063 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.078 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:56:59.082 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.087 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.090 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.094 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.098 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.102 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.106 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.110 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.116 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.121 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.124 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.128 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.131 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.136 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:56:59.140 [ome.event.ItemCommandEvent] - Item 
2020-11-01 14:57:02.768 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.771 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.782 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:02.785 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.796 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:02.799 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.801 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.804 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.806 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.809 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.811 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.824 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:02.836 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:02.839 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.841 [ome.event.ItemCommandEvent] - Item 'G_WohnzimmerlampenBrightness' received command INCREASE
2020-11-01 14:57:02.846 [vent.ItemStateChangedEvent] - ButtonWohnzimmer changed from 1001 to 1003
2020-11-01 14:57:02.859 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:02.872 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:02.884 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:02.900 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:02.913 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:02.926 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:02.942 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:02.953 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:02.966 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:02.984 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:03.048 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:03.070 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:03.092 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:03.105 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:03.119 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:03.132 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:03.146 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:03.163 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE
2020-11-01 14:57:03.176 [ome.event.ItemCommandEvent] - Item 'LampeGrossBrightness' received command INCREASE
2020-11-01 14:57:03.190 [ome.event.ItemCommandEvent] - Item 'LampeKleinBrightness' received command INCREASE

There’s no way to escape from that while-loop, ever.
While-loops are almost always a bad idea in any openHAB rule. just don’t.

So, how should we go about it? openHAB rules are event-driven, so if you want a ramping dimmer over time you most likely want a series of timer-generated events.
Basic idea here -

1 Like

Wow, that´s cool. I implemented it yet and it´s working :slight_smile:
Just need to fine tune the dim down once it reached 100.

Thank you very much for your input :slight_smile:

val int timeoutMills = 200 // 60000 divided by 100 dim levels
var int dimLevel = 1
var Timer timer = null

rule "Dim Up"
when
   Channel "deconz:switch:4dc00fc0:00158d00030af569010006:buttonevent" triggered
then
    var actionName = receivedEvent.getEvent()
    switch(actionName) {
        case "1001": {
    if (timer === null) {
        timer = createTimer(now.plusSeconds(0), [ |   //Starts immediately
            G_WohnzimmerlampenBrightness.sendCommand(dimLevel)
            if (dimLevel == 100) {
                timer = null // cancel timer
            } else {
                dimLevel = dimLevel + 3
                timer.reschedule(now.plusMillis(timeoutMills)) // reschedule timer is 3 * 600 mills
            }
        ])
    }
        }

        case "1003": {
                timer = null // cancel timer
        }
    }
    
    end
1 Like

Note, that doesn’t cancel the timer. The variable “timer” is only a handle, a pointer, to the real timer, so it only destroys the pointer leaving any timer running.

If you want to cancel, you must do so explicitly
timer.cancel
and if you don’t know if there might or might not be an active timer, you can avoid that erroring out with a null
timer?.cancel
then you can clear the handle, so that you know it is free.

You might want to give your handle variable a more useful name like ramptimer so that there’s no muddle when you come up with another timer rule later :wink:

Thank you for the hint :slight_smile:

Yeah I got the dimmer up/down to fly, now.
I just have a question because sometimes I see an error in the log and I need to long press twice until it´s firing the rule. It must be something with the var brightness but I don´t understand what :frowning:

Maybe you can help me?

var Timer dimmingTimer = null

rule "Living Room Dimmer"

when

    Channel "deconz:switch:4dc00fc0:00158d00030af569010006:buttonevent" triggered

then

    var actionName = receivedEvent.getEvent()
    switch(actionName) {

        //1002 - Release (after Press)
                case "1002": {
        if (G_WohnzimmerlampenOnOff.state == OFF) 
        {
                G_WohnzimmerlampenOnOff.sendCommand(ON)
        }
        else {
                G_WohnzimmerlampenOnOff.sendCommand(OFF)
        }
        }


                //1004 - Release (after Double Press)
                case "1004": {
        if (SteckdoseTVWandSwitch.state == OFF) 
        {
                SteckdoseTVWandSwitch.sendCommand(ON)
        }
        else 
        {
                SteckdoseTVWandSwitch.sendCommand(OFF)
        }
        }
        
case "1001": {

    if(G_WohnzimmerlampenBrightness.state <= 50) {

        if(dimmingTimer === null){

            dimmingTimer = createTimer(now.plusSeconds(0), [ |

                var brightness = G_WohnzimmerlampenBrightness.state as Number + 3

                if(brightness > 99) brightness = 100

                G_WohnzimmerlampenBrightness.sendCommand(brightness)

                if(brightness == 100) {
                    dimmingTimer?.cancel
                    dimmingTimer = null

                }

                else {

                    dimmingTimer.reschedule(now.plusMillis(400))

                }

            ])

        }

    }

    if(G_WohnzimmerlampenBrightness.state >= 50) {

        if(dimmingTimer === null){

            dimmingTimer = createTimer(now.plusSeconds(0), [ |

                var brightness = G_WohnzimmerlampenBrightness.state as Number - 3

                if(brightness < 99) //brightness = 0
                
                G_WohnzimmerlampenBrightness.sendCommand(brightness)

                if(brightness <=2) {
                    G_WohnzimmerlampenBrightness.sendCommand(0)
                    dimmingTimer?.cancel
                    dimmingTimer = null

                }

                else {

                    dimmingTimer.reschedule(now.plusMillis(400))

                }

            ])

        }

    }
}

    // Switch is not being pressed
   case "1003": {

        dimmingTimer?.cancel
        dimmingTimer = null
    }
    }

end

This is the log:

2020-11-04 20:38:05.155 [ERROR] [org.quartz.core.JobRunShell         ] - Job DEFAULT.Timer 64 2020-11-04T20:38:05.115+01:00: Proxy for org.eclipse.xtext.xbase.lib.Procedures$Procedure0: [ | {

  var brightness

  org.eclipse.xtext.xbase.impl.XIfExpressionImpl@36224d (conditionalExpression: false)

  <XFeatureCallImplCustom>.sendCommand(<XFeatureCallImplCustom>)

  org.eclipse.xtext.xbase.impl.XIfExpressionImpl@1f9b512 (conditionalExpression: false)

} ] threw an unhandled Exception: 

java.lang.NullPointerException: cannot invoke method public abstract boolean org.eclipse.smarthome.model.script.actions.Timer.reschedule(org.joda.time.base.AbstractInstant) on null

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.invokeOperation(XbaseInterpreter.java:1160) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.invokeOperation(XbaseInterpreter.java:1150) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._invokeFeature(XbaseInterpreter.java:1136) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.invokeFeature(XbaseInterpreter.java:1081) ~[?:?]

	at org.eclipse.smarthome.model.script.interpreter.ScriptInterpreter.invokeFeature(ScriptInterpreter.java:151) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._doEvaluate(XbaseInterpreter.java:861) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.doEvaluate(XbaseInterpreter.java:231) ~[?:?]

	at org.eclipse.smarthome.model.script.interpreter.ScriptInterpreter.doEvaluate(ScriptInterpreter.java:226) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:215) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._doEvaluate(XbaseInterpreter.java:458) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.doEvaluate(XbaseInterpreter.java:239) ~[?:?]

	at org.eclipse.smarthome.model.script.interpreter.ScriptInterpreter.doEvaluate(ScriptInterpreter.java:226) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:215) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._doEvaluate(XbaseInterpreter.java:475) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.doEvaluate(XbaseInterpreter.java:255) ~[?:?]

	at org.eclipse.smarthome.model.script.interpreter.ScriptInterpreter.doEvaluate(ScriptInterpreter.java:226) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:215) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._doEvaluate(XbaseInterpreter.java:458) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.doEvaluate(XbaseInterpreter.java:239) ~[?:?]

	at org.eclipse.smarthome.model.script.interpreter.ScriptInterpreter.doEvaluate(ScriptInterpreter.java:226) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:215) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.evaluate(XbaseInterpreter.java:201) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.ClosureInvocationHandler.doInvoke(ClosureInvocationHandler.java:46) ~[?:?]

	at org.eclipse.xtext.xbase.interpreter.impl.AbstractClosureInvocationHandler.invoke(AbstractClosureInvocationHandler.java:29) ~[?:?]

	at com.sun.proxy.$Proxy993.apply(Unknown Source) ~[?:?]

	at org.eclipse.smarthome.model.script.internal.actions.TimerExecutionJob.execute(TimerExecutionJob.java:48) ~[?:?]

	at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [bundleFile:?]

	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [bundleFile:?]