Filtering Out Variables with Parser Code
When your device sends data from a device to TagoIO, a parser code may be added in your device (located in the 'Payload Parser' tab) to extract and create the variables in the buckets using TagoIO format.
If you want to save space in your register storage, you can ignore the variables you don't want to be added in the data bucket by editing the parser.
By default, some fields and metadata sent by providers like LoRaWAN and Sigfox are already ignored to avoid unnecessary storage.
For example, if your device is sending data from TTN as shown in the image below, most variables will be created in the bucket, including the payload.
A variable called location is automatically created by combining the fields 'latitude' and 'longitude'. Use location when plotting maps.
To ignore the variables so that they will not be added to the bucket, go to Devices at TagoIO, find your device and click on the 'Payload Parser' tab. Then, enter the names you want the parser to ignore on the ignore_vars. See the image below for reference.
As a reference, the image above shows that no variable would be ignored, meaning that all fields and metadata would be posted to the bucket each time the device sends data.
We offer this flexibility to allow you to optimize your storage by avoiding the creation of unnecessary variables.