SENECA Z-GPRS3


Z-GPRS3

Configuration in Databoom

Databoom sees SENECA device as an MQTT device that can also be set as a template (refer MQTT device e MQTT template).

Note down the device token, it will be used further in the configuration. It is then possible to proceed with signals creation.

In the signal edit page, it is important to set:

  • the Custom topic where publish data that must match the name of the variable that will be defined in the SENECA configurator;
  • the Transformation function for published data that takes the payload sent by the device and returns it converted in the format
     {
       'date': ,
       'value': 
     }
    

    or

      [
        {
          'date': ,
          'value': 
        },
        {
          'date': ,
          'value': 
        },
        ...
      ]
    

    to be saved in Databoom.

Device configuration

Device configuration is based on the enabling of MQTT protocol inside the Seneca ZGPRS3 config application (version 2.3). By clicking the icon CLOUD in the toolbar, parameters to enable the configuration can be set.

In the General tab (refer to the screenshot above) fill the fields as follows: 

  • APP Name with the value of the field Topic wher publish data in the device page in Databoom (if configuring a device template, be careful to add the device token after the MQTT project, test in the screenshot);
  • RTU Name with the client ID MQTT value.

Lastly enable MQTT client.

The MQTT Client tab must be filled with MQTT broker connection parameters (refer the article). User Name field must match user's Databoom username while the Password is an OAuth token generated in the section Settings -> Credentials in Databoom.

Acces the MQTT Custom Settings (by clicking the button with the arrow next the Connect To CloudBox checkbox) and check the Append Application Name Prefix to all TOPICs checkbox, so the publish topic is correctly stored in the variables to forward.

To set the variables to be sent to Databoom, access the MQTT menu in the toolbar.

In the menu all the variables of the SENECA development enviroment are listed and it is possible to specify which of them to forward to the platform. Publish Topic will match the topic set in Databoom for the corresponding signal.

Configuration complete!

Once previous steps and the build are done, the device will be ready to communicate with Databoom.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.