Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/msankhala/gl-lab-1-iot-devices-networking
https://github.com/msankhala/gl-lab-1-iot-devices-networking
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/msankhala/gl-lab-1-iot-devices-networking
- Owner: msankhala
- Created: 2022-04-10T14:56:37.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T15:04:52.000Z (almost 3 years ago)
- Last Synced: 2024-11-07T01:32:13.608Z (2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lab1 Iot Devices Networking
This repository simulate the mqtt publisher and subscriber.
`subscriber_simulator.py` is the subscriber simulator that listen for the topic and write to mysql database.
## Setup
1. Copy `.env.example` to `.env` and update the values.
2. Run the docker container by running the `docker composer up -d` command.Run the subscriber_simulator.py script to start the subscriber simulator.
```bash
python subscriber_simulator.py
```