Caution! Article for developers

Information on this page is intended particularly for users with advanced technical knowledge.

Passthrough Parser

Treon Gateway Treon Gateway 2 Treon Gateway in Protective Enclosure

Introduction

The Passthrough Parser is a feature that forwards data from third party sensor nodes in your Wirepas ecosystem to your backend via the Treon Gateway, Treon Gateway 2 or Treon Gateway in Protective Enclosure.

 

Implementation

To use the Passthrough Parser feature, you need to add or modify the configuration files in /opt/iotgw/conf.d

  1. Log in to the Treon Gateway via SSH.
     

  2. Use the following command to create a new file called in conf.d with root privileges:

    sudo nano /opt/iotgw/conf.d/passthrough.conf"   
    

    ``

  3. Add the following text to the file:
    [PassThrough]
    DataParser: passthrough
    # Whitelist of Wirepas destination endpoints. Comma separated list
    MeshTopicFilter:

    [Startup]
    DataProcessors3 += PassThrough
     

    Under “MeshTopicFilter:” you need to add all Wirepas endpoints you wish to send to backend. This is a whitelist to avoid receiving all the diagnostic data.
     

  4. Save the file with Ctrl+s and exit with Ctrl+x.