Send Data to the Platform from Your Device
Altair IoT Studio provides a tool, the API Inspector, to get familiar with and interact with the API structure. Requests can be made through the API Inspector without having to worry about authentication details, as this information is automatically populated.
The API Inspector can be found under Utility Belt in the left
side menu:
API documentation can be found here.
-
To update the Property's value, perform the following request:
-
Click Send.
The Property's values get updated.
- To check the Property's history, click next to the Properties section.
-
To check the history of a specific Property, click next to the
Property. Note that a time range can be selected to filter the Property's
history.
Send Data through MQTT or HTTP
You'll use an external tool for this step.
The Thing's Credentials can be found on the Interfaces tab.
If your Thing does not yet have Credentials, click
Create Credentials.
Note: HTTP follows OAuth
protocol. Once the credentials have been created, the Client ID will always
remain the same. The Client Secret can be reset by clicking the "Reset
Client Secret" button.
Note: If you use MQTT,
note that the username and the password can be changed at any time. Choose
to autogenerate the Credentials or enter your own values. For this second
option, don't forget to click Save using the top
right button.