HowTo: Use Philips Hue sensors (Motion Sensor / Dimmer Switch)

Hi Christoph.
After updating to milestone M5 i get this error every 6-8 hours.

2018-11-04 02:08:31.716 [ERROR] [org.openhab.io.net.http.HttpUtil    ] - Fatal transport error: java.net.SocketException: Too many open files
2018-11-04 02:08:31.717 [ERROR] [ab.binding.http.internal.HttpBinding] - No response received from 'http://192.168.1.118/api/***/s$2Fmp/sensors/11'
2018-11-04 02:08:32.224 [hingStatusInfoChangedEvent] - 'hue:bridge:0017****' changed from ONLINE to OFFLINE: Verbindung zur Hue Bridge unterbrochen.

I have wrote a new topic for this, but now i see that sensor11 is a motion sensor which works with your code. The refresh intervall ist 750. Before updating to M5 all runs okay. Now the system makes a restart. And the cpu load increases up to 6% in the middle from 2% before.

Switch   HueMotion1           "HueMotion1"               {http="<[http://192.168.1.118/api/***/sensors/11:750:JS(getHueMotion.js)]"}

(function(i) {
     var json = JSON.parse(i);
     return ((json['state']['presence'])) == true ? "ON" : "OFF";
             })(input)

Has there something changed to stable 2.3?
Thanks and greetings,
Markus