I wonder about SmartThings Hub authorization. For reference, I do not have a current Hub.I will take the Hub and test it

I will control smartthings hub using Node.js.

  1. Should SmartThingsApp be developed per hub?.
  2. Can you develop a common SmartThingsApp to control multiple hubs?
    = Should the Hub be separately authenticated, and if it is authenticated, the values of access-token and endpoints url are different for each Hub?.

SmartThings “instantiates” a SmartApp for each “SmartThings Location”. Currently a Location can only contain one Hub and a Hub can only belong to one Location.

Each SmartApp instance has it’s own endpoint ID (URL + token).

A SmartThings Account can contain many Locations (hubs).