I have 10 Aqara Bulbs, model is ZNLDP12LM, they work fine with the Generic Zigbee Bulb driver but I can't control their Color Temperature so I swapped them over to the Generic Zigbee CT Bulb (dev) driver. All is working fine, except for this error that I'm getting, every ~4 minutes.
It's not a blocker, it just fills up the logs fast.
I've deleted, repaired, pressed Configure, nothing fixes it.
The Advanced Zigbee CT Bulb driver doesn't fully work for this bulb apparently (the bulb won't turn on, just off, setlevel 100 works, on button doesn't)
> |dev:102021-07-21 09:54:20.198 errorjava.lang.NumberFormatException: For input string: (3!.a'!|!<br>!d e þf!Þ (parse)|
> |---|---|
> |dev:132021-07-21 09:52:59.692 errorjava.lang.NumberFormatException: For input string: (-!@a'!|!<br>!d e ÿf! (parse)|
> |dev:172021-07-21 09:52:13.421 errorjava.lang.NumberFormatException: For input string: (.!(a'!|!<br><br>!d e þf!Þ (parse)|
> |dev:182021-07-21 09:51:55.471 errorjava.lang.NumberFormatException: For input string: (4!/a'!|!<br>!d e þf!Þ (parse)|
> |dev:62021-07-21 09:51:35.499 errorjava.lang.NumberFormatException: For input string: (,!5a'!|!<br>!d e þf!Þ (parse)|
> |dev:52021-07-21 09:51:26.660 errorjava.lang.NumberFormatException: For input string: (/!?a'!|!<br>!þÿd e þf!ú (parse)|
> |dev:122021-07-21 09:51:12.071 errorjava.lang.NumberFormatException: For input string: (/!2a'!|!<br>!d e ÿf! (parse)|
> |dev:142021-07-21 09:51:01.901 errorjava.lang.NumberFormatException: For input string: (/!/a'!|!<br>!d e þf!Þ (parse)|
> |dev:152021-07-21 09:49:28.628 errorjava.lang.NumberFormatException: For input string: (4!2a'!|!<br>!d e þf!Þ (parse)|
> |dev:102021-07-21 09:48:13.177 errorjava.lang.NumberFormatException: For input string: (2!.a'!|!<br>!d e þf!Þ (parse)|
> |dev:132021-07-21 09:47:48.706 errorjava.lang.NumberFormatException: For input string: (,!@a'!|!<br>!d e ÿf! (parse)|
> |dev:62021-07-21 09:46:27.496 errorjava.lang.NumberFormatException: For input string: (,!5a'!|!<br>!d e þf!Þ (parse)|
I am not an expert on Aqara devices as I only have two of them: a vibration sensor and a water leak sensor. However, when I first go them, they were unstable. Most Xiaomi/Aqara devices do not confirm to standard Zigbee protocols. They do not route properly through some Zigbee repeater devices. I finally got mine to work by replacing all my Zigbee HA1.2 repeater devices with eWeLink Zigbee 3.0 outlets.
Since the Aqara devices are not standard Zigbee devices, they are not officially supported by Hubitat, although there are some community supported drivers for many of the devices. It is also possible that a driver for another bulb device might work. Try different ones and see if you get better results.
Hopefully, someone who has Aqara bulbs will be able to help.
It almost does the trick for me BUTTT at some point the function 'myredHexToCt' gets a 0 input value, resulting in this error that makes the Configure command fail: java.lang.ArithmeticException: Division by zero on line 651 (method parse)
I've patched it up like this and now the bulb work pretty fine:
Integer myredHexToCt(String myred){
iValue=hexStrToUnsignedInt(zigbee.swapOctets(myred))
return (iValue>0?(1000000 / iValue):0).toInteger()
}
Et voila, 'finished options testing...'
Cheers all and especially @mike.maxwell for posting the driver code on github.