Any idea why I'm getting this java error? Log attached


#1

I created a piston to check the color temp/level of my bulbs in reference to 1 “simulated bulb”, and change my bulbs if they are different. Piston is here:

I’m consistently getting an error in my log, seems to be something to do with setting the Color Temperature, but I can’t make any more sense of it then that.

1/4/2018, 10:30:46 AM +243ms
+2ms ╔Received event [Home].time = 1515076238493 with a delay of 7749ms
+309ms ║Runtime (54493 bytes) successfully initialized in 117ms (v0.2.101.20171227) (306ms)
+311ms ║╔Execution stage started
+433ms ║║An error occurred while executing the event: groovy.lang.MissingMethodException: No signature of method: physicalgraph.app.LocationWrapper.hasCommand() is applicable for argument types: (java.lang.String) values: [setColorTemperature]
+440ms ║╚Execution stage complete. (130ms)
+442ms ║Setting up scheduled job for Thu, Jan 4 2018 @ 10:35:38 AM AST (in 291.809s)
+458ms ╚Event processed successfully (458ms)

Can anyone give me any insight?


#2

It looks like your diningroomlight is a white bulb and you’re trying to set it’s colorTemperature (which requires an RGB bulb).


#3

It’s a white LIFX bulb, so it has colour temp options as well. Any idea how to fix it?