This tutorial will guide you through the process of connecting your computer to the SmartWorks IoT 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 the SmartWorks IoT
to control the board LED light and monitor the surrounding humidity.
This tutorial will guide you through the process of connecting a device (a Lamp) to the SmartWorks IoT platform and
sending data to store it and implement simple business logic.
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.
SmartWorks IoTEdgeOps is a set of tools for building, maintaining and continuously improving code in resource constrained devices at the
edge of smart product ecosystems.
This tutorial will guide you through the process of connecting a device (a Lamp) to the SmartWorks IoT platform and
sending data to store it and implement simple business logic.
Functions provide the capability to execute custom business rules. For this project,
a function will be created to update the state of the lamp based on the
temperature.
Add two new properties to the Thing.
Change to the Functions section to create your function.
Functions are divided into two main parts, called Workers and Triggers.
A Worker is the Function itself. It allows to create its custom-base function and
enables to subscribe to an “Event Trigger”.
Create the function itself (worker) using the following code. Complete the PATH
with your own values.
Note: Add your thing’s Client ID and Secret ID from the Interface tab inside the
Thing.
A Trigger is a component that is capable of invoking serverless Functions
from an event source. Triggers work as a listener to a particular endpoint,
capturing events and messages from different sources and redirecting them to one or
more Functions.
Create a MQTT trigger to subscribe to the topic entered as Event Trigger in the
worker.
Note: MQTT credentials can be obtained as shown below:
Open the MQTT Inspector to track the messages received: