Usage

General syntax

ubidots <command> <subcommand> <argument> [options]

Available commands

config

This command configures the CLI's cloud settings required to connect with your Ubidots account. This means that you must run this command prior to any other. It will prompt you for:

  • API domain: Leave the default value unless you are on a private Ubidots deployment.

  • Authentication method: The authentication method that you'd like to use.

  • Access token: A valid Ubidots tokenarrow-up-right.

ubidots config

API Domain [https://industrial.api.ubidots.com]: 
Authentication Method [TOKEN]: 
Access Token [*******************************pPem]: 

> [DONE]: Configuration saved successfully.

This configuration will be saved at $HOME/.ubidots_cli/config.yaml. You can check it by running cat:

devices

This command allows you to perform CRUD operations over devices in Ubidots. Its subcommands are:

1. Create a device

Create a device in your Ubidots account.

2. Get device

Retrieve a device from Ubidots.

3. Update device

Update a device in your Ubidots account.

4. Delete a device

Delete a device from your Ubidots account.

circle-exclamation

5. List all devices

Retrieve all devices from your Ubidots account.

variables

This command allows you to perform CRUD operations over variables in Ubidots. Its subcommands are:

1. Create a variable

2. Get a variable

Retrieve a variable from Ubidots.

3. Update a variable

Update a variable in Ubidots.

4. Delete a variable

Delete a variable from your Ubidots account.

circle-exclamation

5. List all variables

List all variables on your Ubidots account

functions

This command allows you to:

  • Perform CRUD operations over UbiFunctions in Ubidots.

  • Set up a local development environment for UbiFunctions.

It's subcommands are:

1. Create a function

Create an UbiFunction in your Ubidots account.

2. Get an UbiFunction

Retrieve an UbiFunction from Ubidots.

3. Update an UbiFunction

Update an existing UbiFunction in Ubidots.

4. Delete an UbiFunction

Delete an UbiFunction from your Ubidots account.

circle-exclamation

5. List all UbiFunctions

List all UbiFunctions on your account.

Last updated

Was this helpful?