[BETA] Hue (Re)Connect - with scene handling


(Cyril Peponnet) #1

Hi Folks,

I just added scene handling on my fork of HueConnect SmartApp. This will allow you to create a push button for each scene you want to trigger from smartthings.

Get the scenes:

The scene device:


How to install

Remove all your existing bulbs / and HueConnect SmartApp.

Then create a new smartapp in IDE from code and also add each devices type you can find under HueDevices folder.


  • This application will not list the stock scenes (who want then after all).

TIPS: On the hue application when you create a new scene, trigger it once, and also trigger the off button on the left when you click on the scene (where you can also change the luminosity). Then you can add it to smarthtings using the smartApp. This will allow you to turn off the scene from smartthings as well :slight_smile: (When you manually trigger the Off button on the Hue application this will generate a hidden scene to turn of the current scene). This can be done after you added the scene as well.

Have fun!

Philips Hue Scenes SmartAPP
Phillips Hue - Scene Triggering?
Lights turning on/off issues - post Oct 20th update
Brand new and requesting help with an idea for Philips Hue lighting "scenes"
Home Automation is almost like a Rube Goldberg machine…
[UPDATED SEPT 2018] Hue B Smart (Groups & Scenes) - Remove Popcorn Effect!
Temporarily change hue color on event
One button to set a common scene in every room defined in Hue?
Set hue color without setting brightness?
Help, ST & Philips Hue zone/rooms
(Kyle ) #2


@CyrilPeponnet you have literally made my week, im going to share this post to a topic i made about wanting hue scenes

(Bobby) #3

The power of ST is in the hands of its ingenious community members who open doors as soon as they are ulocked! This is ST at its best…Great work and thanks for sharing!

(Josh) #4

Shut the front door! For Reals?! Must. Install. NOW!

(Jason "The Enabler" as deemed so by @Smart) #5

Do I need to uninstall the hue hub and then reconnect using this app?

(Jason "The Enabler" as deemed so by @Smart) #6

When I install it, it finds my hub, my bulbs, and my scenes… Even the deleted scenes… But when I click done, It gives me the red unexpected error message.

(Cyril Peponnet) #7

Did you deploy all the devices as well? If it’s the case, just paste the logs here.

(Cyril Peponnet) #8

And regarding the deleted scenes that’s normal because you can’t remove scenes from the hub… See my readme for more explanations.

(Joseph Fattizzi) #9

I removed all my bulbs, bridge and connect smart app. Then installed your new app and device types. Discovered my bridge, imported lights and scenes. All worked okay.

EXCEPT - when I turn a light on, nothing happens.

Any ideas? Need help!

(Cyril Peponnet) #10

Same logs could be helpfull.

(Joseph Fattizzi) #11

I got it working. Saw in the logs there was some errors, so I re-created the smart app. Seems to be working now.

(Cyril Peponnet) #12

If you can paste me the logs it could help to understand and even fix an issue I missed.

(Joseph Fattizzi) #13

It was how i copy/pasted the code into the IDE.

(Jason "The Enabler" as deemed so by @Smart) #14

I’ll send you the logs on mine when I get home. At work now

(Jason "The Enabler" as deemed so by @Smart) #15

a7236c9b-c7f1-4a12-ad97-ec15ef6d618b 11:45:19 AM: error physicalgraph.app.exception.UnknownDeviceTypeException: Device type ‘Hue Bridge’ in namespace ‘smartthings’ not found. @ line 465
a7236c9b-c7f1-4a12-ad97-ec15ef6d618b 11:45:19 AM: debug getChildDevices(false), children=0
a7236c9b-c7f1-4a12-ad97-ec15ef6d618b 11:45:19 AM: debug Initializing
a7236c9b-c7f1-4a12-ad97-ec15ef6d618b 11:45:19 AM: trace Installed with settings: [selectedBulbs:[a7236c9b-c7f1-4a12-ad97-ec15ef6d618b/38, a7236c9b-c7f1-4a12-ad97-ec15ef6d618b/37], selectedHue:0017881290EA, selectedScenes:[a7236c9b-c7f1-4a12-ad97-ec15ef6d618b/264b4ce43-on-0]]

(Cyril Peponnet) #16

You need to add all the Devices types form there:


(Jason "The Enabler" as deemed so by @Smart) #17

Yeah, I realized I forgot to do that… It’s working now.

So, using this can I just set up a virtual switch to have echo change the bulb color?

(Cyril Peponnet) #18

You can trigger scene from whatever you want as it create a switch/push button. This is not meant to change bulbs color, this is meant to launch a Hue Scene (which is almost the same in fact).

(Bryan) #19

I also found that when installing bulbs you cannot install more than 20 at one time. You must add 20 first and then if you have more, go back to the SmartApp to add the rest or it will error out.

(Jason "The Enabler" as deemed so by @Smart) #20

Ok, so I create a scene called “the mood”.
The app now sees these scenes as bulbs.
I give echo rights to the scene “bulb”.
I then say, “Alexa, turn on the mood”.
Alexa should then turn on the vs and the scene changes?
I can’t experiment right now cause I’m at work, so I appreciate your time.

Also, this is what my app sees now… The hue connect sees the scenes as bulbs. I have only 4 bulbs, the other 44 are scenes.
The are now two versions of the hue app. Is that right? Hue connect, & hue reconnect.