Simulated IoT devices for testing and demoing iotta.
No hardware needed. Start the simulator, point iotta at it, done.
git clone https://github.com/iottahq/iotta-simulator
cd iotta-simulator
docker compose up --buildThis starts:
- A Mosquitto MQTT broker on port
1883 - Two simulated temperature/humidity sensors (
temp-sensor-01,temp-sensor-02)
Add a device in iotta with these settings:
| Field | Value |
|---|---|
| Protocol | MQTT |
| Host | <your-machine-ip> |
| Port | 1883 |
| Topic | iotta/devices/temp-sensor-01 |
The sensor publishes every 5 seconds.
Each simulated device uses these topics:
| Topic | Direction | Payload |
|---|---|---|
iotta/devices/{id}/telemetry |
device → iotta | {"temp": 22.4, "humidity": 61, "ts": ...} |
iotta/devices/{id}/status |
device → iotta | {"online": true, "uptime": 120} |
iotta/devices/{id}/cmd |
iotta → device | {"action": "ping"} |
| Device | Protocol | Description |
|---|---|---|
mqtt_temperature_sensor |
MQTT | Temperature & humidity sensor with realistic noise |
More devices coming soon.
docker run --rm --network host eclipse-mosquitto:2 \
mosquitto_sub -h localhost -t "iotta/#" -vEach device can be configured via environment variables in docker-compose.yml:
| Variable | Default | Description |
|---|---|---|
MQTT_BROKER_HOST |
mqtt-broker |
Broker hostname |
MQTT_BROKER_PORT |
1883 |
Broker port |
DEVICE_ID |
temp-sensor-01 |
Unique device ID |
PUBLISH_INTERVAL |
5 |
Seconds between telemetry publishes |