Passthrough Parser
Legacy documentation
This page is preserved from the previous knowledge base and describes older Treon products and manual configuration workflows. It is kept for reference and is not maintained against current Treon Connect releases.
Caution! Article for developersInformation 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.
1.
Use the following command to create a new file called in conf.d with root privileges:
sudo nano /opt/iotgw/conf.d/passthrough.conf"
`` 1.
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.
1.
Save the file with Ctrl+s and exit with Ctrl+x.