Schema Devices and Custom Capabilities

Hi @nayelyz,

Things are progressing I guess :slight_smile:

Maybe some information was cached, so try updating the friendlyName and externalDeviceID in the discovery response of the Schema connector:
addDevice(externalDeviceID, friendlyName, deviceHandlerType)

I changed the externalDeviceID and friendly Name, but I still have the same result even after deleting and re-adding the device in Smartthings app.

You can use the SmartThings CLI, see this post where you can find documentation about the installation and commands; or API requests using a tool such as Postman (refer to the SmartThings API document).

  • I installed the cli from here
  • Then I tried to create a custom capability, but I got an authentication error:
  • I found the CLI documentation and it talks about requesting an access token. I tried that but the CLI I have does not recognize that command:
    image
  • I then saw in the CLI documentation that I can download the CLI from the Developer Workspace:

    But I do not have “Tools” menu in my Developer Workspace.

So my questions are:

  • Are there different versions of the CLI ?
  • Why the one I got does not recognize the “request-token” command?
  • Am I suppose to have a “Tools” menu in my Developer Workspace?

Thanks for your help, it is appreciated.

Charles