FAQ: How to find out what "shard" (cloud slice IDE URL) your Account / Location is on?

ide
shard
login

(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #1

When SmartThings went for sale in the UK, they added the first of what will be many “shards” to split the SmartThings Cloud workload into multiple, somewhat independent, clusters of servers.

SmartThings automatically replicates a lot of stuff between the shards when they deploy updates and so on, but if you are doing development and you Publish “For Me”, then you need to be sure to be logged into the correct shard, or your self-published SmartApp or custom Device Type Handler will not work. You won’t find it in the mobile App!

Eventually you may not need to know your shard. Eventually, SmartThings may make this process automatic and when you self-publish, it will go to the “right” shard without intervention.

Update:

The URL: https://account.smartthings.com should take you to your correct Shard automatically as of July 2017.


Old Method: Still works, just in case…

In the past, and maybe still now… you need to know your Shard! I also believe it is unlikely your shard will change / move unless you perhaps delete / add your Location and/or Account.

I don’t know the “official” way of determining your shard, but this process works for me…

Find our your shard using these steps:

  1. Fully logout of the IDE.

  2. Go to: https://graph.api.smartthings.com/location/list

  3. Fill in your login when requested.

  4. Your browser’s URL bar should automatically redirect to your individual shard:
    If it still says “graph.api”, that’s NA01;
    otherwise, the URL will include “-na02-”, “-eu01-”, or “-ap01-” or “-ap02-” in it.

NA01: https://graph.api.smartthings.com/
NA02: https://graph-na02-useast1.api.smartthings.com
NA03: ??? (presumed to exist; no confirmation at time of updating this post)
NA04: https://graph-na04-useast2.api.smartthings.com (discovered on May 11th, 2017)
EU01: https://graph-eu01-euwest1.api.smartthings.com
AP01: https://graph-ap01… (discontinued)
AP02: https://graph-ap02-apnortheast2… (not officially online yet, but [I’ve “heard” it is official, but who really knows???]. Customers in that Asia-Pacific geographic region, including Australia, using Samsung Logins may land here…)


If you find the above steps don’t work or are confusing or you have any suggestions … add them as comments. We can either destroy this Topic, or I will make edits.


No hub in IDE
Different Shards Confusing Need Help
My Apps not appearing on Mobile
Different Developer Sites? Sync issue?
New user questions from someone used to Vera
Old topics, same problems!
Flic button
How to generate Endpoint URLs for switches with information from ThingLayer
CoRE - Get peer assistance here with setting up Pistons
How to generate Endpoint URLs for switches with information from ThingLayer
[RELEASE] Lowes Iris and XFinity CentraLite keypad DTH + Apps
Cant trigger Speaker Mood Music as no functionality to create modes
CoRE Dashboard
[DEPRECATED] Updated Ecobee Suite, v1.4.0 (Free)
Can't log in to IDE
Hello, Home HomeKit (and Siri!) control via homebridge
SmartTiles Smart App
Help with Chamberlain MYQ and Smartthings
WebCore Data is spread between api and another api?
Cannot see devices directly unless I click locations
SmartTiles v5.8: Deployed to Blue & Green Editions. Release notes, etc. (follow this Topic for updates...)
Kwikset SmartCode 916 lock code manager?
Can't create or install my own smartapps
[Noob] Where is my hub? Can't see it from web interface?
Hub not showing up on graph.api.smartthings.com
How come I can't add switch at this time
GitHub integration and Smartthings
[RELEASE] Lock Manager
Beginner's IDE query
CoRe install help
Hope this isn't a stupid question—claiming the hub?
Cant integrate GitHub in IDE
How to change my account name
Need help with doorbell routine
CoRE - Get peer assistance here with setting up Pistons
FAQ: Creating a virtual Device
No Live Logging, ever
Always have to click Location first in IDE
Hub not showing up on graph.api.smartthings.com
[RELEASE] Lock Manager
Problems connecting from IFTTT (February 2017)
Graph-na02-useast1.api.smartthings.com?
Hub shows up on app but not on web page
Create Virtual Switch how to video
[Beta] SafeMonit: Touch-Panel Interface with Intercom, Verbal Door Chime, Camera support, Monitoring and more
Hub Firmware Release Notes - 18.18
If "It's too cold" automation smartapp exist, why not "It's too hot"?
Smoke Alarm turn off plug routine?
I'm so new... claim hub
CoRE - Get peer assistance here with setting up Pistons
Hub shows up on app but not on web page
How to use GitHub in a simple way as a non-dev to install apps
Installation
[RELEASE] MyQ Lite Door and Lamp Control (for Liftmaster/Chamberlain)
Neo Power plug works well?
Weird Bug Need Help
Weird Bug Need Help
The old "You don't have any hubs yet"
How to guides and where to start
Developers account
SmartApp running?
IDE says I have no SmartApps, but the one I wrote is still on my phone -- anyone else seeing this?
Which IDE do I use? There is more than one
Is anyone not currently having problems?
Problem with IDE (double account with same email?)
Alexa <--> Smarthings access doesn't work in the app
500 Error when navigating to https://graph.api.smartthings.com/device/list
Where is my hub?
Hub missing from IDE
Blink support discontinued!
New SmartThings Cloud Shard(s)! NA04
ST App and API not merging
IKEA Trådfri
Having trouble with the ide
Having trouble with the ide
Motion Sensor is a Door
My IDE is now Empty. No Hub or Devices!
Devices Not Showing?
HELP! I Can Connect GE Dimmer to ST But Can't Control It
Problem seeing Hub on EU01 Shard vs NA01 (graph.api) shard; GitHub integration?
2018: New Universal Log-in URL for the IDE and access to your web account
Mixed US and EU hub
Hue Ambiance Color A19 bulb without Hue Bridge
Smartthings Hub offline since 3:47 AM Eastern
[RELEASE] Resilient - My Ecobee Device & ecosystem v5 - The smartest thermostat under ST with new "comfort tips" features and Unique Integration with Echo/Ask Alexa
Hub Firmware Release Notes - 17.12/17.13/17.14
[RELEASE] Enhanced ZooZ 4 in 1 Sensor (ZSE40 v1/v2/v3) Device Handler with Temperature, Humidity, Motion and Luminescence Sensor with Lux Reporting
Different Shards Confusing Need Help
[Depricated] Lock Code Manager
Android app errors February 1, 2018
Android version 2.14.0
Problem with my log in - out of sync on PC and Android
[RELEASE] MyQ Lite Door and Lamp Control (for Liftmaster/Chamberlain)
Newly installed smart apps not showing in mobile app
HUB not showing up in my account. Please HELP?
[DEPRECATED] webCoRE Installation Process Feedback
No control of Things - SmartThings Classic (13 September 2018)
What is the difference between the IDE URL and account URL
Pilarm - Raspberry Pi Alarm Using Existing Contacts
Hub moved to another users email account (maybe app migration related)
Does sendSms() support sending Chinese words?
Setting up ST Hub and ST IDE in Australia
Nothing is working tonight (13 June 2018)
[RELEASE] MyQ Lite Door and Lamp Control (for Liftmaster/Chamberlain)
Instruction and Device Handler for SmartThings Hub controlling Nue ZigBee In-Ceiling Light Controller
FAQ: Creating a virtual Device
My devices don't show online?
SmartThings Outage - Mar 12 2018
Hub shows up on app but not on web page
Double login to IDE to get hubs and devices to show
Hub not showing in IDE, but showing fine on app (US)
Smart Lighting Not Working
#2

Most North American accounts added before September 2015 will be on NA01. Most of the ones added in 2016 will be on NA02. UK accounts should be on EU01.

The redirect trick works, but only for some browsers. Other browsers hide this information and if, for example, you are using text-to-speech software you won’t hear the correct URL.

Sometimes, for example if you’re looking for the list of local devices for your own account, you may just have to try both North American shards to see which one you’re on. You’ll be able to login to both, but your account device information will only be populated in one.

FWIW


(Ignacio) #3

Thanks! The locks are working!


#4

By the way, SmartThings has now updated to a single login. Just sign in to the address below and it will take you to the correct shard.

https://account.smartthings.com


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #5

Great news! After over 4000 views of my FAQ, you’d think SmartThings would have shouted this tremedous improvement from the rooftops! … or at least, Tweet it. :bird:


#6

Live in the netherlands and installed a UK hub.
Works fine, but none of the url’ s listed finds my hub.

Any thoughts, advice.

PS When installing Smartthings App i set it to my real location in the Netherlands.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #7

What happens when you login to: https://account.SmartThings.com and go to My Locations and click on your Hub???


#8

Dont know wat i exactly did but my hub showed up. Thanks


#9

I now connected one normal bulb to a Xiamo power outlet. I succeeded switching it on with a ST motion sensor through a custom rule.
Question now is: '‘when does it turn off, because it stays on!!’'
Forgot something?

The same with the IKEA smart bulb.

Thanks again


#10

Sorry for my impatience. Figured it out already through smart lighting.
Will be less impulsive in future!!


(Jason) #11

I’ve read your FAQ. Thanks so much for the help. I still cannot see ‘My Apps.’ Not sure how to fix this.


(Viktor) #12

I accidentally created a device handler and enable github at wrong “shard” (https://graph.api.smartthings.com/ide/devices) instead of EU (https://graph-eu01-euwest1.api.smartthings.com) I wanted to create an other one at the right shard but I can not find any “Settings” or “Enable GitHub integration” button under my device handlers menu. Is it some bug or I am really missing something? I would really appreciated if you could give me some advice.