Unfortunately not. I have also tried using openHAB 2.5M1 but still no effect. I was recently unable to get this working again (i.e. I am not able to get rid of this ‘getEvent’ is not a member
error message anymore) and lots of openHAB restarts including cache clean-ups did not help either. Finally I gave up and decided to disable my code above in openHAB. Now I am using the Philips remote dimmer functionality programmed by the Philips Hue app which is not a solution at all.
Yes, me too. The worst thing is that the WAF of the whole home automation system sigificantly decreased because of me messing around with it for far too many times with no sustainable result. She rightly expects 24/7 working light switches and I am not able to explain plausibly why the system hangs again and again.