2smart Сloud Integration

The bridge will allow you to integrate 2Smart Standalone with the 2smart Сloud platform.

Installation

On the Market page, open the Addons tab and click on the download icon near the selected item.

Market section

Go to the Service Manager page, click the “Setup Service” list and select the downloaded addon.

Service Manager section

Setup

In the addon settings, specify the following fields:

  • Device name.
  • Cloud API token.
  • Cloud secret token.
  • Server URL.

The addon settings

Enter any text in the "Device Name" field. The integration will be displayed in the 2Smart Standalone device panel with the title specified here.

Note that you only need to edit the “Server URL” field when using a local server. You need to specify its IP. When using the standard cloud platform version, leave the default value.

As for tokens, you need to generate them on the 2Smart Cloud side. Below will show how to do this.

Setting from the 2Smart Cloud side

  1. Go to your account on the 2Smart Cloud platform - https://cloud.2smart.com/

    Please note! The 2Smart Cloud uses a single account for the developer and the mobile application user. Therefore, device end-users can also use their credentials to log into the platform.

  2. Go to the Account settings page.
  3. Click the “Show all tokens” button.

    2Smart Cloud account settings

  4. In the window that appears, click the “Generate token" button.

    2Smart Cloud personal access tokens

  5. Specify a name for the new token – for example, “Standalone". Click the “Generate” button.

    2Smart Cloud personal access token creation

  6. Copy the API Token and Secret Token values to the corresponding fields of the 2Smart Cloud Integration bridge settings window.

    Please note! The Secret Token value is displayed only once, right after the token is generated, so you need to copy it immediately.

    2Smart Cloud new personal access token

    The addon settings

To start the addon, turn on the toggle of the status.

The addon turning on

The addon turning on

Go to the Dashboard tab.

The Dashboard tab

The Standalone application now displays your devices connected to the 2Smart Cloud account. You can control them using the available widgets and scenarios.

The Dashboard tab

For example, edit the TEXT field and ensure that the value is also changed in the cloud app.

2Smart Cloud device control

2Smart Cloud device control

Similarly, you can edit device parameters using a cloud application, and in the Standalone panel, all changes will be visible immediately.

For example, let's set the red color of the lamp glow instead of purple.

2Smart Cloud device control

The 2Smart Standalone web application displayed all changes.

2Smart Cloud device control

Please note that you can link multiple 2Smart Cloud accounts to the 2Smart Standalone web app. To do this, create additional bridges and specify the credentials of other 2Smart Cloud accounts in each of them. Devices from all accounts will be available to control from your Standalone panel.

Linking multiple 2Smart Cloud accounts to the 2Smart Standalone web app

Linking multiple 2Smart Cloud accounts to the 2Smart Standalone web app

Also, note that deleting or stopping the bridge will not remove devices from the Dashboard page. You need to remove them manually.

When you disable the bridge, the status of the devices will change to off, and you will not be able to control it using the Standalone application. After the bridge is re-enabled, the devices will become available again. In this case, you will see all settings changes if they were made on the 2Smart Cloud side.

results matching ""

    No results matching ""