I’ve tweaked it a bit more then that… That first publish was mostly just your code from the Hue Zigbee version…
As for the poll, I got the refresh to get the current set dimmer value from endpoint 08 and parse it (not effectively) and set it…
Anyway, feel free to use whatever you want, I just don’t like having code posted in these forums as with the last version of the forums, things disappear. If you want to start your own github, I’d be more than happy to merge mine and commit to yours.
As for the fingerprint, it was needed to force the pairing to use this devicetype. Without it, all other bulbs just showed up as “Things”…
I still think there is something that should be bound to using the bind zigbee command to get these bulbs to check in every so often with their status. This would solve alot of the issues and wouldn’t need to constantly poll the device.
https://github.com/pstuart/smartthings/blob/master/GE%20Link%20Bulb.groovy