Real-time Telemetry Simulation with Gambit Communications

2 min readOct 15, 2018

MIMIC MQTT Simulator is a programmable, dynamic simulation platform designed to enable rapid development, testing, and deployment demonstrations of large-scale IoT applications. MIMIC creates a real-world, real-time test lab with thousands of IoT sensors, gateways and devices. And in this case, it allows PubNub users to create a lab full of MQTT sensors and devices and proof-of-concept their IoT requirements.

It’s specifically designed to mitigate risks associated with the deployment of large IoT applications by rapid prototyping of multiple alternatives, and load and feature testing of many scenarios.

Using MIMIC, PubNub users can assure their customers that they will be able to handle the scales of connections, topics, and varieties of messages to work properly when deployed across heterogeneous environments. They can also create a variety of benchmarks to show the scalability for sensors, the volume of messages and topics.

And the good news is, with our recent update to our MQTT support, it’s indeed easy to connect simulated MQTT sensors.

Example Use Case: Temperature Sensors

In this case, we’ve have configured our usual Bosch sensor simulation in the MIMIC MQTT Simulator to publish changing temperature values and which are detected in a configured Function as shown in the PubNub Debug Console below:

MQTT Compat PubNub

In the 1-minute demo video below, you’ll see the sensor publishing diverse telemetry data including acceleration, humidity, temperature, and pressure every 10 seconds. After a couple of intervals, we change the temperature in real time through the MIMICview GUI from 50 C to 150 C. The configured Function detects the published values and prints them in the debug console.

What we’re doing interactively through the GUI can instead be done programmatically for any number of sensors at will, and will reproduce any required scenarios.

More from PubNub

How to Create a Dating App: 7 Steps to Fit Any Design
Insights6 minMar 15, 2023

How to Create a Dating App: 7 Steps to Fit Any Design

There are common underlying technologies for a dating app, and in this post, we’ll talk about the major technologies and designs...

Michael Carroll

Michael Carroll

How to Create a Real-time Public Transportation Schedule App
Build6 minMar 14, 2023

How to Create a Real-time Public Transportation Schedule App

How to use geohashing, JavaScript, Google Maps API, and BART API to build a real-time public transit schedule app.

Michael Carroll

Michael Carroll

How to Create Real-Time Vehicle Location Tracking App
Build2 minMar 9, 2023

How to Create Real-Time Vehicle Location Tracking App

How to track and stream real-time vehicle location on a live-updating map using EON, JavaScript, and the Mapbox API.

Michael Carroll

Michael Carroll

Talk to an expert