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.
Panopticon - Plotting Line Graphs with Multiple Things
Visualized
To visualize the ride data across multiple Things, the Data Table in your Workbook
will need to be changed to accommodate for time-series data. Multiple ride Things’
data will be combined into one Data Table through the usage of Connectors.
Connectors work similarly to SQL Joins/Unions and in this tutorial, we will do a
Union All represented by two stacked boxes. Once the Data Table is set up, using
Panopticon, a line graph will represent the sensor values
across multiple ride Things over their ride duration.
In the Data Table, click on the pencil icon to edit the Data Table.
Click Transform Settings.
Slide the Transform to enable time series analysis to
On.
Turn off the following two settings:
one time series per data row, or close
time series with time slices that don’t align
For the To define the time axis values, Use field, use
content.time elapsed.
Figure 1.
Add a second Thing by adding another Datasource. Follow the previous section on
creating a New Data Table.
Figure 2.
Once the second Data Table is created, the two Data Tables need to be combined
using a Connector. Click on the plug icon to choose a join/union option. In this
case, we will click on the Union All icon represented by two stacked
rectangles.
Figure 3.
Click Save.
Return to the Dashboard and select your Data Table.
Click and drag across the dashboard to create your first visualization.
A side bar of different visualization graphs will appear.
Select the Line graph under Timeseries
Visualization.
Figure 4.
Once Line Graph is selected, drag your y-axis variable,
content.humidity, to the Y
icon.
Drag content.uid to the Items icon to
differentiate the data between the two Things.
Drag content.uid to the Color icon to
color code the two lines.
Figure 5.
The result should resemble a graph like the one shown below. With these
basics, you can plot any variables you want and create visualizations that suit
your needs. Figure 6.