Create a Dashboard Using the Altair IoT Studio Connector
This connector enables you to retrieve the data stored in AnythingDB.
Important: To visualize data stored at the Properties-History section in
AnythingDB, or the data stored in a Category, you will first need to create an
App.
-
Click these steps.
and create a new App by following Note: The Application Client ID and Secret ID is required in configuring the New Workbook in Real time Visualization module. Be sure to capture and save this information.Note: The App should have Thing as Scope and the type set as Client Credentials.
- Click .
-
Select a folder to work in. By default a root folder with your username has
been created. Right click to see the different operations you can perform.
- Click New Workbook.
-
Enter a name for the Workbook and click Create.
-
Add a new Data Table by clicking Workbook Data table
editor in the lower left corner.
-
Create a Data Table by clicking the + icon.
Data tables define the queries and source data repository definitions, in order to retrieve data.
- With Data Sources highlighted, under File/URL, select Altair IoT Studio.
-
Enter the following:
- Client ID: from the app created in Step 1
- Client Secret: from the app created in Step 1
- Grant Type: type of app created in Step 1. Here we use client_credentials.
- Scope: from the app created. Enter Thing.
- URL: to make the request.
- To retrieve the status of all of the Things inside a Category: https://api.swx.altairone.com/spaces/YourSpaceID/categories/YourCategoryName/things
- To retrieve the properties-history of a specific Thing: https://api.swx.altairone.com/spaces/YourSpaceID/things/YourThingUID/properties-history
- Record path: Choose data.
-
Click Generate Columns, and then click
Refresh Preview.
The columns are populated and the requested data is displayed.
- Click Save.
-
Click Back to return to the Edit Dashboard view.
-
On the blank canvas (right half section), sketch a simple square by clicking
and dragging on the blank interface.
This enables the Visualization menu.
-
Select the Visualization mode and configure it using the Visualization
settings.
Detailed information regarding Data Tables is available from the Panopticon Designer documentation.