You must remove the other one. This is doing some nasty stuff. I will update the install section.
This is interestingβ¦ I only have 4 bulbs so hard to test, can you send me the logs when you got the error ? Was it working with the Official HueConnect? (because I didnβt change anything related to the bulbs AFAICR).
Yes, I had the same issue with Hue (Connect) as well. I have removed it and replaced with Hue (ReConnect). Also, I cannot seem to get any of the scene devices to push hue scene to lights although the device shows momentary push event occurred.
Log at time of momentary event: 86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:33 PM:
info Bridge response: [{βerrorβ:{βtypeβ:5,βaddressβ:"/groups/0",βdescriptionβ:βinvalid/missing parameters in bodyβ}}]
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:33 PM: trace Parsing description
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:33 PM: debug Parsing βindex:0F, mac:00178810959A, ip:C0A80168, port:0050, requestId:4d1f14db-199d-4acc-97b6-19c1c5497266, headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1zdG9yZSwgbm8tY2FjaGUsIG11c3QtcmV2YWxpZGF0ZSwgcG9zdC1jaGVjaz0wLCBwcmUtY2hlY2s9MA0KUHJhZ21hOiBuby1jYWNoZQ0KRXhwaXJlczogTW9uLCAxIEF1ZyAyMDExIDA5OjAwOjAwIEdNVA0KQ29ubmVjdGlvbjogY2xvc2UNCkFjY2Vzcy1Db250cm9sLU1heC1BZ2U6IDM2MDANCkFjY2Vzcy1Db250cm9sLUFsbG93LU9yaWdpbjogKg0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM6IHRydWUNCkFjY2Vzcy1Db250cm9sLUFsbG93LU1ldGhvZHM6IFBPU1QsIEdFVCwgT1BUSU9OUywgUFVULCBERUxFVEUsIEhFQUQNCkFjY2Vzcy1Db250cm9sLUFsbG93LUhlYWRlcnM6IENvbnRlbnQtVHlwZQ0KQ29udGVudC10eXBlOiBhcHBsaWNhdGlvbi9qc29u, body:W3siZXJyb3IiOnsidHlwZSI6NSwiYWRkcmVzcyI6Ii9ncm91cHMvMCIsImRlc2NyaXB0aW9uIjoiaW52YWxpZC9taXNzaW5nIHBhcmFtZXRlcnMgaW4gYm9keSJ9fV0=β
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:31 PM: info Bridge response: [{βerrorβ:{βtypeβ:5,βaddressβ:"/groups/0",βdescriptionβ:βinvalid/missing parameters in bodyβ}}]
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:31 PM: trace Parsing description
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:31 PM: debug Parsing βindex:0F, mac:00178810959A, ip:C0A80168, port:0050, requestId:6fabac13-dfd1-4dc8-831a-c437283af102, headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1zdG9yZSwgbm8tY2FjaGUsIG11c3QtcmV2YWxpZGF0ZSwgcG9zdC1jaGVjaz0wLCBwcmUtY2hlY2s9MA0KUHJhZ21hOiBuby1jYWNoZQ0KRXhwaXJlczogTW9uLCAxIEF1ZyAyMDExIDA5OjAwOjAwIEdNVA0KQ29ubmVjdGlvbjogY2xvc2UNCkFjY2Vzcy1Db250cm9sLU1heC1BZ2U6IDM2MDANCkFjY2Vzcy1Db250cm9sLUFsbG93LU9yaWdpbjogKg0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM6IHRydWUNCkFjY2Vzcy1Db250cm9sLUFsbG93LU1ldGhvZHM6IFBPU1QsIEdFVCwgT1BUSU9OUywgUFVULCBERUxFVEUsIEhFQUQNCkFjY2Vzcy1Db250cm9sLUFsbG93LUhlYWRlcnM6IENvbnRlbnQtVHlwZQ0KQ29udGVudC10eXBlOiBhcHBsaWNhdGlvbi9qc29u, body:W3siZXJyb3IiOnsidHlwZSI6NSwiYWRkcmVzcyI6Ii9ncm91cHMvMCIsImRlc2NyaXB0aW9uIjoiaW52YWxpZC9taXNzaW5nIHBhcmFtZXRlcnMgaW4gYm9keSJ9fV0=β
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:26 PM: info Bridge response: [{βerrorβ:{βtypeβ:5,βaddressβ:"/groups/0",βdescriptionβ:βinvalid/missing parameters in bodyβ}}]
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:26 PM: trace Parsing description
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:26 PM: debug Parsing βindex:0F, mac:00178810959A, ip:C0A80168, port:0050, requestId:09cba05b-1883-4cdf-8d41-7da00b484da1, headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1zdG9yZSwgbm8tY2FjaGUsIG11c3QtcmV2YWxpZGF0ZSwgcG9zdC1jaGVjaz0wLCBwcmUtY2hlY2s9MA0KUHJhZ21hOiBuby1jYWNoZQ0KRXhwaXJlczogTW9uLCAxIEF1ZyAyMDExIDA5OjAwOjAwIEdNVA0KQ29ubmVjdGlvbjogY2xvc2UNCkFjY2Vzcy1Db250cm9sLU1heC1BZ2U6IDM2MDANCkFjY2Vzcy1Db250cm9sLUFsbG93LU9yaWdpbjogKg0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM6IHRydWUNCkFjY2Vzcy1Db250cm9sLUFsbG93LU1ldGhvZHM6IFBPU1QsIEdFVCwgT1BUSU9OUywgUFVULCBERUxFVEUsIEhFQUQNCkFjY2Vzcy1Db250cm9sLUFsbG93LUhlYWRlcnM6IENvbnRlbnQtVHlwZQ0KQ29udGVudC10eXBlOiBhcHBsaWNhdGlvbi9qc29u, body:W3siZXJyb3IiOnsidHlwZSI6NSwiYWRkcmVzcyI6Ii9ncm91cHMvMCIsImRlc2NyaXB0aW9uIjoiaW52YWxpZC9taXNzaW5nIHBhcmFtZXRlcnMgaW4gYm9keSJ9fV0=β
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:23 PM: info Bridge response: [{βerrorβ:{βtypeβ:5,βaddressβ:"/groups/0",βdescriptionβ:βinvalid/missing parameters in bodyβ}}]
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:23 PM: trace Parsing description
86bf792a-01b4-46b3-b427-3d1742f34d66 1:52:23 PM: debug Parsing βindex:0F, mac:00178810959A, ip:C0A80168, port:0050, requestId:5431988c-d7c4-4e3d-85a9-39aeacd32d3a, headers:SFRUUC8xLjEgMjAwIE9LDQpDYWNoZS1Db250cm9sOiBuby1zdG9yZSwgbm8tY2FjaGUsIG11c3QtcmV2YWxpZGF0ZSwgcG9zdC1jaGVjaz0wLCBwcmUtY2hlY2s9MA0KUHJhZ21hOiBuby1jYWNoZQ0KRXhwaXJlczogTW9uLCAxIEF1ZyAyMDExIDA5OjAwOjAwIEdNVA0KQ29ubmVjdGlvbjogY2xvc2UNCkFjY2Vzcy1Db250cm9sLU1heC1BZ2U6IDM2MDANCkFjY2Vzcy1Db250cm9sLUFsbG93LU9yaWdpbjogKg0KQWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM6IHRydWUNCkFjY2Vzcy1Db250cm9sLUFsbG93LU1ldGhvZHM6IFBPU1QsIEdFVCwgT1BUSU9OUywgUFVULCBERUxFVEUsIEhFQUQNCkFjY2Vzcy1Db250cm9sLUFsbG93LUhlYWRlcnM6IENvbnRlbnQtVHlwZQ0KQ29udGVudC10eXBlOiBhcHBsaWNhdGlvbi9qc29u, body:W3siZXJyb3IiOnsidHlwZSI6NSwiYWRkcmVzcyI6Ii9ncm91cHMvMCIsImRlc2NyaXB0aW9uIjoiaW52YWxpZC9taXNzaW5nIHBhcmFtZXRlcnMgaW4gYm9keSJ9fV0=β
For completeness, following is my βScene Objectβ on the hue bridge:
{
βDuskβ: {
βnameβ: βDuskβ,
βlightsβ: [
β1β,
β2β,
β3β,
β4β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β15β,
β16β,
β17β,
β18β,
β19β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β27β,
β28β,
β29β,
β30β,
β34β,
β35β,
β36β,
β37β,
β38β,
β39β,
β43β,
β44β
],
βactiveβ: true
},
β6b6f8fcd6-on-0β: {
βnameβ: βPencils on 0β,
βlightsβ: [
β3β,
β12β,
β21β
],
βactiveβ: true
},
β073bedc16-on-0β: {
βnameβ: βPencils on 0β,
βlightsβ: [
β1β,
β2β,
β3β,
β4β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β15β,
β16β,
β17β,
β18β,
β19β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β27β,
β28β,
β29β,
β30β,
β34β,
β35β,
β36β
],
βactiveβ: true
},
βbe784eb03-on-0β: {
βnameβ: βKathy on 0β,
βlightsβ: [
β3β,
β12β,
β21β
],
βactiveβ: true
},
β07e89cf8e-on-0β: {
βnameβ: βKathy on 0β,
βlightsβ: [
β1β,
β2β,
β3β,
β4β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β15β,
β16β,
β17β,
β18β,
β19β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β27β,
β28β,
β29β,
β30β,
β34β,
β35β,
β36β
],
βactiveβ: true
},
βNightβ: {
βnameβ: βNightβ,
βlightsβ: [
β1β,
β2β,
β3β,
β4β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β15β,
β16β,
β17β,
β18β,
β19β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β27β,
β28β,
β29β,
β30β,
β34β,
β35β,
β36β,
β37β,
β38β,
β39β,
β43β,
β44β
],
βactiveβ: true
},
βLateβ: {
βnameβ: βLateβ,
βlightsβ: [
β1β,
β2β,
β3β,
β4β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β15β,
β16β,
β17β,
β18β,
β19β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β27β,
β28β,
β29β,
β30β,
β34β,
β35β,
β36β,
β37β,
β38β,
β39β,
β43β,
β44β
],
βactiveβ: true
},
βEveningβ: {
βnameβ: βEveningβ,
βlightsβ: [
β1β,
β2β,
β3β,
β4β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β15β,
β16β,
β17β,
β18β,
β19β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β27β,
β28β,
β29β,
β30β,
β34β,
β35β,
β36β,
β37β,
β38β,
β39β,
β43β,
β44β
],
βactiveβ: true
},
βGoodnightβ: {
βnameβ: βGoodnightβ,
βlightsβ: [
β1β,
β2β,
β3β,
β4β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β15β,
β16β,
β17β,
β18β,
β19β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β27β,
β28β,
β29β,
β30β,
β34β,
β35β,
β36β,
β37β,
β38β,
β39β,
β43β,
β44β
],
βactiveβ: true
},
βNetflixβ: {
βnameβ: βNetflixβ,
βlightsβ: [
β2β,
β10β,
β12β,
β13β,
β29β,
β37β,
β38β
],
βactiveβ: true
},
β316435f31-on-0β: {
βnameβ: βReading on 0β,
βlightsβ: [
β2β,
β3β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β16β,
β17β,
β18β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β29β,
β30β
],
βactiveβ: true
},
βecb3c0d42-on-0β: {
βnameβ: βVarulv on 0β,
βlightsβ: [
β1β,
β2β,
β3β,
β4β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β15β,
β16β,
β17β,
β18β,
β19β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β27β,
β28β,
β29β,
β30β,
β43β,
β44β
],
βactiveβ: true
},
βeabda7d84-on-0β: {
βnameβ: βVarulv on 0β,
βlightsβ: [
β1β,
β2β,
β3β,
β4β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β15β,
β16β,
β17β,
β18β,
β19β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β27β,
β28β,
β29β,
β30β,
β43β,
β44β
],
βactiveβ: true
},
β9f0386d6f-on-0β: {
βnameβ: βReading on 0β,
βlightsβ: [
β1β,
β2β,
β3β,
β4β,
β5β,
β6β,
β7β,
β8β,
β9β,
β10β,
β11β,
β12β,
β13β,
β14β,
β15β,
β16β,
β17β,
β18β,
β19β,
β20β,
β21β,
β22β,
β23β,
β24β,
β25β,
β26β,
β27β,
β28β,
β29β,
β30β,
β43β,
β44β
],
βactiveβ: true
}
}
First something get wrong here, you should not have null next to your scene name.
I will need:
- The logs when you launch the smartApp and it starts refreshing bulb and scenes.
- The content of the smartApp (My Location, List SmartApps, Click on Hue connect and capture the entire pop over).
- Devices, click on one of the Scene created as device and copy the entire page as well.
Please paste the logs in a gist.
I need the error you got (in a gist) when trying to install more than 20 bulbs at the same time.
Iβm attempting to reset my hub. I want to rule out these problems. I cannot even reset my hub through the IDE or STM app. Something went really wrong, not certain what the reasonβ¦
I tried the app⦠it did not work.
Maybe itβs a coincidence, but the post update problems that have been plaguing a lot of people started doing the same to me as soon as this was installed.
Without logs I canβt tell works fine for me and others. Thanks to provide feedback with logs.
Itβs a coincidence, I didnβt get a chance to install this, but my problems started yesterday. Maybe works backwards for me and after I install this my other problems go away
What kind of issue did you have? Thatβs funnyβ¦
Major zigbee issues with my entire meshβ¦
It was a jokeβ¦ I know this app had nothing to do with itβ¦
I canβt wait until the problems are fixed so I can install this app and use it like itβs meant to be.
This is too cool! Everything worked smoothly here. And being able to add the scenes in routines is double awesome! Thanks againβ¦
Works really good.
How can I add new scenes? If I add a scene in the Hue App, it doesnt show up in the re-connect search and find area
When you add a scene on your app, be sure to trigger it one or two times (this will push the scene to the hue bridge). Then it should appear. Beware, you can have duplicate of scene due to HUE Bridge limitation with scenes.
Can you elaborate on this?
Read this:
https://github.com/CyrilPeponnet/smartthings/tree/master/smartapp/HueConnect#important-notes
NOW WORKING FOR ME! The object βit.value.lightsβ is null on my hub and it was not being mapped correctly; therefore, I added an additional condition check in code. The following code revision beginning at line 254 fixed this issue for me:
Map scenesDiscovered() {
def scenes = getHueScenes()
def scenemap = [:]
if (scenes instanceof java.util.Map) {
scenes.each {
def value = null
if (!it.value.lights){
value = β${it.value.name.minus(~/ on \d+/)} Sceneβ
} else {
value = β${it.value.name.minus(~/ on \d+/)} ${it.value.lights}β
}
log.debug it.value // See if lights value exists in map
def key = app.id +"/"+ it.value.id
scenemap["${key}"] = value
}
} else { //backwards compatable
scenes.each {
def value = β${it.name}β
def key = app.id +β/β+ it.id
scenemap["${key}"] = value
}
}
return scenemap
}
EDIT: I wonder if the number of lights displayed in the scene selection dialog is causing a problem? All of my scenes have in excess of 25-30 lights associated with each scene.
This code fixed the issue for me, and I am very happy with the results!
Thanks for the great addition to this app!!!
This is really weird, could you so something for me?
curl "http://<IP_OF_YOUR_HUB>/api/<USERNAME>/scenes"
An replace:
- <IP_OF_YOUR_HUB> with the current IP of your HUB
- you can find this under https://graph.api.smartthings.com/location, List SmartApps, Click on HueConnect and in the popover look for the field username.
PS: if you donβt have curl just pour the URL βhttp://<IP_OF_YOUR_HUB>/api//scenesβ in your browser and paste me the result in a gist (https://gist.github.com) and give me the link to it. Iβd really to understand what is going on.