[OBSOLETE][UPDATED as of March 24, 2016] Hue Lights & Groups & Scenes (OH MY!)

In the case of the first problem a while back, it resolved itself, and the app(s) just started seeing the hue bridge again. My more recent problem of hue bridges reporting the wrong MAC address was solved by a SmartThings hub reboot.

My problem has resolved itself. Just waiting was the proper procedure.

I’ve been using this SA for about 3 weeks without many issues. However, I just purchased two new Hue bulbs. I paired them with the Hue Hub without issue. I now go to add them to this SA and it will not discover the bulbs. Am I doing something wrong?

I simply open the SA and wait on the bulb discovery page while it searches. Do I need to hit the button on the hub for it to see it?

I’ve already tried rebooting the ST hub, which made no change.

Any help is appreciated!

Can you tell me the type and model of your new bulbs? It may be that they are using something other than the previous versions, which would cause the HLGS service manager app to miss them.

Aloha everyone -

I’ve been working on new versions of the HLGS service manager and related devices. This new version of the HLGS service manager allows creating, modifying, and deleting groups and scenes from the Hue Hub.

I’m looking for a few people who would be willing to beta test it before I release. Please PM me if you are (1) interested and (2) currently using (or have the capability to use) Hue Hub groups and scenes. People who are comfortable using the Hue Debug Tool are preferred.

Thanks!

Tony

They are the newest (2nd gen) Hue Color bulbs. Their main A19 style bulb. Is there a specific way to get a model for you from the Dev tool? It’s the same bulbs that I currently had and working with HLGS, I just can’t add additional.

Ok. First, have you updated them in the Hue App? If so, then check the type of the newly-added lights in the Hue API debug tool ( use a GET on /api/[your hue id]/lights/ ). Let me know if the type of the newly-added lights is something other than “Extended color light”, “Color light”, or “Dimmable light”.

If you’ve updated the Hue App and the type of the newly-added lights is one of those listed above, then its likely that you have identified a problem with the HLGS service manager. My new version should fix such problems - PM me to test it if you like.

Thanks for the walk through! Here is what I found:

type": “Extended color light”,
“name”: “Nightstand”,
“modelid”: “LCT007”,
“manufacturername”: “Philips”,
“uniqueid”: “xxxxxxxxxxxxx”,
“swversion”: “66014919”

These are the same type and modelid of my other 7 Hue Lights that I initially setup HLGS with.

Does this type require the new version of the ap?

[EDIT] I am running the latest version of the Hue iOS app and according to the ST IDE, version 0.5 of your HLGS app.

The existing version already has that type, so no need for new version on that account.

So, with that said, what else could be going on? I’m still unable to see the new bulbs. All other Hue iOS apps can see them. They paired with the hub, I’ve rebooted the ST hub, I’ve hit the button on the Hue hub, and I’ve let it sit at the discovery screen for ~10 minutes.

Can I still try the new app to see if it makes a difference? I REALLY don’t want to have to remove the SA and clear out ALL of my lighting automations again to do a re-install…

Of course. PM you now.

I’m not able to get this working, I keep getting an ‘Unexpected Error’ when trying to set a delay on how long the bulbs turn off for. Not sure if it matters but I have a mix of Hue / Lux / Lightstrips, A19 and BR30s.

  1. I removed every smartapp and all bulbs nothing is in my ST app
  2. added the smart app and published
  3. added all 5 devices under ‘Device Handler’ and published
  4. Went into the app and opened it to begin setup
  5. Authorize my Hue Hub, selected Hub Bulbs, Hue Groups, and Hue Scenes.
  6. Asks me for a delay for turn off which I left defaulted as ‘1’
  7. ‘Unexpected Error’

Any help would be great.

PM me to try new version
.

I’ll shoot you a PM when I’m at my computer shortly, thanks.\

Edit: Actually it seems I can’t PM because my account is new. Is it possible for you to PM me?

Just an update, I updated all of my code with your latest commits on github and now I am getting the error: “You are not authorized to perform the requested operation” as soon as I open the smartapp.

EDIT: And now it’s just randomly working. I have no idea why. The error just disappeared and I can add my lights / groups.

Glad to hear it wasn’t app-specific.

It might have been caused by the (dev) issue that was supposedly fixed by Friday’s update.

Do we have any pictures of this app? How does it compare to (re) connect?

Tony,

I’m don’t think this problem is HLGS specific, but I’m wondering if HLGS can help solve it.

I have two bedroom lights, one on each nightstand. I have created three scenes:

  1. Nightstand 1 turns on to a specified color temperature
  2. Nightstand 2 turns on to a specified color temperature
  3. Both nightstands turn on to a specified color temperature

I imported the scenes to ST via HLGS. They all work! However, lets say I have N1 turned on and the wife now wants to turn her nightstand on, as soon as we do so, N2 turns on and N1 turns off. I’m assuming this is because during the scene creation, N1 was in the off state.

Is there anyway to create a scene and exclude bulbs from it rather than having them off? I did create the scene with the new phillips hue gen 2 app. Currently both nightstand lights are in a room/group of “Bedroom”. I clicked on Bedroom, had one light off and the other turned on with the right color then created the scene. So I know why it’s happening, I just don’t know if there is a way to get around it without getting overly complex.

Thanks!

John-

Yes, you can limit the bulbs used in a Hue Scene.

First, get all of the bulbs that you want to use in the scene into the correct color / level / temperature. Second, open up the HLGS app - the new version that you’re testing - and go to “modify an existing scene” . Select the scene you want to modify and then select the bulbs that you want to include. Once you confirm your selection, that Hue hub scene will only include the bulbs you have selected and will use their current state.

Sorry, I know this is out there somewhere, but…

I just bought my first Hue bulb (an Iris) today. Is a Hue hub required, or can I connect this directly to SmartThings with this SmartApp and associated Device Handler?