Home    Blog    Integrating IoT Simulator with HiveMQ Cloud

Step-by-Step Guide to Connect Bevywise IoT Simulator with HiveMQ Cloud

by Ponlakshmi


simulator-integration-with-hivemq

As IoT ecosystems grow more complex, the ability to simulate large-scale device behavior has become a necessity for developers and solution architects. Simulators provide a cost-effective way to model thousands of devices, manage message flows, and test communication patterns—all without the overhead of deploying physical hardware. This approach accelerates development, reduces risk, and ensures that IoT applications work seamlessly under real-world conditions.


One critical aspect of IoT development is ensuring that your device simulation integrates smoothly with the MQTT broker that powers your infrastructure.


In this blog, we’ll walk through how to use the Bevywise IoT Simulator and integrate it with an MQTT broker like HiveMQ Cloud, enabling a scalable, secure, and realistic IoT simulation environment.

Why Integration Matters?

Integrating an IoT simulator with an MQTT broker is not just about connecting clients—it’s about replicating real-world workloads accurately. By combining Bevywise IoT Simulator with HiveMQ Cloud, developers can:


  • Simulate millions of MQTT messages across dynamic topics and payloads.
  • Validate secure connections using TLS and authentication mechanisms.
  • Test application logic under realistic device churn and QoS variations.
  • Speed up development cycles without relying on physical devices.

This integration provides a controlled, repeatable environment for building resilient IoT applications that scale effortlessly.

How to run Bevywise IoT Simulator?

To start the Bevywise IoT Simulator, simply double-click the simulator “.exe” file.


Once you do this, a terminal window will start running in the background, and you will be directed to the Bevywise IoT Simulator Dashboard.


Run IoT Simulator

IoT Simulator Dashboard


IoT Simulator dashboard

This is how the Bevywise IoT Simulator Dashboard looks by default. The preconfigured network provided by Bevywise is named “HEALTH_CARE”, and the default address for the simulator will be 127.0.0.1:9000.

Creating a Network

To create a new network in Bevywise IoT Simulator:


  • Click on the menu icon in the top-left corner of the page.
  • You will see options like New Network, Existing Network, and Templates. Select New Network.

Alternatively, you can click on the “Create New Network” option displayed on the main page.


Network creation

Once you select New Network, a dialog box will appear asking for a Name and Description. Fill in the details and click Create.


Create a new network

After this, the newly created network will be listed on the left side of the page above the dashboard option.


Network created

Integrating Simulator with HiveMQ Cloud


On the HiveMQ Overview Page, you can find the connection details for your HiveMQ broker.


HiveMQ Overview page

Copy the URL from the connection details and paste it into the IP Address field in the simulator settings, as shown below.

Simulator Settings


To configure the simulator settings:

  • Go to the Bevywise IoT Simulator Dashboard where the new network was created.
  • In the top-right corner, click the Settings icon. A dialog box will appear with the simulator settings.

Provide the following details:


Simulator settings

After filling in all the fields, click Save.

Creating and Connecting Devices in the Simulator


To create a device:


  • In the top-right corner of the simulator page, click the “+” symbol next to the settings icon.
  • Select Blank Device.

Add blank device

A dialog box will appear asking for Device Name, Device ID, and Description. Fill in these details and click Save.


Create new device

A new device will now appear in the list. A red dot next to the device indicates that it is currently inactive.


Device details

Connecting Devices to HiveMQ Cloud


To connect the simulator devices to HiveMQ Cloud, we first need to configure credentials.


1. Go to the HiveMQ Cloud Access Management Page.


HiveMQ Access Management

2. Click on Add Credentials.


3. Enter a Username, Password, and Permissions, then click Save.


Add Credentials


Credentials Added

After creating the credentials, use the same Username and Password in the simulator:


Simulator device details


Add credentials

  • Click on the device you created in the simulator.
  • Enable Authentication, where you’ll see two fields: Access Key and Access Token.
    • Access Key = Username
    • Access Token = Password (from HiveMQ Access Management).

Note : You should use the same username and password created in Access Management to configure the credentials.

Creating Events


To create an event:


  • Click on the “+” symbol (the same button used for creating devices) in the top-right corner.

  • Creating events

  • From the list of event options, choose one. For example, select “Whole Day”. A dialog box will appear as shown below.

  • Event for whole day


    Event added

You will notice that a topic is published under the Event Menu.


To activate the device and start publishing data:


  • Click the red button next to the device name. It will turn green, indicating the device is now connected and publishing data.
  • Published data can be viewed in the Device Log section.

  • Publishing data

Once your devices are connected, data is successfully published to HiveMQ Cloud. To help you monitor this data in real time, HiveMQ provides a Web Client feature. This acts as a subscriber and allows you to view messages by subscribing to the topics you specify.


To use the Web Client:


  • Open the Web Client Page in HiveMQ.

  • Web client page

    Enter the Username and Password, then click the Connect button to establish the connection with the Web Client.


Web client connected

Once connected, you can start publishing data by entering the Topic Name in the “Topic Subscriptions” box.


Topic Subscriptions

After entering the topic name, click the Subscribe button next to it.

Scroll down the Web Client page, and you will be able to see the data being published, as shown in the image below.


Client Messages

By following the above steps, we can successfully integrate Bevywise IoT Simulator with HiveMQ Cloud.

Build & Test IoT Deployments with Ease


Bevywise IoT Simulator combined with HiveMQ Cloud offers developers a powerful way to simulate IoT environments, configure MQTT brokers, and publish real-time data securely. This integration ensures faster testing, reduced costs, and more reliable deployments without relying on physical devices.


Download our IoT Simulator and try it out now to experience seamless integration with HiveMQ Cloud and start building robust IoT solutions today!