Weekly Intelligence Meeting
Weekly session for DeVry University Students to ask a professional questions related to engineering and computer sciences. Everyone's invited. Don't miss out on Valuable insights! Bring your questions and topics for discussion. Collaboration and sharing knowledge are key to our growth as future engineers. Meeting starts at 19:00 CT.
Date and Time
Location
Hosts
Registration
-
Add Event to Calendar
- Contact Event Host
- Co-sponsored by zacharylevi.phillips@IEEE.org
Speakers
Ian Oberdorf
Questions for the professional
Ian Oberdorf
Questions for the professional
Agenda
Virtual Presentation Summary – Implementing MQTT Communication in Python
During this session, we explored key aspects of setting up and using MQTT for device communication using Python. The main topics covered included:
-
Installing Python and MQTT Dependencies – Walked through the process of installing Python, updating pip, and setting up the
paho-mqtt
library for MQTT communication. -
Creating the MQTT Project Directory – Demonstrated how to create and organize project files in the command line for efficient workflow management.
-
Writing the Publisher Script (Commander.py) – Explained how to create an MQTT publisher script that sends structured JSON messages to a topic.
-
Writing the Subscriber Script (Lightbulb.py) – Reviewed the process of setting up an MQTT subscriber to receive and process messages from the publisher.
-
Running the MQTT System – Provided step-by-step instructions on executing both scripts in separate command-line windows to simulate real-time communication.
-
Testing MQTT Communication – Conducted practical tests by sending different configurations from the publisher and verifying message reception in the subscriber.
This session provided hands-on experience in using MQTT for real-time messaging, enabling participants to apply these techniques in IoT and automation projects.