sales@gambitcomm.com   (603) 889 5100.
x
This website uses cookies. More info . That's Fine

MQTT Labs

  Home / MQTT Labs

MQTTLAB.IOTSIM.IO/mqttlab

Portal for public SaaS MQTT labs based on MIMIC MQTT Simulator .

MIMIC MQTT Lab with 10 / 100 / 1000 / 10000 sensors

Your own MQTT lab with simulated sensors publishing unique telemetry with temperature telemetry to any internet-accessible MQTT broker. By default, your simulated sensors are publishing JSON telemetry to BROKER.HIVEMQ.COM, but you can change that to be any payload to any internet-accessible broker.

Overview

This lab demonstrates real-time, dynamic, predictable, custom telemetry from many simulated sensors to MQTT subscriber clients. You control what each sensor sends.

  1. Rent the lab on AWS Marketplace. .

  2. See it in action in this Youtube video .

  3. The sensors are red, just as if they were sitting on your lab bench, powered off. You can control each of the sensors individually, or in a group. For example, select some of them or all, and press Device -> Start to start them. They will turn green and start generating telemetry as indicated by the orange <--> arrow that appears in the icon, indicating activity.

  4. Select an agent icon for the sensor publishing to the broker you want, then modify the simulation as you want.

    To change the temperature, use the Bosch Demo menu as described in its README, or alternatively select a running (green) sensor, invoke the Device -> Variables menu item, and change the temp variable.

  5. See the temperature measurements change in real-time in your subscriber client.

Subscriber clients

Test your subscriber applications by connecting to the broker, eg.

on BROKER.HIVEMQ.COM you can use a web-sockets client with a SSL-connection to broker.hivemq.com:8000 as detailed here , or

on TOOLS.EMQX.IO you can use a web-sockets client with a SSL-connection to broker.emqx.io:8083 as detailed here .

To see payloads, subscribe to topic BCDS/#

You can see published messages with any MQTT subscriber client , for example

  1. the Cedalo Streamsheets spreadsheet hosted at Gambit (see this video ),

  2. mosquitto , or

  3. mqtt-spy , or

  4. a web-based subscriber client from HiveMQ or from EMQ , or

  5. our specialized, open-source Python-based subscriber client which monitors the temperature and alerts if above a threshold

NOTE: If you connect to a public broker, then other clients may use the same client ID as you are. So, set the client ID of your sensor to a unique value.