A Software-Based Digital Twin Prototype using Virtual Sensor Data, MQTT and Streamlit

This paper describes the development of a small software-based Digital Twin prototype for a smart-room example. The prototype uses Python programs to generate sample temperature, humidity, light and motion values. These values are arranged in JSON messages and are intended to be exchanged through MQTT. The software also includes a virtual gateway, virtual fan and light states, an SQLite database and a Streamlit dashboard. Terminal outputs and dashboard captures are used to describe the behaviour observed during development. The available outputs show the generation of sample readings, some state updates and database-save messages. However, connection failures involving the broker and DNS were also observed. For this reason, the work does not claim that MQTT communication was reliable in every run, or that the prototype measures a real room. It is presented as an educational implementation that brings together the main software stages of a Digital Twin workflow without physical sensors or actuators.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-20
DOI
https://doi.org/10.5281/zenodo.24387733
Primary Topic
Digital Transformation in Industry
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Software-Based Digital Twin Prototype using Virtual Sensor Data, MQTT and Streamlit

Samrudhi Sunil Balikai, Pratiksha Mansing Jamdade
1 links
Zenodo (CERN European Organization for Nuclear Research)
Digital Transformation in Industry
article

A Software-Based Digital Twin Prototype using Virtual Sensor Data, MQTT and Streamlit

Samrudhi Sunil Balikai, Pratiksha Mansing Jamdade
article en

Abstract

This paper describes the development of a small software-based Digital Twin prototype for a smart-room example. The prototype uses Python programs to generate sample temperature, humidity, light and motion values. These values are arranged in JSON messages and are intended to be exchanged through MQTT. The software also includes a virtual gateway, virtual fan and light states, an SQLite database and a Streamlit dashboard. Terminal outputs and dashboard captures are used to describe the behaviour observed during development. The available outputs show the generation of sample readings, some state updates and database-save messages. However, connection failures involving the broker and DNS were also observed. For this reason, the work does not claim that MQTT communication was reliable in every run, or that the prototype measures a real room. It is presented as an educational implementation that brings together the main software stages of a Digital Twin workflow without physical sensors or actuators.

Zenodo (CERN European Organization for Nuclear Research)
Industry, innovation and infrastructure
Digital Transformation in Industry
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon