MQTT Simulator in 5 Minutes with SPX: Smart Building Pack Quickstart
- Aleksander Stanik

- Feb 4
- 3 min read
This is a hands-on quickstart. For a technical overview of MQTT features (QoS 0/1/2, retained, LWT/availability, mqtt vs mqtt-ha), see MQTT Simulator.

In this guide you’ll spin up a “real device” MQTT simulation in about five minutes using SPX and the Smart Building Pack. The idea is simple: install SPX, select the Smart Building Pack (which brings all required services, including an MQTT broker like Eclipse Mosquitto), open the SPX UI, launch a ready-made MQTT device instance, and verify it’s alive either with a lightweight MQTT client (like the free MQTT Explorer) or via a preconfigured Home Assistant dashboard.
Tip #1 - Install SPX and select Smart Building Pack
Get your Product Key + installer package
Log in and open Product & Keys: https://www.simplephysx.com/keys
Copy your SPX Product Key
Download the installer package (e.g. spx-examples-<version>.zip)
Extract the ZIP
Unzip the package into a dedicated folder (e.g. spx-examples-<version>/). You should see platform launchers like spx-setup.*.
Run the Setup Wizard (spx-setup.*)
From the extracted folder, start the launcher for your OS:
Windows: double-click spx-setup.bat
macOS: double-click spx-setup.command
Linux desktop: double-click spx-setup.desktop
Terminal (macOS/Linux): ./spx-setup.sh
In the wizard: select Smart Building Pack + paste your key
Select Smart Building Pack (ENTER accepts recommended defaults)
Paste your SPX Product Key when prompted
Review the summary and choose Start the stack now
Once the pack is installed, SPX sets up the services you need for an end-to-end demo environment — including an MQTT broker (e.g., Eclipse Mosquitto) and a ready-to-use Home Assistant instance for validation.
Note: For the full, always up-to-date installation instructions (including prerequisites and OS-specific launchers), see the SPX Installation Guide in the docs: https://docs.simplephysx.com/getting-started/installation-guide.
Tip #2 - Open the SPX UI
Open: http://localhost:3000

You should see the SPX interface with a list of available instances from the Smart Building Pack.
Tip #3 - Start a real-device MQTT simulation (one click)
From the list of available instances, select:
spx_weather_gateway_wago_pfc200_vaisala_wxt530_mqtt

Open the instance. At this point you already have a working MQTT simulation of a real-world style device stack (gateway + weather station), ready for testing.

Tip #4 - Verify it’s alive (two options)
Option A: Inspect topics with MQTT Explorer (free)
Use MQTT Explorer (or any MQTT client) to connect to the local broker and confirm that the simulator is publishing:
weather telemetry topics updating over time
retained “state-style” topics where applicable
availability/LWT-style behavior depending on the instance configuration
Tip: If you don’t see messages instantly, wait ~10–20 seconds — many telemetry devices publish on an interval.
Option B: Use the included Home Assistant dashboard
Open the preconfigured Home Assistant UI:

This dashboard is set up specifically for testing. You can immediately observe how the simulator affects sensors, entities, and automations — without building any HA config yourself.
Expected outcome (what “done” looks like)
Within minutes you should have:
SPX running locally
Smart Building Pack installed (services included, MQTT broker ready)
The instance spx_weather_gateway_wago_pfc200_vaisala_wxt530_mqtt running
Visible live telemetry in MQTT Explorer and/or on the Home Assistant dashboard
From here, you can start “playing”: explore attributes, run scenarios (e.g., Summer Storm), and validate how downstream systems behave under changing conditions.
Next: customize and extend (coming next)
Next we’ll take this same instance and:
Tweak the model in the editor and reload it
Generate a new variant via an LLM workflow
Run scenario-driven tests and capture reproducible baselines


