Homebridge-smartthings not working in the UK?


(Michael Hatton) #1

Hi,

I don’t seem to be able to add this repo from GitHub to allow me to run this from the UK
https://www.npmjs.com/package/homebridge-smartthings

Can anyone help with a work around please?


(Jim) #2

Git Hub integration does not work in the UK, I log in to https://graph.api.smartthings.com/ setup git hub integration, synch across the repository I am interested in. Then copy and paste the code in to the EU/UK side at https://graph-eu01-euwest1.api.smartthings.com

The following URL has a tutorial on installing a HomeBridge Server on a Raspberry Pi, and explains how to configure for the UK. It works a treat for me, though I did use the “JSON Complete API” from Paul Lovelace.

Hope that works for you.


(Michael Hatton) #3

Jim, worked a treat!

Thanks for your response.

Mike


(LowRisk) #4

added the smart-things platform

the platform is loading from homebridge, but there is accessory

Loading 1 platforms…
homebridge_1 | [2018-3-26 22:20:49] [SmartThings] Initializing SmartThings platform…
homebridge_1 | [2018-3-26 22:20:49] [SmartThings] Fetching Smart Things devices.
homebridge_1 | [2018-3-26 22:20:49] Loading 0 accessories…

from the Smart things apps / Market / config json I have no device detected but my iPhone.
I have a UK hub, I remember age ago have this working with my “US” hub.

would that be because of the UK version?

JSON file

{
“bridge”: {
“name”: “Homebridge”,
“username”: “****:3D:E3:CE:30”,
“port”: 51826,
“pin”: “***1-45-154”
},
“description”: “This is an example configuration file. You can use this as a template for creating your own configuration file containing devices you actually own.”,
“accessories”: [],
“platforms”: [
{
“platform”: “SmartThings”,
“name”: “SmartThings”,
“app_url”: “https://graph-eu01-euwest1.api.smartthings.com:443/api/smartapps/installations/”,
“app_id”: “app id here”,
“access_token”: “my token”
}
]
}