Logs and SmartThings: https://graph.api.smartthings.com: This is the first place to go when SmartThings are not acting right. This is also the developer site, even if you’re not geek this is an excellent resource to check logs and forcibly delete smart apps and devices.
Live Logging: https://graph.api.smartthings.com > Live Logging
This is where real time logs can be found. If you are having problems paring new devices or debugging code, this is a great place to start.
Hub logs: https://graph.api.smartthings.com > My Hubs > List Events > From Hub
Great place to see hub connectivity all PING’s (I’m Alive) and hub disconnect/reconnect messages can easily be seen here. These entries are historical up to 7 days
Device logs: https://graph.api.smartthings.com > My Devices > (Choose a device ie Switch1) > List Events
Want to see what your devices are doing and why? Then this is your stop. These entries are historical up to 7 days
DEVICE /physical: came from physical contact
APP_COMMAND: came from an app
Smart App job history: https://graph.api.smartthings.com > My Locations > List SmartApps > (Choose a Smart App ie BigSwitch)
The job history keeps track of what parts of a smartapp are scheduled to run at what times. If scheduled jobs aren’t firing this is the place to look. These entries are historical up to 7 days
Smart App logs: https://graph.api.smartthings.com > My Locations > List SmartApps > (Choose a Smart App ie BigSwitch) > List Events > All
This is a full historical list up to 7 days of every command the selected app has sent.
I’ve gone through all the logs linked above and can’t seem any historical live logging. I’m trying to trackdown a failure in a SmartApp in the middle of the night. It would have been output to the logs. Am I missing something?
That will then take you to the correct “Shard” for your account.
(The original FAQ was written back when everybody was on the same shard.)
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
Very correct! For some power-users, it is still helpful to understand the concept of “Shards”; and realize that if you have multiple Locations (Hubs) in your Account, they could actually live on distinct Shards. I am not exactly sure which Shard the account-login chooses, but I observe that if you click on a Location under My Locations, it still properly redirects to the correct Shard URL for that particular Location.