tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
383 stars 766 forks source link

Loading 0 accessories... #287

Closed mykq32 closed 4 years ago

mykq32 commented 5 years ago

Apologies if this has been posted before but I searched high and low for possible fixes and have yet to find a solution.

In short, I followed the instructions and I am unable to get any devices from ST to load to homebridge. I continuously get the following errors:

pi@raspberrypi:~ $ sudo killall homebridge pi@raspberrypi:~ $ homebridge [2019-2-6 02:08:16] Loaded config.json with 0 accessories and 2 platforms. [2019-2-6 02:08:17] --- [2019-2-6 02:08:18] Loaded plugin: homebridge-nest [2019-2-6 02:08:18] Registering platform 'homebridge-nest.Nest' [2019-2-6 02:08:18] --- [2019-2-6 02:08:20] Loaded plugin: homebridge-smartthings-tonesto7 Homebridge Version: 2.3 [2019-2-6 02:08:20] Registering platform 'homebridge-smartthings.SmartThings' [2019-2-6 02:08:20] --- [2019-2-6 02:08:20] Loading 2 platforms... [2019-2-6 02:08:20] [Nest] Initializing Nest platform... [2019-2-6 02:08:20] [Nest] Fetching Nest devices. [2019-2-6 02:08:20] [SmartThings] Initializing SmartThings platform... [2019-2-6 02:08:20] [SmartThings] Fetching SmartThings devices. [2019-2-6 02:08:20] Loading 0 accessories... [2019-2-6 02:08:21] [SmartThings] Error received type undefined - undefined [2019-2-6 02:08:21] [SmartThings] Unknown Capabilities: [] [2019-2-6 02:08:21] [SmartThings] update_method: direct [2019-2-6 02:08:21] [SmartThings] Direct Connect Is Listening On 192.168.1.102:8000 [2019-2-6 02:08:23] [Nest] initing thermostat "Hallway Thermostat": deviceId: nrLK6umOzj1kGDyFf2x17Ut57HvarDc4 structureId: U_FBqsFJT6cRDB0NgA-pR0MPi4i4THCQgPV2XfsmwB5kgI0IndMSCw [2019-2-6 02:08:23] [Nest] Initializing platform accessory 'Hallway Thermostat'... Setup Payload:

I checked everything from the id, toke, ports, etc. Any help would be greatly appreciated.

pdlove commented 5 years ago

Did you add devices to the smartapp using the smartthings app on your phone?

scottomator commented 5 years ago

I'm seeing the same problem. SmartThings now has two apps on iOS. Only the Classic app has a Marketplace tab. When I select devices, hit Save, and then go back into the JSON Complete API app, the devices are no longer selected, as if they never saved.

scottomator commented 5 years ago

I solved it in my case: I did not realize that when you save a SmartApp in the Marketplace tab, it creates a new app – you should edit your config under the Automation tab.

rod77ama commented 5 years ago

Hi I'm having the same problem. I am unable to get any devices from ST to load to homebridge. I can see the Homebridge in HomeKit app but no device is listed...

Could please someone help?

[7/28/2019, 10:45:38 AM] Loaded config.json with 0 accessories and 1 platforms. [7/28/2019, 10:45:38 AM] --- [7/28/2019, 10:45:38 AM] Loaded plugin: homebridge-smartthings [7/28/2019, 10:45:38 AM] Registering platform 'homebridge-smartthings.SmartThings' [7/28/2019, 10:45:38 AM] --- [7/28/2019, 10:45:38 AM] Loading 1 platforms... [7/28/2019, 10:45:38 AM] [SmartThings] Initializing homebridge-smartthings.SmartThings platform... [7/28/2019, 10:45:38 AM] [SmartThings] Fetching Smart Things devices. [7/28/2019, 10:45:39 AM] [SmartThings] Invalid Response from API call [7/28/2019, 10:45:39 AM] [SmartThings] Unknown Capabilities: [] Setup Payload:

Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge

[7/28/2019, 10:45:39 AM] Homebridge is running on port 51826. [7/28/2019, 10:45:39 AM] [SmartThings] Direct Connect Is Listening On 192.168.0.11:8000