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

See here IKEA Tradfri Button -- help needed for more information at £15 pounds each if ikea officially made them work they would make a killing

Working on getting this installed. I have successfully linked the Hue Bridge in the Hue B Smart app. I am trying to discover bulbs and groups via Hue B Smart but it just continues to search. I am using all updated code for smartapp and device handlers (all installed except for the 2 lux types).

Log data from Hue B Smart Bridge…
11:06:07 AM: debug *********** null ********
11:06:07 AM: trace Bridge discovering all items on Hue hub.

Any ideas?

There’s been a good amount of progress on protocols for the Ikea lights - if you’re still interested in developing a ST DTH for them, check out Integrate with Ikea Trådfri Gateway as bridge to communicate and control connected Ikea's ZigBee based smart lights, switches, and sensors · Issue #570 · bwssytems/ha-bridge · GitHub.

Also, its been confirmed that it will not be possible to pair the Ikea lights / sensors with the Hue Hub.

Juan - I need some more info to really understand what’s going on. Can you (and/or anyone else having this same problem) do the following?

  1. Open your IDE log
  2. Remove the bridge / HBS app and start over.
  3. When you link the hub / create the bridge in ST, the HBS app will have a log entry like:

[Debug] username [xxxxxxxxxxxxxxxxxxxxxx]"

  1. Copy the text to the right of “username” in that log entry.

  2. In a web browser, open the Hue CLIP tool by opening http:// [your hue hub’s ip address]/debug/clip.html

  3. In the URL portion of the Hue CLIP tool, replace “api/1234” with “api/ [paste your username from IDE]/lights”

  4. click “GET” on the Hue CLIP tool, copy the response of the bulb info & PM to me.

  5. In the URL portion of the Hue CLIP tool, now replace the word “lights” with “groups”

  6. click “GET” on the Hue CLIP tool, copy the response of the group info & PM to me.

Before you do all that clip tool stuff, can you at least send me the IDE log for the Hue B Smart app (not the bridge) for when its searching for your bulbs & groups? Thats the portion that will have any useful IDE info.

Dont care for the bulbs its this little 5 button hockey puck we are interested http://www.ikea.com/gb/en/products/lighting/smart-lighting/trådfri-remote-control-art-30338849/ at only £15 each if someone got it working with smartthings ikea will never be able to keep up with the demand for them

Welcome back @infofiend! And THANK YOU!

Hope you got things all sorted out on the personal side.

@infofiend - Just wanted to take a moment and thank you for consistently being available and making sure this app is solid. You continue to respond to requests for support via this thread. This is one of the best device types I run.

I’m glad all the personal stuff is taken care of. Just wanted to give a huge THANK YOU!

2 Likes

Hi @infofiend,

I seem to be having a similar issue @Juan is having. Got my hue hub added but it is hanging at finding bulbs and such.

Past the discovery of the hue hub, the HSB app log does not output anything when trying to discover bulbs and such. The logging goes to the HSB bridge logs and it outputs this when trying to discover bulbs and such:

10:08:25 AM: debug *********** null ********
10:08:25 AM: trace Bridge discovering all items on Hue hub.
10:07:56 AM: debug Installed with settings: [:]

I can send you the hue clip logs if you wish

thanks

Posting this over from the Web CoRE thread hoping to get assistance in how to set Transition to Color… please excuse the copy/paste

JDogg016
JUSTIN
30m

When using a Hue Device and you wish to transition to color you receive the following error if you select a preset:

7ce6ec09-8649-4d39-8344-fee72685963c 11:01:50 AM: error groovy.lang.MissingMethodException: No signature of method: script1493283233739276902994.setAdjustedColor() is applicable for argument types: (java.lang.String, java.lang.Long) values: [Azure, 60000]

This is covered in the Hue B Smart thread where they agree you cannot Transition to Color by simply selecting ‘Azure’.

In webCore there is the ability to enter a ‘value’, ‘expression’ or ‘argument’ as well as a preset (which does not work). Which of these three would be chosen and what is the format for the color (hex, RGB, HSL)? This is where I get tripped up and would like clarification.

I was plagued by the same issue and adding an ‘initialize()’ directive to the ‘discoverItems’ function (I placed it after the log.trace line) to the Hue B Smart Bridge DTH allowed me to discover devices again.

I am trying to figure a way to write a CoRe that will transition lights from one color to another but slowly. setTransitionTime seems to be the correct function, but I cannot get CoRE to set it.

If I use the function ttUp() the transition time will increase by 100ms for a split second and then go right back down.

setTransitionTime seems to do nothing as I cannot get a log to appear or to observe any change. As setTransitionTime is a value x 100 so theoretically setTransitionTime(99) should be 9900msec or 9.9 seconds. I can’t get this to occur. Also, is it possible to state setTransitionTime(random) by inserting a variable that would be randomized?

Hi Thanks for making this available to the commuunity.

I am trying to set it up but the smartapp can’t find mu HUE hub. Any advice?

It just keeps spinning on adding devices for me. What am I doing wrong?

 cxxxxxa-466d-41b8-8da2-61688xxxxxc934  9:38:36 PM: debug *********** null ********
 cxxxxxa-466d-41b8-8da2-61688xxxxxc934  9:38:36 PM: trace Bridge discovering all items on Hue hub.
 cxxxxxa-466d-41b8-8da2-61688xxxxxc934  9:38:23 PM: debug *********** null ********
 cxxxxxa-466d-41b8-8da2-61688xxxxxc934  9:38:23 PM: trace Bridge discovering all items on Hue hub.
 xxxbd7ca-4xxx-4xx8-8da2-616xxxd2c934  9:38:09 PM: debug *********** null ********
 xxxbd7ca-4xxx-4xx8-8da2-616xxxd2c934  9:38:09 PM: trace Bridge discovering all items on Hue hub.
 xxxbd7ca-4xxx-4xx8-8da2-616xxxd2c934  9:37:56 PM: debug *********** null ********
 xxxbd7ca-4xxx-4xx8-8da2-616xxxd2c934  9:37:56 PM: trace Bridge discovering all items on Hue hub.
 xxxbd7ca-4xxx-4xx8-8da2-616xxxd2c934  9:37:41 PM: debug *********** null ********
 xxxbd7ca-4xxx-4xx8-8da2-616xxxd2c934  9:37:41 PM: trace Bridge discovering all items on Hue hub.
 e002a6bd-5384-4b2d-b644-50ae275cee61  9:37:29 PM: debug getChildDevices(false), children=5
 e002a6bd-5384-4b2d-b644-50ae275cee61  9:37:29 PM: trace Harmony - error response: HBus timeout
 xxxbd7ca-4xxx-4xx8-8da2-616xxxd2c934  9:37:28 PM: debug *********** null ********
 xxxbd7ca-4xxx-4xx8-8da2-616xxxd2c934  9:37:28 PM: trace Bridge discovering all items on Hue hub.
 0xxxxb

I updated the HBS Bridge device handler to v 1.2 and the HBS app to version 1.0 - both now on GitHub - this will solve the problem of devices not loading in the HBS smartapp.

@infofiend What ever you did in the last update broke something. None of my bulbs show in live logging any more or the groups.

Good Morning,

I am getting confused over the installation and process of setting up a core.

When I install Hue B Smart I can add lights just fine, but when I get to scenes I show 102 scenes which is likely the result of a each scene begin assigned across my 12 groups (or so I guess).

Anyway, I added a few scenes with the expectation that I could create a webcore piston to turn on the lights and set a scene on motion.

However, I do not know how to correctly do this:

My piston is with the highlighted part the hue scene:

The result is supposed to turn on the kitchen lights BUT instead it turns on the balcony lights. I have confirmed that group 2 is the kitchen lights, but maybe I am doing something incorrect.

Does the added scene have to correspond to the groupsstrong text****

I updated from repo, but now it seems it can’t find the Hub. It seems to be worse.

xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:36 AM: debug Sending verify request for 00178824BC05 (0.0.0.0:80)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:32 AM: debug Sending verify request for 00178824BC05 (0.0.0.0:80)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:29 AM: debug Sending verify request for 00178824BC05 (0.0.0.0:80)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:26 AM: debug Sending verify request for 00178824BC05 (0.0.0.0:80)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:25 AM: debug Previously found bridge discovered
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:25 AM: debug Discovered bridge 00178824BC05 (0.0.0.0)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:25 AM: debug Discovery Response is [devicetype:04, mac:00178824BC05, networkAddress:00000000, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:xxxxxfxx-da50-11e1-xxxx-00178824bc05, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:0e523e26-1a1b-4cb6-8eea-f32ca18ec143].
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:24 AM: debug Previously found bridge discovered
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:24 AM: debug Discovered bridge 00178824BC05 (0.0.0.0)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:24 AM: debug Discovery Response is [devicetype:04, mac:00178824BC05, networkAddress:00000000, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2xxx2fxx-da50-11e1-xxxx-00178824bc05, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:0e523e26-1a1b-4cb6-8eea-f32ca18ec143].
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:23 AM: debug Bridge discovery sent.
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:23 AM: debug Sending bridge discovery.
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:20 AM: debug Sending verify request for 00178824BC05 (0.0.0.0:80)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:16 AM: debug Sending verify request for 00178824BC05 (0.0.0.0:80)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:13 AM: debug Sending verify request for 00178824BC05 (0.0.0.0:80)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:10 AM: debug Sending verify request for 00178824BC05 (0.0.0.0:80)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:09 AM: debug Previously found bridge discovered
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:09 AM: debug Discovered bridge 00178824BC05 (0.0.0.0)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:09 AM: debug Discovery Response is [devicetype:04, mac:00178824BC05, networkAddress:00000000, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:xxxxxxf80-da50-11e1-xxxx-00178824bc05, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:0e523e26-1a1b-4cb6-8eea-f32ca18ec143].
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:08 AM: debug Previously found bridge discovered
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:08 AM: debug Discovered bridge 00178824BC05 (0.0.0.0)
xxxxxxxxxxxf-axxxxxxxx-xxxxxxxxxxxx  10:20:08 AM: debug Discovery Response is [devicetype:04, mac:00178824BC05, networkAddress:00000000, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:xxxxxxf80-da50-11e1-xxxx-00178824bc05, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:0e523e26-1a1b-4cb6-8eea-f32ca18ec143].-a8c8-045f12037a7b  9:37:27 PM: debug Previously found bridge discovered

Yeah something is not correct. @infofiend after updating this morning it is not working as you can see from my log post a few posts above. I can confirm 100% that something in the new update has caused this. I reverted back to the previous code and now everything is working again. I hope my log above can help you track down the issue causing this.

After pressing Hue Hub center button, I get a “not authorized” error message in smart app. I published device handlers and smart app correctly (I think).

Any pointers on where I should start to look?

Log for Hue B Smart:
org.springframework.security.access.AccessDeniedException: Access is denied @ line 190

Log for Hue B Smart Bridge:
java.lang.NullPointerException: Cannot invoke method currentValue() on null object @ line 1391