https://github.com/bayesianinstitute/mqtt_comm_test
Testing Mqtt and Experiment
https://github.com/bayesianinstitute/mqtt_comm_test
Last synced: 8 months ago
JSON representation
Testing Mqtt and Experiment
- Host: GitHub
- URL: https://github.com/bayesianinstitute/mqtt_comm_test
- Owner: bayesianinstitute
- Created: 2023-10-19T21:32:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-23T20:53:00.000Z (about 2 years ago)
- Last Synced: 2025-01-14T23:06:19.542Z (10 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mqtt_Comm_Test
Testing MQTT and Experiment
## Overview
This project is focused on testing MQTT communication and conducting experiments with MQTT clusters.
## Getting Started
To run the project, you can use the following steps:
### Installation
1. Clone this repository to your local machine.
```
git clone https://github.com/bayesianinstitute/Mqtt_Comm_Test.git
```
Navigate to the project directory.
```
cd Mqtt_Comm_Test
```
### Running the Project
Use the following command to run the project:
```
python Cluster.py
: Name of the cluster.
: Number of workers.
: Internal cluster topic.
```
#### Example
```
python Cluster.py USA 3 internal-cluster-topic-USA
```
### Core Functions
The project's core contains the main MqttCluster class that handles the MQTT cluster communication. The core functionalities include:
Creating and managing MQTT clients.
Running the logic for the cluster.