tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
383 stars 765 forks source link

Not getting any accesories configured #209

Closed steveternes closed 4 years ago

steveternes commented 7 years ago

Able to add the homebridge but no accessories are showing up, have them configured in the app. Am I supposed to add the devices to the json config?

getting the following... [2017-9-23 16:01:50] Loaded plugin: homebridge-smartthings [2017-9-23 16:01:50] Registering platform 'homebridge-smartthings.SmartThings' [2017-9-23 16:01:50] --- [2017-9-23 16:01:50] Loaded config.json with 0 accessories and 1 platforms. [2017-9-23 16:01:50] --- [2017-9-23 16:01:50] Loading 1 platforms... [2017-9-23 16:01:50] [SmartThings] Initializing SmartThings platform... [2017-9-23 16:01:50] [SmartThings] Fetching Smart Things devices. [2017-9-23 16:01:50] [SmartThings] Error received type undefined - undefined [2017-9-23 16:01:50] [SmartThings] Unknown Capabilities: []

kenlpeters commented 7 years ago

Same Here. I have tried everything and this just continues to be the result. Has anyone figured it out?

kenlpeters commented 7 years ago

Any update on this issue?

kenlpeters commented 7 years ago

I have uninstalled and re-installed Homebridge and plugin and I still get the errors above. I have tried everything except starting from scratch with a new install of Jessie, but I do not want to do that because I have other items running on my Pi. So any help would be appreciated.

steveternes commented 7 years ago

I got it to work, it was the way i was listing the platforms & accessories.

Thanks

Stephen Ternes

On Sep 29, 2017, at 4:41 AM, kenlpeters notifications@github.com wrote:

Any update on this issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jeffl78 commented 7 years ago

I'm hanging the same problem except my logs also report that it is "Loading 0 accessories". This appears the line after it reports fetching SmartThings devices and before the errors you got.

kenlpeters commented 7 years ago

I finally figured it out. I delete the smart app from the SmartThings web portal. Then deleted it from Phone app. I then re-added it from github and enabled oauth. After that I published it. I then Went into my phone and add the smart app and clicked done. Then I went back into the smart app from the automation menu and clicked on the config. I copied the client id and secret id and put them in my config.json

Sent from my iPhone

On Oct 1, 2017, at 3:04 PM, jeffl78 notifications@github.com wrote:

I'm hanging the same problem except my logs also report that it is "Loading 0 accessories". This appears the line after it reports fetching SmartThings devices and before the errors you got.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

jeffl78 commented 7 years ago

I tired following these step and am getting the same error still. Thanks for the advice anyway.

0xfgarcia commented 7 years ago

Same error here...

Loading 1 platforms... [2017-11-6 17:40:15] [SmartThings] Initializing homebridge-smartthings.SmartThings platform... [2017-11-6 17:40:15] [SmartThings] Fetching Smart Things devices. [2017-11-6 17:40:15] Loading 0 accessories... [2017-11-6 17:40:15] [SmartThings] Error received type undefined - undefined [2017-11-6 17:40:15] [SmartThings] Unknown Capabilities: []