Skip to main content
Skip table of contents

Change the Messaging Frequency for Location Updates in MQTT

Configure the MQTT settings in the dashboard. Establish an MQTT connection and adjust the update rate of messaging frequency.

Step 1: Accessing the MQTT Settings

Start by navigating to the MQTT Settings tab, located under the Integration tab in your ZeroKey dashboard interface. Once there, delete or disconnect any existing MQTT connections to avoid conflicts. Then, proceed with creating a new connection. Please note that each MQTT broker can only support one connection at a time for managing message frequency.

Step 2: Looping Raw Location Data

  • In the Add Connection window, provide the following details:

  • Host*: Enter the IP address of your broker.

  • Port*: Enter 1883 as the port number.

  • Topic Title*: Enter the topic name you configured for your MQTT broker.

  • Username/Password: Not required unless they were previously set up in an MQTT broker.

  • TLS: Leave this at No.

Next, add a filter to ensure only the correct messages are transmitted:

  • In the Filter section, leave the Filter Template dropdown selection set to – None --.

  • In the Selector* field, enter Type.

  • In the Match* field, enter LOCATION_FILTER_UPDATE.

  • Ensure that Type* is set to string to filter string-based messages.

  • Leave the Invert box unchecked.

Once complete, click Submit to apply the settings.

Step 3: Adjusting the Quality of Service Settings

After the MQTT settings are configured, you will need to update additional settings to control the message rate. Follow the steps below:

  1. Go to the Quality of Service section in the Integration tab.

  2. Enable the Rate Limit setting.

  3. Set the Message Rate to your desired value (between 1 and 20).

  4. Leave Batch Messages set to No. Only the most recent update messages are required.

Save your configuration by clicking the Submit button.

Message Rate

The following video displays the output given by the system if Message Rate is set to 1 Hz.

1Hz Update Rate

 

The next video displays the output given by the system if Message Rate is set to 20 Hz.

20Hz Update Rate

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.