Hue Lights discussion
Re: Hue Lights discussion
Sounds good. Thanks for checking it out Jay.
Re: Hue Lights discussion
My Indigo 6 folder is about 426 Mb's. I'll try to zip it and send. Maybe use Dropbox
or something similar?
Thanks,
Carl
or something similar?
Thanks,
Carl
Re: Hue Lights discussion
Version 1.0.1 Posted
(See main Hue Lights announcement thread for download link).
(See main Hue Lights announcement thread for download link).
- Added: optional automatic version checking (enabled by default) and email notification (configurable in the plugin configuration window).
Re: Hue Lights - Free Philips Hue Plugin
Sorry for the delay in my reply. Well everything on my network is wired, all addresses are static.nsheldon wrote:Hi Jon.
The only time I've seen that error in the log is when I'm having network issues and my Indigo server is unable to connect to the Hue hub for some reason. The Hue Lights plugin attempts to check the Hue lights status every 8 seconds, so if your Indigo server doesn't have continuous network access to the Hue hub for more than 8 seconds, you'll see that error. If communication becomes unreliable, you'll probably want to start troubleshooting the network connections involved. That can become complicated fairly quickly, but I'd start by using the Hue app on an iPhone, iPod touch or iPad to make sure you can communicate with the Hue hub. If that works, then there might be an intermittent network issue between your Indigo server and the router, or between the router and the Hue hub.
Note also that, in order to work properly, the Hue Lights plugin requires that your Hue hub always have the same IP address. You might need to set your router to always give your Hue hub the same IP address every time it asks for one.
The Indigo server still spits out the:
"Failed to connect to the Hue hub at 192.168.1.195. - Check that the hub is connected and turned on."
This occurs approximately every 2 minutes...
During this same time frame I've had a continuous ping going from the server to the Hue hub, and it hasn't missed a single ping, and ping times are under 0.2 ms. I too am confused as to what might be the cause. It seems as though the commands still go through to the lights with no problems. Let me know if there is anything I can do to help figure this out. I am using version 1.0.1 of the plugin.
Thank you!
Re: Hue Lights - Free Philips Hue Plugin
No worries. That's helpful. At least we know its not because the hub is completely unreachablesymo wrote:Sorry for the delay in my reply. Well everything on my network is wired, all addresses are static.
The Indigo server still spits out the:
"Failed to connect to the Hue hub at 192.168.1.195. - Check that the hub is connected and turned on."
This occurs approximately every 2 minutes...
During this same time frame I've had a continuous ping going from the server to the Hue hub, and it hasn't missed a single ping, and ping times are under 0.2 ms. I too am confused as to what might be the cause. It seems as though the commands still go through to the lights with no problems. Let me know if there is anything I can do to help figure this out. I am using version 1.0.1 of the plugin.
Thank you!
and that it's not because it's changing IP addresses. How many Hue bulbs do you have? If you have a lot, maybe all the status requests are overloading the hub. Not sure. Shouldn't be though. That its happening every 2 minutes doesn't seem to correspond with anything in the Hue Loghts plugin timing.
Could you turn on debug logging in the Hue Lights configuration just before these errors start to appear? Paste the result in your response. That may help figure it out too.
Re: Hue Lights discussion
M4 Mac mini.
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Hue Lights discussion
I think ZigBee LightLink might just be the driver that ZigBee has been needing to kick-start it's home automation profile.
Re: Hue Lights discussion
Interesting. I hope the price isn't as predicted though. $90 for a 2-foot LED strip is ridiculous (especially given that you have to already have a Hue starter kit for an additional $200).
Yea, LightLink may indeed be what kickstarts ZigBee's long overdue entry into more mainstream home automation. Let's hope so.
Yea, LightLink may indeed be what kickstarts ZigBee's long overdue entry into more mainstream home automation. Let's hope so.
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Hue Lights discussion
2 feet != 2 meters... 
Still pricey for a 6' strip though LED strips are still pricey compared to incandescent rope lights...
Still pricey for a 6' strip though LED strips are still pricey compared to incandescent rope lights...
Re: Hue Lights discussion
Ha! True, true. Good catch.jay (support) wrote:2 feet != 2 meters...
Re: Hue Lights discussion
Just got the bulbs and the plugin. I set a default ramp rate for one of the bulbs to 5 seconds and when I turn the bulb on and off there is a jolt to about 15-20% brightness then a smooth ramp up to 100% over that time. Is this expected behaviour or should it be smooth from 0-100 and 100-0? I haven't had time to play with the plugin fully, though from reading the other comments it seems pretty baked and I am looking forward to further experimentation.ssciboz wrote:I'll test the new version tomorrow. Thanks
Also in the meantime I have another problem (since begining but I have 6.0.0 b7), when I put a ramp rate value for any lamp, HUE of Whites, it works only for 60 seconds or less. If I put more it make the correct dimming during the first 60s (for example from 100% to 50% if I put ramp rate to 120), but then it turns off suddenly.
Thanks !
Indigo 6.0.0 beta 13
Hue Lights 1.0.1
Code: Select all
Aug 8, 2013 8:19:01 PM
Sent Hue Lights "Hue Bulb Bed" on to 100 at ramp rate 5.0 sec.
Sent Hue Lights "Hue Bulb Bed" off at ramp rate 5.0 sec.
Schedule Landscape Lights On
Sent INSTEON "PowerLinc Interface" on (scene 3 - Landscape Lights)
Trigger CollectionOutsideOn
Sent INSTEON "Landscape Left Light" on (scene 3 cleanup)
Sent INSTEON "Landscape Right Light" on (scene 3 cleanup)
Hue Lights Debug logging enabled
Hue Lights Debug actionControlDimmerRelay called for device Hue Bulb Bed. action: actionValue : 0
delayAmount : 900
description : turn on device
deviceAction : TurnOn
deviceId : 554399095
replaceExisting : True
textToSpeak :
device: address : 192.168.1.12 (ID 3)
batteryLevel : None
brightness : 0
buttonGroupCount : 0
configured : True
defaultBrightness : 100
description :
deviceTypeId : hueBulb
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 1527945443
globalProps : MetaProps : (dict)
com.nathansheldon.indigoplugin.HueLights : (dict)
address : 192.168.1.12 (ID 3) (string)
bulbId : 3 (string)
defaultBrightness : 100 (string)
nameOnHub : Hue Bulb Bed (string)
rate : 5 (string)
savedBrightness : 0 (integer)
id : 554399095
lastChanged : 2013-08-08 20:19:16
ledStates : []
model : Hue Bulb
name : Hue Bulb Bed
onBrightensToDefaultToggle : False
onBrightensToLast : False
onState : False
pluginId : com.nathansheldon.indigoplugin.HueLights
pluginProps : com.nathansheldon.indigoplugin.HueLights : (dict)
address : 192.168.1.12 (ID 3) (string)
bulbId : 3 (string)
defaultBrightness : 100 (string)
nameOnHub : Hue Bulb Bed (string)
rate : 5 (string)
savedBrightness : 0 (integer)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
alertMode : none (string)
brightnessLevel : 0 (integer)
colorBlue : 0 (integer)
colorGreen : 0 (integer)
colorMode : ct (string)
colorRed : 0 (integer)
colorTemp : 4329 (integer)
colorX : 0.3680 (real)
colorY : 0.3686 (real)
effect : none (string)
hue : 186 (integer)
onOffState : off (on/off bool)
online : true (bool)
saturation : 19 (integer)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : True
version : 0
Hue Lights Debug Command is TurnOn, Bulb is 3
Hue Lights Debug device on:
actionValue : 0
delayAmount : 900
description : turn on device
deviceAction : TurnOn
deviceId : 554399095
replaceExisting : True
textToSpeak :
Hue Lights Debug Sending URL request: http://192.168.1.12/api/1b996af92f245d8616f958c9be2ab2ea/lights/3/state
Hue Lights Debug Got response - [{"success":{"/lights/3/state/transitiontime":50}},{"success":{"/lights/3/state/on":true}},{"success":{"/lights/3/state/bri":255}}]
Sent Hue Lights "Hue Bulb Bed" on to 100 at ramp rate 5.0 sec.
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: brightnessLevel = 100
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug "Hue Bulb Bed" has a model ID of "LCT001". It supports color.
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: colorRed = 255
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: colorGreen = 254
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: colorBlue = 214
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug "Hue Bulb Bed" has a model ID of "LCT001". It supports color.
Hue Lights Debug "Hue Bulb Bed" has a model ID of "LCT001". It supports color.
Hue Lights Debug "Hue Bulb Bed" has a model ID of "LCT001". It supports color.
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: colorRed = 254
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: colorGreen = 252
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: colorBlue = 212
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug "Hue Bulb Bed" has a model ID of "LCT001". It supports color.
Hue Lights Debug "Hue Bulb Bed" has a model ID of "LCT001". It supports color.
Hue Lights Debug "Hue Bulb Bed" has a model ID of "LCT001". It supports color.
Hue Lights Debug "Hue Bulb Bed" has a model ID of "LCT001". It supports color.
Hue Lights Debug actionControlDimmerRelay called for device Hue Bulb Bed. action: actionValue : 0
delayAmount : 900
description : turn off device
deviceAction : TurnOff
deviceId : 554399095
replaceExisting : True
textToSpeak :
device: address : 192.168.1.12 (ID 3)
batteryLevel : None
brightness : 100
buttonGroupCount : 0
configured : True
defaultBrightness : 100
description :
deviceTypeId : hueBulb
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 1527945443
globalProps : MetaProps : (dict)
com.nathansheldon.indigoplugin.HueLights : (dict)
address : 192.168.1.12 (ID 3) (string)
bulbId : 3 (string)
defaultBrightness : 100 (string)
nameOnHub : Hue Bulb Bed (string)
rate : 5 (string)
savedBrightness : 0 (integer)
id : 554399095
lastChanged : 2013-08-08 20:20:05
ledStates : []
model : Hue Bulb
name : Hue Bulb Bed
onBrightensToDefaultToggle : False
onBrightensToLast : False
onState : True
pluginId : com.nathansheldon.indigoplugin.HueLights
pluginProps : com.nathansheldon.indigoplugin.HueLights : (dict)
address : 192.168.1.12 (ID 3) (string)
bulbId : 3 (string)
defaultBrightness : 100 (string)
nameOnHub : Hue Bulb Bed (string)
rate : 5 (string)
savedBrightness : 0 (integer)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
alertMode : none (string)
brightnessLevel : 100 (integer)
colorBlue : 212 (integer)
colorGreen : 252 (integer)
colorMode : ct (string)
colorRed : 254 (integer)
colorTemp : 4329 (integer)
colorX : 0.3680 (real)
colorY : 0.3686 (real)
effect : none (string)
hue : 186 (integer)
onOffState : on (on/off bool)
online : true (bool)
saturation : 19 (integer)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : True
version : 0
Hue Lights Debug Command is TurnOff, Bulb is 3
Hue Lights Debug device off:
actionValue : 0
delayAmount : 900
description : turn off device
deviceAction : TurnOff
deviceId : 554399095
replaceExisting : True
textToSpeak :
Hue Lights Debug Sending URL request: http://192.168.1.12/api/1b996af92f245d8616f958c9be2ab2ea/lights/3/state
Hue Lights Debug Got response - [{"success":{"/lights/3/state/transitiontime":50}},{"success":{"/lights/3/state/on":false}}]
Sent Hue Lights "Hue Bulb Bed" off at ramp rate 5.0 sec.
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: brightnessLevel = 0
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: colorRed = 0
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: colorGreen = 0
Hue Lights Debug updateDeviceState: Updating device Hue Bulb Bed state: colorBlue = 0
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug didDeviceCommPropertyChange called.
Hue Lights Debug didDeviceCommPropertyChange called.I did splurge and picked up both the wall washer and the lightstrip. I took a gamble knowing one of two possible outcomes
Code: Select all
Hue Lights Error The "LightStrip" device has an unrecognized model ID of "LST001". Hue Lights plugin does not support this device.Code: Select all
Hue Lights Error The "Wall Washer" device has an unrecognized model ID of "LLC012". Hue Lights plugin does not support this device.Thanks again for an awesome plugin and integration!
~Lou
Re: Hue Lights discussion
That's normal behavior for the Hue bulbs. If you use the Hue app on your phone or tablet you'll see the same behavior. Strictly speaking, they do go from 1% to 100%, it's just that the Hue's version of 1% is about the same as an incandescent light's 15% (similar to how fluorescent lights "dim"). I was a bit disappointed myself when I found this out.DU Lou wrote:I set a default ramp rate for one of the bulbs to 5 seconds and when I turn the bulb on and off there is a jolt to about 15-20% brightness then a smooth ramp up to 100% over that time. Is this expected behaviour or should it be smooth from 0-100 and 100-0? I haven't had time to play with the plugin fully, though from reading the other comments it seems pretty baked and I am looking forward to further experimentation.
I can add those IDs to the recognized IDs in the plugin. I'd like to fully support everything that the Hue hub can control, but I can't justify spending $90 for a 6-foot LED strip (for which I don't currently have a use) and $80 for a Bloom LED ambient light device (which I can't find a use for as yet either). So until I can get my hands on those for less I can only make the Hue Lights plugin pretend like those are Hue bulbs. This should work in most cases, but there are always quirks between what manufacturers say devices are going to do in the specs and APIs and what those devices actually do. I'll post a plugin update soon that should work with those models, but I won't be able to officially support them until I can get my hands on the hardware itself.DU Lou wrote:ALSO!!
I did splurge and picked up both the wall washer and the lightstrip. I took a gamble knowing one of two possible outcomesSo come to find out the pugin does not recognize them:
Code: Select all
Hue Lights Error The "LightStrip" device has an unrecognized model ID of "LST001". Hue Lights plugin does not support this device.How critical is it that you need them on hand to add support?Code: Select all
Hue Lights Error The "Wall Washer" device has an unrecognized model ID of "LLC012". Hue Lights plugin does not support this device.
Re: Hue Lights discussion
Version 1.0.2 Posted
(See main Hue Lights announcement thread for download link).
(See main Hue Lights announcement thread for download link).
- Added: ability to recognize LED LightStrips and Wall Washers.
Re: Hue Lights discussion
Booo on Hue!!!!!nsheldon wrote:That's normal behavior for the Hue bulbs. If you use the Hue app on your phone or tablet you'll see the same behavior. Strictly speaking, they do go from 1% to 100%, it's just that the Hue's version of 1% is about the same as an incandescent light's 15% (similar to how fluorescent lights "dim"). I was a bit disappointed myself when I found this out.
I pledged 4 LIFX bulbs through Kickstarter and I am curious if LIFX hardware behaves similarly to Hue's. I posted a question on their campaign to see if they are willing to show a video from off to 100% and vice versa.
So far so good. Minus the error below but after I added the lightstrip I was able to create a device and control basic on/off dim/brighten. Still haven't had a chance to experiment with other functionality (even with the standard bulbs) but will report back any anomalies.Version 1.0.2 Posted
(See main Hue Lights announcement thread for download link).
Added: ability to recognize LED LightStrips and Wall Washers.
Code: Select all
Hue Lights Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 360, in runConcurrentThread
File "plugin.py", line 982, in getBulbStatus
<type 'exceptions.KeyError'>: 'ct'
Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)Re: Hue Lights discussion
I'd be interested in seeing the results of that too if you end up hearing back from them on that.DU Lou wrote:I pledged 4 LIFX bulbs through Kickstarter and I am curious if LIFX hardware behaves similarly to Hue's. I posted a question on their campaign to see if they are willing to show a video from off to 100% and vice versa.
I'll try to clear up that error with another update. It appears that Philips hasn't yet posted any information in their API docs regarding which parameters are and are not valid for the LightStrips and other newly supported lights, so it's kind of trial-and-error at this point until they share more details. The "ct" parameter is for color temperature, which (apparently) the LightStrips don't support.So far so good. Minus the error below but after I added the lightstrip I was able to create a device and control basic on/off dim/brighten. Still haven't had a chance to experiment with other functionality (even with the standard bulbs) but will report back any anomalies.
Code: Select all
Hue Lights Error Error in plugin execution runConcurrentThread: Traceback (most recent call last): File "plugin.py", line 360, in runConcurrentThread File "plugin.py", line 982, in getBulbStatus <type 'exceptions.KeyError'>: 'ct' Hue Lights Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)