Hue Lights discussion
Hue Lights discussion
Feel free to post questions and comments on the Hue Lights plugin in this thread.
Re: Hue Lights discussion
Version 0.9.2 Posted
See original topic for download link.
Changes since version 0.9
0.9.2
See original topic for download link.
Changes since version 0.9
0.9.2
- Corrected error in actionControlDimmerRelay that prevented setBrightness call from working.
- Added "Set Brightness with Ramp Rate" action, similar in functionality to the action available in Dimmer Extender.
- Refined brightening and dimming action speed to more closely match the brightening and dimming speed of SwitchLinc Dimmers when their paddle is held down.
- Modified internal method names to make plugin scripting easier and more consistent with the way Dimmer Extender can be scripted.
Re: Hue Lights discussion
Started having these errors on my system, Love your work... and contributions,
Nov 21, 2012 3:25:34 AM
Hue Lights Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 206, in runConcurrentThread
File "plugin.py", line 726, in getBulbStatus
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Hue Lights.indigoPlugin/Contents/Server Plugin/colormath/color_objects.py", line 93, in convert_to
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Hue Lights.indigoPlugin/Contents/Server Plugin/colormath/color_conversions.py", line 305, in xyY_to_XYZ
<type 'exceptions.ZeroDivisionError'>: float division
Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Any Ideas, have restarted indigo and plugin a few times.
Thankx
Keith
Nov 21, 2012 3:25:34 AM
Hue Lights Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 206, in runConcurrentThread
File "plugin.py", line 726, in getBulbStatus
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Hue Lights.indigoPlugin/Contents/Server Plugin/colormath/color_objects.py", line 93, in convert_to
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Hue Lights.indigoPlugin/Contents/Server Plugin/colormath/color_conversions.py", line 305, in xyY_to_XYZ
<type 'exceptions.ZeroDivisionError'>: float division
Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Any Ideas, have restarted indigo and plugin a few times.
Thankx
Keith
Computer Keith
Mt Pleasant SC - Charleston
Indi-Go -Go-Go
Mt Pleasant SC - Charleston
Indi-Go -Go-Go
Re: Hue Lights discussion
Version 0.9.3 Posted
See original topic for download link.
Changes since version 0.9
0.9.3
See original topic for download link.
Changes since version 0.9
0.9.3
- Added more error checking. Worked around a bug in the "colormath" library that would throw a ZeroDivisionError if the "y" color component were zero.
- Corrected error in actionControlDimmerRelay that prevented setBrightness call from working.
- Added "Set Brightness with Ramp Rate" action, similar in functionality to the action available in Dimmer Extender.
- Refined brightening and dimming action speed to more closely match the brightening and dimming speed of SwitchLinc Dimmers when their paddle is held down.
- Modified internal method names to make plugin scripting easier and more consistent with the way Dimmer Extender can be scripted.
Re: Hue Lights discussion
Hey Keith.keifer1 wrote:Any Ideas, have restarted indigo and plugin a few times.
Thankx
Keith
Yep. That started showing up on mine as well a few days ago. I'd fixed it but just hadn't posted the update yet. Try out the 0.9.3 version. Let me know if you see any other errors.
Re: Hue Lights discussion
Not sure if related but upgraded indigo to 6-b2 and added a couple more hue lamps and started getting this error on new lamps.
Hue Hall no problems installed a few days ago.
Hue GR Right and Hue GR Left have err below.
Hue Lights "Hue Hall" on to 100 at ramp rate 0.0 sec.
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights "Hue GR Right" on to 100 at ramp rate 0.5 sec.
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights "Hue GR LEFT" on to 100 at ramp rate 0.5 sec.
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights "Hue GR LEFT" off at ramp rate 0.5 sec.
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights "Hue GR Right" off at ramp rate 0.5 sec.
Hue Lights "Hue Hall" off at ramp rate 0.0 sec.
If you need anything else let me know i've got 9 more bulbs to setup and figure out how to control.
Many thanks and great work
Keith Dutton
Hue Hall no problems installed a few days ago.
Hue GR Right and Hue GR Left have err below.
Hue Lights "Hue Hall" on to 100 at ramp rate 0.0 sec.
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights "Hue GR Right" on to 100 at ramp rate 0.5 sec.
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights "Hue GR LEFT" on to 100 at ramp rate 0.5 sec.
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights "Hue GR LEFT" off at ramp rate 0.5 sec.
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights "Hue GR Right" off at ramp rate 0.5 sec.
Hue Lights "Hue Hall" off at ramp rate 0.0 sec.
If you need anything else let me know i've got 9 more bulbs to setup and figure out how to control.
Many thanks and great work
Keith Dutton
Computer Keith
Mt Pleasant SC - Charleston
Indi-Go -Go-Go
Mt Pleasant SC - Charleston
Indi-Go -Go-Go
Re: Hue Lights discussion
Hi Keith.
Thanks for the report. Though the log does give some clues as to possible problems, I'll need a bit more info if you could. Could you please turn on debug logging in the Hue Lights configuration (Plugins -> Hue Lights -> Configure... -> Enable Debugging)? Once that's turned on, try to reproduce the errors you showed in the logs above then copy and paste the output from the Indigo log into your reply.
Thanks for the report. Though the log does give some clues as to possible problems, I'll need a bit more info if you could. Could you please turn on debug logging in the Hue Lights configuration (Plugins -> Hue Lights -> Configure... -> Enable Debugging)? Once that's turned on, try to reproduce the errors you showed in the logs above then copy and paste the output from the Indigo log into your reply.
Re: Hue Lights discussion
Let me know if this is not what you need...
version : 0
Hue Lights Debug Command is TurnOn, Bulb is 1
Hue Lights Debug device on:
actionValue : 0
delayAmount : 900
description : turn on device
deviceAction : TurnOn
deviceId : 1857648473
replaceExisting : True
textToSpeak :
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights Debug Sending URL request: http://10.0.1.61/api/67ea91faa8738a08da ... ts/1/state
Hue Lights Debug Got response - [{"success":{"/lights/1/state/transitiontime":5}},{"success":{"/lights/1/state/bri":255}},{"success":{"/lights/1/state/on":true}}]
Hue Lights Debug updateDeviceState: Updating device Hue GR Right Front state: brightnessLevel = 100
Hue Lights "Hue GR Right Front" on to 100 at ramp rate 0.5 sec.
Hue Lights Debug updateDeviceState: Updating device Hue GR Right Front state: colorRed = 255
Hue Lights Debug updateDeviceState: Updating device Hue GR Right Front state: colorGreen = 215
Hue Lights Debug updateDeviceState: Updating device Hue GR Right Front state: colorBlue = 112
Hue Lights Debug updateDeviceProps: Updating device Hue GR Right Front properties.
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug actionControlDimmerRelay called for device Hue GR Right Front. action: actionValue : 0
delayAmount : 900
description : turn off device
deviceAction : TurnOff
deviceId : 1857648473
replaceExisting : True
textToSpeak :
device: address : 10.0.1.61 (ID 1)
brightness : 100
buttonGroupCount : 0
configured : True
defaultBrightness : 100
description :
deviceTypeId : hueBulb
enabled : True
errorState :
folderId : 0
globalProps : MetaProps : (dict)
com.nathansheldon.indigoplugin.HueLights : (dict)
address : 10.0.1.61 (ID 1) (string)
bulbId : 1 (string)
nameOnHub : GR F Right (string)
rate : (string)
savedBrightness : 255 (integer)
id : 1857648473
lastChanged : 2012-11-27 23:37:59
ledStates : []
model : Hue Bulb
name : Hue GR Right Front
onBrightensToDefaultToggle : False
onBrightensToLast : False
onState : True
pluginId : com.nathansheldon.indigoplugin.HueLights
pluginProps : com.nathansheldon.indigoplugin.HueLights : (dict)
address : 10.0.1.61 (ID 1) (string)
bulbId : 1 (string)
nameOnHub : GR F Right (string)
rate : (string)
savedBrightness : 255 (integer)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
alertMode : none (string)
brightnessLevel : 100 (integer)
colorBlue : 112 (integer)
colorGreen : 215 (integer)
colorMode : xy (string)
colorRed : 255 (integer)
colorTemp : 2000 (integer)
colorX : 0.5609 (real)
colorY : 0.4016 (real)
effect : none (string)
hue : 58 (integer)
onOffState : on (on/off bool)
online : true (bool)
saturation : 97 (integer)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : True
version : 0
Hue Lights Debug Command is TurnOff, Bulb is 1
Hue Lights Debug device off:
actionValue : 0
delayAmount : 900
description : turn off device
deviceAction : TurnOff
deviceId : 1857648473
replaceExisting : True
textToSpeak :
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights Debug Sending URL request: http://10.0.1.61/api/67ea91faa8738a08da ... ts/1/state
Hue Lights Debug Got response - [{"success":{"/lights/1/state/transitiontime":5}},{"success":{"/lights/1/state/on":false}}]
version : 0
Hue Lights Debug Command is TurnOn, Bulb is 1
Hue Lights Debug device on:
actionValue : 0
delayAmount : 900
description : turn on device
deviceAction : TurnOn
deviceId : 1857648473
replaceExisting : True
textToSpeak :
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights Debug Sending URL request: http://10.0.1.61/api/67ea91faa8738a08da ... ts/1/state
Hue Lights Debug Got response - [{"success":{"/lights/1/state/transitiontime":5}},{"success":{"/lights/1/state/bri":255}},{"success":{"/lights/1/state/on":true}}]
Hue Lights Debug updateDeviceState: Updating device Hue GR Right Front state: brightnessLevel = 100
Hue Lights "Hue GR Right Front" on to 100 at ramp rate 0.5 sec.
Hue Lights Debug updateDeviceState: Updating device Hue GR Right Front state: colorRed = 255
Hue Lights Debug updateDeviceState: Updating device Hue GR Right Front state: colorGreen = 215
Hue Lights Debug updateDeviceState: Updating device Hue GR Right Front state: colorBlue = 112
Hue Lights Debug updateDeviceProps: Updating device Hue GR Right Front properties.
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug actionControlDimmerRelay called for device Hue GR Right Front. action: actionValue : 0
delayAmount : 900
description : turn off device
deviceAction : TurnOff
deviceId : 1857648473
replaceExisting : True
textToSpeak :
device: address : 10.0.1.61 (ID 1)
brightness : 100
buttonGroupCount : 0
configured : True
defaultBrightness : 100
description :
deviceTypeId : hueBulb
enabled : True
errorState :
folderId : 0
globalProps : MetaProps : (dict)
com.nathansheldon.indigoplugin.HueLights : (dict)
address : 10.0.1.61 (ID 1) (string)
bulbId : 1 (string)
nameOnHub : GR F Right (string)
rate : (string)
savedBrightness : 255 (integer)
id : 1857648473
lastChanged : 2012-11-27 23:37:59
ledStates : []
model : Hue Bulb
name : Hue GR Right Front
onBrightensToDefaultToggle : False
onBrightensToLast : False
onState : True
pluginId : com.nathansheldon.indigoplugin.HueLights
pluginProps : com.nathansheldon.indigoplugin.HueLights : (dict)
address : 10.0.1.61 (ID 1) (string)
bulbId : 1 (string)
nameOnHub : GR F Right (string)
rate : (string)
savedBrightness : 255 (integer)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
alertMode : none (string)
brightnessLevel : 100 (integer)
colorBlue : 112 (integer)
colorGreen : 215 (integer)
colorMode : xy (string)
colorRed : 255 (integer)
colorTemp : 2000 (integer)
colorX : 0.5609 (real)
colorY : 0.4016 (real)
effect : none (string)
hue : 58 (integer)
onOffState : on (on/off bool)
online : true (bool)
saturation : 97 (integer)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : True
version : 0
Hue Lights Debug Command is TurnOff, Bulb is 1
Hue Lights Debug device off:
actionValue : 0
delayAmount : 900
description : turn off device
deviceAction : TurnOff
deviceId : 1857648473
replaceExisting : True
textToSpeak :
Hue Lights Error Default ramp rate could not be obtained: empty string for float()
Hue Lights Debug Sending URL request: http://10.0.1.61/api/67ea91faa8738a08da ... ts/1/state
Hue Lights Debug Got response - [{"success":{"/lights/1/state/transitiontime":5}},{"success":{"/lights/1/state/on":false}}]
Computer Keith
Mt Pleasant SC - Charleston
Indi-Go -Go-Go
Mt Pleasant SC - Charleston
Indi-Go -Go-Go
Re: Hue Lights discussion
Looks to be working perfectly now
Thank you again
Keith Dutton
Thank you again
Keith Dutton
Computer Keith
Mt Pleasant SC - Charleston
Indi-Go -Go-Go
Mt Pleasant SC - Charleston
Indi-Go -Go-Go
Re: Hue Lights discussion
Excellent! Let me know if you see any more errors.
Re: Hue Lights discussion
Yikes, where are you guys getting these bulbs? The Apple store states a 3 to 4 month
shipping estimate.
Thanks,
Carl
shipping estimate.
Thanks,
Carl
Re: Hue Lights discussion
I had to walk into my local Apple Store to pick up my kit (it was the last kit on the shelf). You can check your local Apple Store's stock online by adding a bulb or kit to your cart then selecting Pick up as the delivery option, then select your closest store. You can also see which stores have them in stock by clicking the Change store link.ckeyes888 wrote:Yikes, where are you guys getting these bulbs? The Apple store states a 3 to 4 month
shipping estimate.
Re: Hue Lights discussion
Thanks, but I'm a long way from any Apple store these days here in Montana.
I see them being hawked on eBay for ridiculous prices...maybe get anxious and
cave on some.
Carl
I see them being hawked on eBay for ridiculous prices...maybe get anxious and
cave on some.
Carl
Re: Hue Lights discussion
Hmmm... yea, that'd make it difficult. Perhaps if you know someone near an Apple Store who could go and get some for you and then mail them to you.