Parser vs. Analysis Comparison
The Payload Parser was created to handle raw payload sent by the devices in order to extract the measured variables or execute simple operations.
Analysis is much more powerful, including access to Devices and external services. Also, there is a cost to run them.
Payload Parser has only a simple JavaScript engine which was coded by TagoIO to be easy, light and free. See some of the differences between them:
Features | Payload Parser | Analysis |
---|
Code size limit | 64kb | 5MB |
Language | Simple JavaScript syntax | Full JavaScript and others |
Async | No | Yes |
Sync | Yes | Yes |
Allows Custom Functions | Yes | Yes |
Allows external integration | No | Yes |
Allows requires/imports | No (only built-in function) | Yes |
Console Log or Context | Yes (Device Inspector) | Yes |
Timeout | 1,000 ms | Custom |
Needs Action to trigger it | No | Yes |
Cost of the service | Free |
|
Related Articles
Payload Parser Troubleshooting
When using the Payload Parser on TagoIO, you might run into some common problems that stop the parser from decoding your device data correctly. This means the data won't be saved on TagoIO. These problems are usually related to mistakes in how the ...
Payload Parser
The Payload Parser handles the raw payload sent by the devices in order to extract the measured variables. For example, it can be used to transform an HEX payload sent by a device into temperature and battery levels. You can also use it to handle the ...
Payload Parser timeUtils Library
The timeUtils is a powerful library available as a global variable in the Payload Parser, designed to simplify the timezone conversion and manipulation. It offers a set of functions to convert, format, and manage time information with ease. Available ...
Analysis Overview
Analysis is a powerful feature that experts and developers can use to implement scripts to analyze and manipulate data from any device in real-time. The scripts that run at TagoIO are programmed with the Node.js TagoIO's SDK. Get more instructions on ...
Entities
The Entity feature is an excellent tool for storing data in a tabular format. Unlike the Devices feature, which is optimized for storing sensor data with high-frequency write operations, the Entity feature offers a versatile solution for managing a ...