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

What code are you using should be using this

That is what I am using. I had anthor update for the handlers and it works now. Odd that it would not work unless I updated the code.

Smartthings changed the way some functions worked on the 6th September we fixed it and updated Hue B Smart on the 9th

1 Like

Iā€™ve been using this app for a long time but just tried to discover some new hue appliances. I can see everything work in the logs but nothing appears in the UI. Iā€™m getting this error in the logs after it finds the bridge and devices.

b8d0cc57-4628-404b-8566-9eb06b00ed887:50:37 AM: errorjava.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer @line 276 (parse)

I updated from the tmleafs GitHub about 48 hours ago and itā€™s still failing.

@infofiend Do you know what this error means? It is coming from the Hue B Smart app.

9:56:36 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 681 (updateStatus)

Iā€™m sorry, I donā€™t. Have you updated to newest version?

Anthony Pastor

Yes I have

I was having issues recently with hue devices not updating in SmartThings. I figured as Hue was working as expected everywhere else, I should remove and re-install hue b smart.

I have removed all device automations and attempted to delete my hub from the SmartApp, but get an error.

I see no device of that name, so cannot proceed. What next? Please help!

Thanks

Ok, I figure it was referring to the Hue bridge within webcore. Removed it and then I could delete!

Didnā€™t need to remove it just needed to update to the latest version 1.8 released 2 days ago

Well, it appears Iā€™ve been using the old repo from info_fiend. Is that why Iā€™ve been having delay issues then?

Surprised it even works

Actually, it was yours. Just the name says it was info_fiend!

Despite uninstalling and reinstalling, im still having delay issues. Any ideas?

Thanks

What do you mean by delay issues

Itā€™s the same name as I took over the project

SmartThings takes quite a while (>2 minutes) to update current hue light state.

If you use 3rd party apps or devices outside SmartThings to control hue you will get delay of less than a 5 minutes can be changed to every minute but I wouldnā€™t recommend that

I just noticed over the last couple of days that my ActionTiles wasnā€™t updating. Tested direct in ST and found it wasnā€™t either. Now Iā€™ve reinstalled, it just seems much slower than it was before?

1.8 released a few days ago fixed issues

2 Likes

Hope this branch is still live!

Iā€™m having trouble with setup. I get my bridge connected, and things seem to work fine on the ā€œManage Bridgeā€ screen. However, when I click into ā€œChoose Scenesā€ the only link that works is ā€œBack to Bridgeā€. Attempting to click on any other links (including all of the ā€œAddā€ links) does not generate any log entries.

I played around with adding some new href tags that link to the same page, and it seems like the current SmartThings app is ignoring links to the current page (even if the params change).

Note: I did reboot my SmartThings hub, and nothing referenced here changed.

Minimal logs seem to be configured for this page - so Iā€™m not sure including logs will help. I added some logging myself, but could not find anything suspect. I also added a link at the bottom back to the previous page - and that functioned (so it is something specific to linking to the same page).

Regardless, here are full logs for my session (using a clean, unmodified version of the 1.83 code):
c978f0cc-7879-400b-aacd-135556d481c2 8:01:23 PM: trace Previously found bridge discovered
c978f0cc-7879-400b-aacd-135556d481c2 8:01:23 PM: info Discovered bridge 001788625A80 (192.168.1.35)
c978f0cc-7879-400b-aacd-135556d481c2 8:01:23 PM: trace Discovery Response is [devicetype:04, mac:001788625A80, networkAddress:C0A80123, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788625a80, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:992fc836-5f98-4c23-bf28-a484fb6f4af7]
c978f0cc-7879-400b-aacd-135556d481c2 8:01:22 PM: trace Previously found bridge discovered
c978f0cc-7879-400b-aacd-135556d481c2 8:01:22 PM: info Discovered bridge 001788640C20 (192.168.1.33)
c978f0cc-7879-400b-aacd-135556d481c2 8:01:22 PM: trace Discovery Response is [devicetype:04, mac:001788640C20, networkAddress:C0A80121, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788640c20, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:992fc836-5f98-4c23-bf28-a484fb6f4af7]
c978f0cc-7879-400b-aacd-135556d481c2 8:01:22 PM: info Found new bridge
c978f0cc-7879-400b-aacd-135556d481c2 8:01:22 PM: info Discovered bridge 001788625A80 (192.168.1.35)
c978f0cc-7879-400b-aacd-135556d481c2 8:01:22 PM: trace Discovery Response is [devicetype:04, mac:001788625A80, networkAddress:C0A80123, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788625a80, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:992fc836-5f98-4c23-bf28-a484fb6f4af7]
c978f0cc-7879-400b-aacd-135556d481c2 8:01:21 PM: trace Previously found bridge discovered
c978f0cc-7879-400b-aacd-135556d481c2 8:01:21 PM: info Discovered bridge 001788640C20 (192.168.1.33)
c978f0cc-7879-400b-aacd-135556d481c2 8:01:21 PM: trace Discovery Response is [devicetype:04, mac:001788640C20, networkAddress:C0A80121, deviceAddress:0050, stringCount:04, ssdpPath:/description.xml, ssdpUSN:uuid:2f402f80-da50-11e1-9b23-001788640c20, ssdpTerm:urn:schemas-upnp-org:device:basic:1, ssdpNTS:null, hub:992fc836-5f98-4c23-bf28-a484fb6f4af7]
c978f0cc-7879-400b-aacd-135556d481c2 8:01:19 PM: trace Manage Bridge uuid:2f402f80-da50-11e1-9b23-001788640c20={bulbs={10={id=10, label=Addition 2, state={alert=none, bri=205, colormode=xy, ct=153, effect=none, hue=2866, mode=homeautomation, on=true, reachable=true, sat=208, xy=[0.5874, 0.3566]}, type=Extended color light}, 11={id=11, label=Living room lamp 3, state={alert=none, bri=254, mode=homeautomation, on=true, reachable=true}, type=Dimmable light}, 12={id=12, label=Living room ceiling 2, state={alert=none, bri=254, mode=homeautomation, on=true, reachable=true}, type=Dimmable light}, 13={id=13, label=Living room ceiling 4, state={alert=none, bri=254, mode=homeautomation, on=true, reachable=true}, type=Dimmable light}, 14={id=14, label=Living room ceiling 3, state={alert=none, bri=254, mode=homeautomation, on=true, reachable=true}, type=Dimmable light}, 15={id=15, label=Living Room Ceiling 1, state={alert=none, bri=254, mode=homeautomation, on=true, reachable=true}, type=Dimmable light}, 16={id=16, label=Luving room ceiling 6, state={alert=select, bri=254, mode=homeautomation, on=true, reachable=true}, type=Dimmable light}, 17={id=17, label=Living room ceiling 5, state={alert=select, bri=254, mode=homeautomation, on=true, reachable=true}, type=Dimmable light}, 5={id=5, label=Living room lamp 1, state={alert=select, bri=254, mode=homeautomation, on=true, reachable=true}, type=Dimmable light}, 6={id=6, label=Living Room lamp 2, state={alert=none, bri=254, mode=homeautomation, on=true, reachable=true}, type=Dimmable light}, 8={id=8, label=Addition 3, state={alert=none, bri=205, colormode=xy, ct=500, effect=none, hue=4903, mode=homeautomation, on=true, reachable=true, sat=193, xy=[0.5409, 0.3818]}, type=Extended color light}, 9={id=9, label=Addition 1, state={alert=none, bri=205, colormode=xy, ct=153, effect=none, hue=2866, mode=homeautomation, on=true, reachable=true, sat=208, xy=[0.5874, 0.3566]}, type=Extended color light}}, deviceAddress=0050, devicetype=04, groups={1={action={alert=select, bri=254, on=true}, all_on=true, any_on=true, id=1, label=TV Area, lightsā€¦[TRUNCATED]
c978f0cc-7879-400b-aacd-135556d481c2 8:01:18 PM: debug Bridges Linked MAC Address 001788640C20
c978f0cc-7879-400b-aacd-135556d481c2 8:01:18 PM: debug Bridges Linked IP Address 192.168.1.33
c978f0cc-7879-400b-aacd-135556d481c2 8:01:18 PM: debug Bridges Linked MAC Address 001788640C20
c978f0cc-7879-400b-aacd-135556d481c2 8:01:18 PM: debug Bridges Linked IP Address 192.168.1.33
c978f0cc-7879-400b-aacd-135556d481c2 8:01:18 PM: warn Bridge Discovery Sent - Version is 1.83
c978f0cc-7879-400b-aacd-135556d481c2 8:01:18 PM: info Sending bridge discovery

Thank you!

I transferred the above question to the new thread - please send any responses there!