The Tartabit IoT Bridge is an easy to use integration service that quickly connects LPWAN IoT devices to enterprise applications. This section provides conceptual information about the platform and how to go about building your solution quickly.
Applications are built by developing triggers that enable endpoints to communicate to applications via services.
Your first step is usually to start by creating a service. Services are used to configure connections to enterprise applications or to devices. An example would be a service to connect to InfluxDB, such a service requires the hostname of the InfluxDB server, the authentication credentials, as well as the database to use. Similarly, a service like the HTTP service can be used to receive information from device clouds and requires configuring the webhook secret to uniquely identify the traffic from your device cloud.
Endpoints are used to identify the devices in the field. These endpoints serve as anchors to provide stateful functionality to the service. There are two types of endpoints that you may encounter:
Triggers are the work-horse of the platform. Triggers are configured to execute when events that match its defined filters are received. The trigger executes a script that can decode and manipulate the data from the event, and then call functions to trigger actions that send the data to other services. Typically workflow can be defined as either "device to cloud" or "cloud to device", depending on the use case.
All triggers begin with an event. When events are generated, they are routed to the relevant triggers enabling the trigger execution to begin. Events contain meta-data from within the IoT Bridge, as well as any relevant data that relates to the event. For example a "data change" event would contain a timestamp, device identifier, and the value that has changed.
Actions are the mechanism for triggers to send data to a service. Actions can be used to send data to send to or query data from an enterprise application. Actions can also affect devices, by initiating a firmware update, or changing a setpoint.
Below is a diagram that shows how data moves from devices to applications in the IoT Bridge.
One of the more complex decisions to make in any IoT solution is how to identify and track the asset that you are trying to connect. You can choose to track an asset by one of its network identifiers (IMEI, ICCID, MAC address), or by something unique to your product like a serial number of VIN of a vehicle. There are pros and cons to each approach, typically the telematics device doing the tracking can be replaced in the event of a maintenance problem, but the asset itself remains the same, so in these cases, tracking by a product ID makes sense. Sometimes the device is essential to the operation, so tracking by the IMEI or ICCID makes more sense. You need to consider these options when configuring your application.
It can be a daunting task to integrate LPWA devices to the cloud, and we've found there are important decisions that need to be made so that your journey can be as short and reliable as possible. Below you will find a list of key questions you need to be able to answer to be successful. Some of the questions that you must answer may pose "chicken and egg" scenarios, as a first decision on one part of the solution, like selecting the hardware, may dictate which communication protocls you can use for the devices. Similarly, selecting a specific protocol, like LWM2M, may affect which device you can use if you want a simple and seamless experience.
Selecting the correct communication protocol can make a huge difference in the success of your overall solution. While many devices and services support MQTT, MQTT is far from ideal for battery powered devices, or communication strategies that rely on low data consumption. And while LWM2M may be feature rich and LPWA friendly, it also involves additional complexities on the device and can be overkill for some scenarios.
The Tartabit IoT Bridge measures the number of events that are generated within your account and all sub-accounts. The standard contract allocates your account a number of events per day that can be executed before execution will cease. Please refer to the documentation for the specific services that you are using for details about what is considered a billable event.
In the event that your account is suspended for exceeding your allocated daily events, your account will automatically un-suspend at midnight UTC the next day and processing will resume as normal.