Platform Loads - But No devices identified even though listed in JSON
Hey Folks! 

I had this working, but after a migration and starting over I can't seem to get smart things to talk to my home bridge anymore. (I suggested home bridge go buy some flowers and chocolates but they are being stubborn 😜)

Ob a more serious note, I am based in the EU and used the graph.api smartthings EDI to load the repository and then copy this over to the eu.graph.api EDI portal to create the smart app. I can confirm that I saved -> Published and also enabled OAUTH too. 

[photo_2017-03-04_22-11-55.jpg](https://postimg.org/image/6zfdsj0rd/)

Upon completing this, I installed the smartthings module on my Ubuntu 16.06 box and edited the config.json file using the app and access token (some items redacted for security purposes):

```
{
	"bridge": {
		"name": "Homebridge",
		"username": "XXXXXXXXXX",
		"port": 51825,
		"pin": "XXXXXXXXXX"
	},

	"description": "This is an example configuration file with all supported devices. You can use this as a template for creating your own configuration file containing devices you actually own.",

	"platforms": [{
		"platform": "Nest",
		"token": "XXXXXXXXXX",
		"clientId": "XXXXXXXXXX",
		"clientSecret": "XXXXXXXXXX",
		"code": "XXXXXXXXXX",
		"username": "XXXXXXXXX@me.com",
		"password": "XXXXXXXXXXX"
	}, {
		"platform": "People",
		"threshold": 15,
		"anyoneSensor": true,
		"nooneSensor": true,
		"webhookPort": 51828,
		"cacheDirectory": "./.node-persist/storage",
		"pingInterval": 10000,
		"ignoreReEnterExitSeconds": 0,
		"people": [{
			"name": "XXXiPhone-7",
			"target": "XX.0.1.7",
			"threshold": 15,
			"pingInterval": 10000,
			"ignoreReEnterExitSeconds": 0
		}, {
			"name": "XXXiPhone-7",
			"target": "XX.0.1.6",
			"threshold": 15,
			"pingInterval": 10000,
			"ignoreReEnterExitSeconds": 0
		}, {
			"platform": "homebridge-smartthings.SmartThings",
			"name": "SmartThings",
			"app_url": "https://graph-eu01-euwest1.api.smartthings.com:443/api/smartapps/installations/",
			"app_id": "XXXXXXXXXX",
			"access_token": "XXXXXXXXXX",
			"polling_seconds": 3600,
			"update_method": "direct",
			"direct_ip": "XX.0.1.22",
			"direct_port": 8000,
			"api_seconds": 30
		}]
	}]
}

```

When I fire up home bridge to get going I can see it successfully load the platform and everything else just fine. BUT it doesn't seem to identify any devices from my SmartThings Hub:

```
administrator@HomeAutomationSVR:~/.homebridge$ sudo homebridge
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[3/4/2017, 10:00:54 PM] Loaded plugin: homebridge-nest
[3/4/2017, 10:00:55 PM] Registering platform 'homebridge-nest.Nest'
[3/4/2017, 10:00:55 PM] ---
[3/4/2017, 10:00:55 PM] Loaded plugin: homebridge-people
[3/4/2017, 10:00:55 PM] Registering platform 'homebridge-people.People'
[3/4/2017, 10:00:55 PM] Registering accessory 'homebridge-people.PeopleAccessory'
[3/4/2017, 10:00:55 PM] Registering accessory 'homebridge-people.PeopleAllAccessory'
[3/4/2017, 10:00:55 PM] ---
[3/4/2017, 10:00:56 PM] Loaded plugin: homebridge-smartthings
[3/4/2017, 10:00:56 PM] Registering platform 'homebridge-smartthings.SmartThings'
[3/4/2017, 10:00:56 PM] ---
[3/4/2017, 10:00:56 PM] Loaded config.json with 0 accessories and 2 platforms.
[3/4/2017, 10:00:56 PM] ---
[3/4/2017, 10:00:56 PM] Loading 2 platforms...
[3/4/2017, 10:00:56 PM] Initializing Nest platform...
[3/4/2017, 10:00:56 PM] Fetching Nest devices.
[3/4/2017, 10:00:56 PM] Initializing People platform...
[3/4/2017, 10:00:56 PM] Initializing platform accessory 'XXXiPhone-7'...
[3/4/2017, 10:00:56 PM] Initializing platform accessory 'XXXiPhone-7'...
[3/4/2017, 10:00:56 PM] Initializing platform accessory 'SmartThings'...
[3/4/2017, 10:00:56 PM] Initializing platform accessory 'Anyone'...
[3/4/2017, 10:00:56 PM] Initializing platform accessory 'No One'...
[3/4/2017, 10:00:56 PM] WebHook: Started server on port '51828'.
[3/4/2017, 10:00:58 PM] Software version for Hallway Thermostat is: 5.6.1-4
[3/4/2017, 10:00:58 PM] Current temperature for Hallway Thermostat is: 16.5 C
[3/4/2017, 10:00:58 PM] Current humidity for Hallway Thermostat is: 60%
[3/4/2017, 10:00:58 PM] Target heating for Hallway Thermostat is: Heating
[3/4/2017, 10:00:58 PM] Away for Hallway Thermostat is: 0
[3/4/2017, 10:00:58 PM] Software version for Living Room Nest Protect is: 3.1.2rc1
[3/4/2017, 10:00:58 PM] Software version for Upstairs Nest Protect is: 3.1.2rc1
[3/4/2017, 10:00:58 PM] Software version for Kitchen Camera is: 205-600052
[3/4/2017, 10:00:58 PM] Away for Kitchen Camera is: 0
[3/4/2017, 10:00:58 PM] Software version for Driveway Camera is: 214-610025
[3/4/2017, 10:00:58 PM] Away for Driveway Camera is: 0
[3/4/2017, 10:00:58 PM] Software version for Garden Camera is: 214-610025
[3/4/2017, 10:00:58 PM] Away for Garden Camera is: 0
[3/4/2017, 10:00:58 PM] Software version for Hallway Camera is: 205-600052
[3/4/2017, 10:00:58 PM] Away for Hallway Camera is: 0
[3/4/2017, 10:00:58 PM] Initializing platform accessory 'Hallway Thermostat'...
[3/4/2017, 10:00:58 PM] Initializing platform accessory 'Living Room Nest Protect'...
[3/4/2017, 10:00:58 PM] Initializing platform accessory 'Upstairs Nest Protect'...
[3/4/2017, 10:00:58 PM] Initializing platform accessory 'Kitchen Camera'...
[3/4/2017, 10:00:58 PM] Initializing platform accessory 'Driveway Camera'...
[3/4/2017, 10:00:58 PM] Initializing platform accessory 'Garden Camera'...
[3/4/2017, 10:00:58 PM] Initializing platform accessory 'Hallway Camera'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 031-45-154 │     
    └────────────┘     
                       
[3/4/2017, 10:00:58 PM] Homebridge is running on port 51825.
[3/4/2017, 10:02:47 PM] Motion for Driveway Camera is: detected
[3/4/2017, 10:02:50 PM] Current temperature for Hallway Thermostat is: 17 C
[3/4/2017, 10:02:50 PM] Motion for Driveway Camera is: not detected

```

I understand that I should expect to see something like:

> Direct Connect Is Listening On XXX.XXX.XXX.XXX:8000" followed by "SmartThings Hub Communication Established".

But as you can see from my log, no such luck, and no luck in passing through the devices specified in the JSON config file. No doubt it is something silly I have missed, but if anyone can help me diagnose this I would greatly appreciate it 👍 

MrTPN