[OBSOLETE] Hue B Smart (Groups & Scenes) - Remove Popcorn Effect!

More errors on the SmartApp.

Logs

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:11:31 PM: infoManage Bridge MAC Address 0017882CA445

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:11:27 PM:debug Bridges Linked MAC Address 0017882CA445

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:11:27 PM:debug Bridges Linked IP Address 10.0.0.133

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:11:17 PM: errorgroovy.lang.MissingPropertyException: No such property: description for class: java.lang.String @line 896 (locationHandler)

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:41 PM: tracePreviously found bridge discovered

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:41 PM: infoDiscovered bridge 0017882CA445 (10.0.0.133)

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:41 PM: traceDiscovery Response is [devicetype:04, mac:0017882CA445, networkAddress:0A000085, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882ca445, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:d9c98b70-dd99-4b50-84b6-5da994f0293b]

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:40 PM: tracePreviously found bridge discovered

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:40 PM: infoDiscovered bridge 0017882CA445 (10.0.0.133)

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:40 PM: traceDiscovery Response is [devicetype:04, mac:0017882CA445, networkAddress:0A000085, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882ca445, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:d9c98b70-dd99-4b50-84b6-5da994f0293b]

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:40 PM: tracePreviously found bridge discovered

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:40 PM: infoDiscovered bridge 0017882CA445 (10.0.0.133)

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:40 PM: traceDiscovery Response is [devicetype:04, mac:0017882CA445, networkAddress:0A000085, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882ca445, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:d9c98b70-dd99-4b50-84b6-5da994f0293b]

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:38 PM: tracePreviously found bridge discovered

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:38 PM: infoDiscovered bridge 0017882CA445 (10.0.0.133)

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:38 PM: traceDiscovery Response is [devicetype:04, mac:0017882CA445, networkAddress:0A000085, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882ca445, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:d9c98b70-dd99-4b50-84b6-5da994f0293b]

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:37 PM: tracePreviously found bridge discovered

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:37 PM: infoDiscovered bridge 0017882CA445 (10.0.0.133)

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:37 PM: traceDiscovery Response is [devicetype:04, mac:0017882CA445, networkAddress:0A000085, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882ca445, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:d9c98b70-dd99-4b50-84b6-5da994f0293b]

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:37 PM: tracePreviously found bridge discovered

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:37 PM: infoDiscovered bridge 0017882CA445 (10.0.0.133)

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:37 PM: traceDiscovery Response is [devicetype:04, mac:0017882CA445, networkAddress:0A000085, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-0017882ca445, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:d9c98b70-dd99-4b50-84b6-5da994f0293b]

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM:debug Bridges Linked MAC Address 0017882CA445

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM:debug Bridges Linked IP Address 10.0.0.133

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM: warnBridge Discovery Sent - Version is 1.6

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM: infoSending bridge discovery

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM:debug Bridges Linked MAC Address 0017882CA445

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM:debug Bridges Linked IP Address 10.0.0.133

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM: warnBridge Discovery Sent - Version is 1.6

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM: infoSending bridge discovery

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM:debug Bridges Linked MAC Address 0017882CA445

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM:debug Bridges Linked IP Address 10.0.0.133

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM:debug Bridges Linked MAC Address 0017882CA445

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:35 PM:debug Bridges Linked IP Address 10.0.0.133

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:33 PM: infoManage Bridge DeviceName is Hue Hub

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:33 PM: infoManage Bridge IP Address 10.0.0.133

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:30 PM: infoManage Bridge MAC Address 0017882CA445

7b7e67a9-cee6-4dc4-9a7b-f58dbb512f5e 12:08:30 PM: traceManage Bridge uuid:2f402f80-da50-11e1-9b23-0017882ca445={bulbs={10={id=10, label=Bathroom 3, state={alert=none, bri=100, colormode=hs, ct=359, effect=none, hue=7422, mode=homeautomation, on=false, reachable=true, sat=117, xy=[0.4540, 0.3975]}, type=Extended color light}, 11={id=11, label=Bathroom 1, state={alert=none, bri=100, colormode=hs, ct=359, effect=none, hue=7422, mode=homeautomation, on=false, reachable=true, sat=117, xy=[0.4540, 0.3975]}, type=Extended color light}, 12={id=12, label=Bathroom 4, state={alert=none, bri=100, colormode=hs, ct=359, effect=none, hue=7422, mode=homeautomation, on=false, reachable=true, sat=117, xy=[0.4540, 0.3975]}, type=Extended color light}, 13={id=13, label=Front Door Hue, state={alert=none, bri=203, mode=homeautomation, on=false, reachable=true}, type=Dimmable light}, 14={id=14, label=Office Hue, state={alert=none, bri=200, mode=homeautomation, on=false, reachable=true}, type=Dimmable light}, 15={id=15, label=Living Room Lamp, state={alert=none, bri=230, colormode=hs, ct=325, effect=none, hue=57140, mode=homeautomation, on=false, reachable=true, sat=200, xy=[0.4323, 0.2293]}, type=Extended color light}, 16={id=16, label=Living Room Lamp 2, state={alert=none, bri=230, colormode=hs, ct=325, effect=none, hue=57140, mode=homeautomation, on=false, reachable=true, sat=200, xy=[0.4323, 0.2293]}, type=Extended color light}, 17={id=17, label=K/L Lightstrip, state={alert=none, bri=152, colormode=hs, ct=153, effect=none, hue=41778, mode=homeautomation, on=false, reachable=true, sat=90, xy=[0.3014, 0.3174]}, type=Extended color light}, 18={id=18, label=Bedroom Lamp 2, state={alert=none, bri=165, colormode=xy, ct=236, effect=none, hue=54479, mode=homeautomation, on=false, reachable=true, sat=188, xy=[0.3716, 0.2103]}, type=Extended color light}, 19={id=19, label=Bedroom Lamp 1, state={alert=none, bri=165, colormode=xy, ct=236, effect=none, hue=54479, mode=homeautomation, on=false, reachable=true, sat=188, xy=[0.3716, 0.2103]}, type=Extended color light}, 7={id=7, label=Living Room Soffiā€¦[TRUNCATED]

Iā€™ve spoken to another person using this SmartApp and they get the same results

Yup i just noticed that smartthings wasnt refreshing the lights and discovered the bugs you and just come on here to ask if anyone else is getting errors, clearing everyone is, I just tested my friends houses they get errors but its all different. Iā€™m on the ST Beta team I keep moaning Groups and Scenes should be officially supported by now. My app is buggy and clearing ST have done backend changes thats made it even worst

Hopefully they will roll these changes back. If they have no plan to support groups, they shouldnā€™t interfere with things that work.

Did they roll out a new protocol?

warnBridge Discovery Sent - Version is 1.6

Sorry if this is a stupid question, but Iā€™ve been up all night trying to get the app to work. When itā€™s said ā€œYou need to remove all standard hue apps and devices before you can install this oneā€, does it mean remove hue apps and devices from the SmartThings hub or the Hue bridge? Iā€™m assuming it means the SmartThings hub, which I did, but I just cannot get the app to see my Hue bridge.

I had it linked last week but after having reinstalled SmartThings with a new location last night, itā€™s now buggered.

My log says:

warn Bridge Discovery Sent - Version is 1.6
info Sending bridge discovery
warn Bridge Discovery Sent - Version is 1.6
info Sending bridge discovery
info Sending bridge discovery
info Doing Hue Device Sync!
warn Bridge Discovery Sent - Version is 1.6
info Sending bridge discovery

The steps that Iā€™ve taken are:

  1. Uninstalled all Hue B Smarts devices from ST
  2. Removed the app and device handlers
  3. Reset my Hue bridge
  4. Created rooms on the Philips Hue app and set up lights and accessories.
  5. Created a new location for the ST hub and set up rooms
  6. Updated the app and device handlers from: tmleafs/Hue_B_Smart (master)
  7. Couldnā€™t connect the app to the Hue bridge
  8. Renamed new location to the same as the old location
  9. Successfully connected to the Hue bridge
  10. Unable to connect to Hue devices on the bridge
  11. Unlinked the Hue bridge to try again
  12. Now Iā€™m unable to reconnect to the Hue bridge.

Is it that Iā€™m doing something wrong or am I just experiencing the issues in the posts above relating to backend changes? Would appreciate any guidance. Thanks.

Itā€™s just bad timing smartthings has changed backend stuff during the 6th September which has broken this app for the time being Iā€™m affaid.

Good news though I will have a test setup of smartthings and hue at work to help me improve and fix this app but annoying I didnā€™t have time to set it up this week so canā€™t be used over this weekend.

Thanks for the update. Can I check the right way to set things up for when the time comes.

Should I add bulbs/devices and scenes to the Hue bridge first, then install the HBS app or should the Hue bridge have no bulbs/devices or scenes added, but add them as Things in SmartThings after the HBS app has been installed?

Iā€™m getting there I fixed the errors but seem to of broken multiple hubs so currently my upstairs isnā€™t working

Add everything to the hue bridge. All this app does is pull everything from the hue bridge

1 Like

@markbelch @Tony_B

I believe i have fixed it havenā€™t pushed it to master yet
Test code is here 1.7 Fix

Looks good to me for refreshing. Will test more in a bit.

Edit: Devices discover in the SmartApp now. Looks great.

Iā€™ll have to see what actually changed. Not very astute at groovy yet but this is good learning material.

Where did you get the documentation of 1.7?

1 Like

The 1.7 fix isnā€™t working for me. The log says:

warn Bridge Discovery Sent - Version is 1.7
info Sending bridge discovery
warn Bridge Discovery Sent - Version is 1.7
info Sending bridge discovery

I think I know what to do for fresh installs give a hour or so

I have made a change just the smartapp, I canā€™t test fresh installs until tomorrow so currently you are my tester

Changes I have made can been seen here

its all thanks to @RBoy and this post

1 Like

Thanks to @markbelch I can confirm fresh installs now work will merge the changes into master soon

Thanks. My good night routine works again now :grin:

Really appreciate the effort folk like yourself put into the ST community.

1 Like

Are you going to change the title on this thread when you commit to master?

Committed to Master
Updated - Version 1.7 9th September 2018

Thanks for this. Onto something a little less important :wink:

I have a lot of API calls for webCoRE to turn lights on with very specific colors and brightness.

When I do that, I know that it never will be catching up to put the lights in the on-state in SmartThings.

Other than writing a piston to refresh all hue devices every minute, is there a way to poll in the DTH for the hub?

Maybe a capability of polling?