I'm using this driver for my Mijia Light Sensors. I just moved one over from SmartThings and recreated the automation using a single Simple Automation Rule.
And today when it should have turned on the light, it didn't. Initially I couldn't figure out why until I checked the logs and found: java.lang.NumberFormatException: For input string "21.0" on line 636 (luxHandler)
I looked into your driver before posting. I just wanted to post here in case anyone else ran into the same problem. The setting to remove the decimals does fix the problem.
I was adding to Chirpy’s comment where he was suggesting to try his version of the drivers (yep, I know), since they worked for me after multiple tries with Markus’.
Thanks @chirpy for this, had one of mine drop off and would not recover using Markus' driver.
It seemed to be dead with no reporting and no device side-button response (3 quick flashes) after pairing.
Tried the device side-button 5 sec. re-pair and 10 sec. reset multiple times to no avail.
Loaded up your driver and after the 10 sec. device side-button reset/discovery/pairing it's back up and reporting normally (and also doing the device side-button = 3 quick flashes again).
+1 for the Xiaomi Aqara Mijia driver that Ranchitat mentioned. These were the most difficult sensors to configure. Had to be right next to hub and took a few attempts