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
- Samrudhi Sunil Balikai
- Pratiksha Mansing Jamdade
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