Loadsensing

The Loadsensing system from Worldsensing is a global leader in IoT-based monitoring, and can be connected with eagle.io in a few easy steps.

../../../_images/worldsensing_logo_small.png ../../../_images/loadsensing_device.jpg



Introduction

Loadsensing CMT (Connectivity Management Tool) Cloud is part of the Loadsensing connectivity portfolio. One of it’s features allows for an FTP push of data to 3rd party systems, such as eagle.io. There are 3 main tasks required when setting up the Loadsensing CMT Cloud to send data to an eagle.io data source:

  1. Configure a new eagle.io data source with the Upload data to ftp.eagle.io transport
  2. Configure the Loadsensing CMT Cloud with FTP client details
  3. Use the first file sent as sample data to finalize configuration of the data source parser and create parameters


1. Configure an eagle.io data source

  1. Create a data source and select File as the Source Type. Choose Delimited Text from the list and click Next.
../../../_images/loadsensing_wizard_1.png



  1. Select Upload to ftp.eagle.io as the transport type. A unique Username will be automatically generated per data source; for this example, it is spoon-table-node. A password should also be entered for additional security. Select the desired timezone (in this example it is UTC to match the timezone of the data file) and click Next.
../../../_images/loadsensing_wizard_2.png



  1. Check the box labled Skip or Reset sample file and retrieve on next acquisition. Enter a file match of .csv and click Apply.
../../../_images/loadsensing_wizard_3.png



  1. Click Next.
../../../_images/loadsensing_wizard_4.png



  1. Click Finish.
../../../_images/loadsensing_wizard_5.png



2. Configure Loadsensing CMT Cloud

  1. After logging into the CMT Cloud dashboard, select System Configuration, then FTP Client:
../../../_images/loadsensing_client_1.jpg



  1. Check the Enable FTP box and enter the following FTP client details:
Hostname
ftp.eagle.io
Port number
21
Username
Use the unique FTP username generated during creation of the data source. In this example, it is spoon-table-node. Every data source will have a different unique username.
Password
Use the password you entered during creation of the data source.
Protocol
FTP
FTP mode
Passive
Output
Create unique file name at every upload


../../../_images/loadsensing_client_2.jpg



  1. Click a single box corresponding to the data you want to send, for example LS-G6-INC15 data, and enter a relative path of ./:
../../../_images/loadsensing_client_3.jpg



  1. Click Save and test
../../../_images/loadsensing_client_4.jpg



3. Finalize configuration of the data source parser

Once a file has been sent from the CMT Cloud software to eagle.io via FTP, this file can be used to finalize configuration of the data source that was created previously.

  1. In eagle.io, check the debug Events view of the data source to ensure that at least one file has been received. The event will look like this:
../../../_images/loadsensing_config_1.png



  1. In the data source properties dialog, go to the Series tab and choose the Configure series option for the .csv data file. If this option is greyed-out, that means a file has not yet been received (refer to the previous step):
../../../_images/loadsensing_config_2.png



  1. Once a file has been received, the Configure series option for the .csv data file will be avilable:
../../../_images/loadsensing_config_3.png



  1. The Parser configuration screen allows the user to describe the structure and format of the data file so it can be correctly interpreted by the system in subsequent uploads. Refer to Text Parser Configuration for full details. The data file contains a header row, so set the Labels row control to row 10 which will assign default labels for parameter creation (that is the purple line in the example below). Ensure the data in each column matches the expected column data type and format. Validation errors are shown in red. Any columns not required for collection can optionally be Disabled. The default time format for the Record Time column is already set to YYYY-MM-DD HH:mm:ss and should not need to change. After appropriate configuration, the parser should look now look like this; click Apply to continue:
../../../_images/loadsensing_config_4.png



  1. Specify the parameter names (and optionally units) for each series/column defined in the Parser configuration. Uncheck any series you do not want to create as parameters. Click Save to complete the configuration and create the parameters.
../../../_images/loadsensing_config_5.png



  1. The parameters have now been created; when data is next sent via FTP, the values will appear in the Parameters view:
../../../_images/loadsensing_config_6.png



Note

You can reconfigure the file name match/sample file, parser configuration and parameter assignment from the data source properties dialog after creation.


Note

Use the Events view with the detail level set to Debug for reviewing communication history and diagnosing configuration issues.

PDF HTML Epub Powered by Read The Docs