Main features

More

Download Open in browser

SIMULATOR

Simulate devices, not just messages.

Test dashboards, backends and integrations before the hardware exists. Define a device once, run it as 1,000 instances, and let MQTT Studio publish sensor values, GPS tracks, images and JSON documents on a schedule.

The SIMULATOR: a drone device running as five instances, with topics for speed, heading, battery voltage and GPS position, their generators, intervals, messages sent and last payloads.

Devices and instances

Run a device as up to 1,000 instances.

Placeholders in the topic give every instance its own topics.

Topic placeholders

{n} is the instance number, {n:3} the same number zero-padded, {device} the device name. They also work in user property values and templates.

  • Fixed or random interval per topic, from 50 ms. Instances start staggered.
  • QoS, retain and MQTT 5 properties per topic.
  • A live preview shows sample payloads while you edit, with a JSON check.
  • Validation before the start: wildcard topics, missing {n}, intervals too short, unknown template fields.
# 10 instances
weather/{n}/temp
→ weather/1/temp
→ weather/2/temp
…
→ weather/10/temp

# zero-padded
line/{n:3}/state
→ line/007/state

Payload generators

Choose a payload generator per topic.

A template combines them: JSON or any text with named fields, each with its own generator.

GeneratorSettings
Random stringMin and max length, characters, prefix, postfix
Random numberMin, max, decimals, prefix, postfix
CounterStart, step, decimals, reset after, prefix, postfix, e.g. ORD-0001
BooleanProbability of true, texts for true and false: true/false, 1/0, ON/OFF
Value listValues, one per line, picked at random or in order
Random walkStart, min, max, volatility, decimals: drifts like a real sensor
WaveSine, square, triangle or sawtooth; offset, amplitude, period, phase, noise
TimestampISO 8601, epoch milliseconds, epoch seconds or a custom pattern; UTC or local time
GPS trackWander around a center, or follow a route of waypoints; lat,lon or JSON
Random imageJPG and PNG files from a folder, at random or in order (desktop)
TemplateJSON or text with named fields, {{name}}, each with its own generator

Running a simulation

Run and control a simulation.

Use it for frontend work without a backend, load tests, demo systems, and alarm tests with values that leave their range.