This tutorial will guide you through the process of connecting a device (a Lamp) to SmartWorks and sending data to store it and implement simple business logic.
This tutorial is designed to guide you through setting up a microcontroller (ESP32) to send data to SmartWorks and
have SmartWorks interact with apps designed by the user.
This tutorial will guide you through the process of connecting your computer to the SmartWorks platform and sending computer resources data such as CPU state, disk usage, latitude, longitude, memory, and memory
available to the platform. You will also learn how to create Actions based on Event Triggers.
This tutorial will guide you through the process of connecting your ESP8266 and DHT10 sensor to SmartWorks to control the board LED light and monitor the surrounding humidity.
Stream Processing is a method of tracking and analyzing streams of information of an event, and eventually obtaining useful structured
conclusions out of that raw information.
SmartWorksEdgeOps is a set of tools for building, maintaining and continuously improving code in resource constrained devices at the
edge of smart connected ecosystems.
This tutorial is designed to guide you through setting up a microcontroller (ESP32) to send data to SmartWorks and
have SmartWorks interact with apps designed by the user.
The API inspector is a tool within SmartWorks that allows you to
manually run HTTP requests to the SmartWorks API. In this section,
the API inspector will be used to create a Thing according to the model schema that
is assigned to it. Refer to this API Documentation for more information.
Press the + in the bottom right corner of the SmartWorks main page.
Select API Inspector in the Utility Belt menu.
Note: In the API inspector, you can select what HTTP
request to run and provide the API endpoint. There are 4 tabs:
Query, Headers,
Auth, and Body. Figure 1.
To create a new Thing, select POST option in the API
Inspector.
Provide the Model schema in the Body tab. For
example:
{
"model":{
"name":"user_model",
"version": 1
}
}
Note: Refer to Creating Things and Model Schemas on how to
find Model schemas.
Press Send to run the HTTP request through the API
Inspector. If the command is successful, a Status code of 201 should appear with
the Response as shown (sensitive details are omitted).
Figure 2.
When finished, a new Thing should be created inside your designated
Space and Category. The API Inspector is useful for testing out interactions,
experimenting with different commands, and understanding what information is
stored inside the API.