Skip to main navigation Skip to search Skip to main content

Design and Implementation of a Cross-Protocol IoT Messaging Platform Based on the Django Web Framework

  • Silesian University of Technology

Research output: Contribution to journal › Article › peer-review

Abstract

This article presents the design and implementation of an extensible Django-based IoT gateway for message exchange among devices using heterogeneous application-layer protocols: native MQTT, MQTT over WebSocket, and native WebSocket. The platform provides topic-based publish/subscribe messaging across these protocols and integrates selected-topic database persistence, Redis-backed caching and control-plane support, Redis Pub/Sub routing for native-WebSocket paths, and REST services for authentication and data retrieval. Built on open-source components, including Django, Django Channels, Redis, and Django REST Framework, the solution is intended as a developer-friendly, deployable framework rather than a replacement for existing MQTT brokers. Its main contribution is the integration of broker-based MQTT/MQTT-over-WebSocket communication with native-WebSocket interoperability, persistence, authentication, and REST access within one application-layer gateway. The architecture can be extended with additional IoT protocols, such as DDS or CoAP, and its Python/Django foundation facilitates integration with open-source analytics and machine-learning libraries, supporting processing at the network edge.

Original languageEnglish
JournalIEEE Internet of Things Journal
DOIs
Publication statusAccepted/In press - 2026

Keywords

  • Django
  • Django Channels
  • Internet of Things (IoT)
  • IoT gateway
  • MQTT
  • Python
  • REST
  • Redis
  • WebSocket
  • message broker
  • protocol translation

ASJC Scopus subject areas

  • Signal Processing
  • Information Systems
  • Hardware and Architecture
  • Computer Science Applications
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Design and Implementation of a Cross-Protocol IoT Messaging Platform Based on the Django Web Framework'. Together they form a unique fingerprint.

Cite this