hi all im hopping you can help im pulling my hair out here, im on a uk V2 Hub and have firmware 000.014.00013 and i still cant control my hue lux bulb, it finds the bulb as THING and i have changed this to HUE LUX BULB and updated and it recognises the HUE BUT i have no control i just get error java.lang.NullPointerException: Cannot invoke method off() on null object @ line 83
being somewhat new to all this i have no idea what to do next people so im asking you for some help, just a straight forward walkthrough would be amazing… thanking you in advance
i have posted this also in the UK specific page i hope this is ok
Sounds like you connected the Hue bulb directly to your ST hub. In that case, the Hue Lux devicetype isn’t what you want. That is for a cloud connection to Hue Lux bulbs connected to a Hue Hub.
You can try the Zigbee Dimmer device, or Zigbee Hue Bulb and ignore the color features. I think either will work.
And please remove the other UK thread or feel free to link my answer there if it works for you. Thanks and good luck!
hi @Sticks18 thanks for your reply, i have tried both Zigbee dimmer and Hue bulb with no action working. i have the bulb in a floor lamp and it is on when it finds it but i cant toggle at all !! any idea ? again thank you for your help here
with zigbee hue bulb i get:
error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.math.BigInteger#.
Cannot resolve which method to invoke for [null, class java.lang.Integer] due to overlapping prototypes between:
[class [I, int]
[class [B, int]
[class java.lang.String, int] @ line 114
with dimmer i get:
error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.math.BigInteger#.
Cannot resolve which method to invoke for [null, class java.lang.Integer] due to overlapping prototypes between:
[class [I, int]
[class [B, int]
[class java.lang.String, int] @ line 87
@JasonBSteele has made a Hue Lux Device type in post 15 of this thread:
After installing this, if you power off the bulb and search for it again, it will identify the bulb as this type.
However you should read up on pairing Hue bulbs directly with ST hub. There is a serious gotcha you can encounter and it may be better for you to pair your bulbs with the Hue Hub. That is the only official Hue integration.
I personally am linking direct to ST hub. Your milage may vary.
Guys, don’t marry your hues directly to ST. Use the hue bridge. First add your bulbs to the hue hub. Check if everything works in non-ST world. Then from ST try adding a hue bulb, this should start discovering your hue bridge, when found it will prompt you to click the button on the bridge, once you do it will start discovering your bulbs. That’s the way to go.
Later when you are adding more bulbs, just click on the hue connect app from your SmartApps which should be created with the steps outlined above and let it discover the new bulbs. Once the number of bulbs detected changes to the new number, open the drop down (lack of better words) by clicking the new + sign there and check the new bulbs.
You shouldn’t be getting errors when applying an official devicetype like this. What’s on those lines in the device code? Maybe the endpointId lookup? I wonder if your Hue Lux didn’t join ST well.