Skip to content

IsmaelMousa/mosqitto-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT Assignment

Course: IoT (Internet of Things) * Student: Ismael Mousa * ID: 12115713


Using the mosquitto mqtt broker and the paho mqtt client library to simulate sensor data communication between multiple publishers and subscribers. Including multiple publishers: temperature, humidity, people counter and multiple subscribers that read specific topics and one subscriber that reads all sensor topics. Each publisher sends random sensor values with the student id included in every message.

To run the simulation:

1. start the mosquitto broker  
2. run any publisher script  
3. run the matching subscriber  
4. check the terminal outputs  

Messages include sensor readings: temperature (20–25°c), humidity (40–60%), and people count (0–50).

About

Using the mosquitto mqtt broker and the paho mqtt client library to simulate sensor data communication between multiple publishers and subscribers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages