[OBSOLETE] Hue B Smart (Smart and FAST Hue Lighting)

Is there a way to integrate the motion sensor into this setup, but with it retaining its connection to the Hue hub. It’s super fast for turning on lights with the hub, as it all works locally, but it’s useless not being able to use the motion sensor for any other ST things.

Can’t see a way of doing that currently.

nope its go all hue or add lag with motion sensor on ST

OK so how would I add the motion sensor the laggy way - as part of an HBS installation?

There is a DTH that you can search for to add the Hue motion directly to ST.

hmmm tried that and the lag is totally unusable for lights.

so it works brilliant as part of the hue setup, but I can’t get that information into ST. Is there any way to hack that process that is happening (it is activating a scene) to get it to work like a motion sensor? I’m not sure there is - because I can’t use the triggering ‘on’ of a scene, as that won’t tell me if motion is STILL happening. That can only tell me that motion did happen - and I’d have to send a crude timer.

It might have to go back to Amazon!

read thru the post, you can change the reporting time of the motion, it is currently set at 30 sec, I have changed mine to 10.


Are you able to update the flash command to flash_on maybe? In WebCoRe, there’s an emulated command also called flash and would like to use the flash command on your device handler. WIth the same name, the flash command is not showing in WebCoRe

If the device provides a flash command (and publishes it with the command meta descriptor), then webCoRE should use that instead of the emulated flash - it should show device next to it.

That’s what I thought, thanks ady624. I updated the Device Handler manually for myself to get it to show:

Now flash_on is showing for me after I updated it. I mostly wanted to use the flash on the Device Handler because the Flash Off seems to work better to get the flashing to stop than when using the emulated command in WebCoRE. I was having problems getting the flashing to stop on the emulated version without having to pause and resume the piston which seemed to cause other issues.

I’ve been using this for a few months now and it’s really great. It’s so much better than the stock Hue device control. One problem I haven’t been able to resolve is related to the flash button. I have some Hue lux bulbs, and once they start flashing they won’t stop. I have to unplug the hub to get it to stop. Does anyone know of a fix for this behavior?

Are you using tmleafs DTH located here: https://github.com/tmleafs/Hue_B_Smart instead of the one on the top of this page?

Yes, that’s the one. It works fine with gen 1 Hue color bulbs, but not with the lux bulbs. It’s not like I really need the flash, but I figured it doesn’t hurt to ask.

I’m seeing this in my logs:

132ac1b8-8212-401a-b1a5-76be1f7d5d3c 10:43:41 AM: debug newHue = 86, newSat = 95
132ac1b8-8212-401a-b1a5-76be1f7d5d3c 10:43:41 AM: debug colorData from XY = [hue:0.862204689816314, saturation:0.9531930338779699]
132ac1b8-8212-401a-b1a5-76be1f7d5d3c 10:43:41 AM: debug HS from XY = [hue:0.862204689816314, saturation:0.9531930338779699]
132ac1b8-8212-401a-b1a5-76be1f7d5d3c 10:43:41 AM: debug colorData = [hue:0.862204689816314, saturation:0.9531930338779699]
132ac1b8-8212-401a-b1a5-76be1f7d5d3c 10:43:41 AM: trace getHSfromRGB ( 281.70547, 13.185779, 235.1903):
132ac1b8-8212-401a-b1a5-76be1f7d5d3c 10:43:41 AM: debug RGB colorData = [red:111.30403767104583, green:31.03983069107143, blue:103.23751673097796]
132ac1b8-8212-401a-b1a5-76be1f7d5d3c 10:43:41 AM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#div.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @ line 631

I’m on the latest code from git and my ST hub is version 18.20.

I’ve stumbled here looking for the best DTH to drive my Hue Color Ambiance BR30 RGBW without a hub (the bulb is paired directly to my ST hub). The single coolest feature for me would be, if possible, the ability to digitally specify colors I want (e.g. enter #FF0000 instead of using an analog slider).

Any DTH recommendations with that in mind? It isn’t quite clear to me if the options in this thread work without a hub (and/or what the penalties are).

What type of bulb is this?

this requires the hub,

Your have to make a DH that sets the colour in preferences so it would require 3 button presses, plus the typing of the colour code just to change the colour.

There would be ways with webcore to simply fly the colour change but it would be a complicated set up

is this single bulb or a groups of lux bulbs?

I have the problem with both the individual Lux bulbs and the Lux groups. Same behavior no matter how I add the light.

Fixed - Have updated the Lux Bulb and Lux Groups DHs

Awesome. Thanks! Works perfect!