CLI: How to Install and Use

Thanks, @JDRoberts. I just edited that post.

About the location modes, @homeagain
The CLI doesn’t have those endpoints but the API has some:

  1. GET modes:
    https://api.smartthings.com/v1/locations/locationID/modes
    Try the POST and DELETE versions of this endpoint to add/remove one
  2. GET current mode:
    https://api.smartthings.com/v1/locations/locationID/modes/current
  3. PUT to modify the current mode:
    https://api.smartthings.com/v1/locations/locationID/modes/current
    Body:
{
    "modeId": "mode-id"
}

Got this info from this post: