RADAR-base / RADAR-IoT

RADAR-base IoT framework
Apache License 2.0
7 stars 2 forks source link

Add support for MQTT #21

Closed yatharthranjan closed 11 months ago

yatharthranjan commented 3 years ago

Currently, we use Redis Pub/Sub as the middle broker for passing sensor data. MQTT is more standard in IoT in industry and also provides delivery guarantees.

For this, a new Publisher will need to be implemented for MQTT in the python package (publisher) and a new DataHandler will need to be added in the data/kotlin package.

### Tasks
- [x] Implement an MQTT producer and a consumer to capture and utilise sensor data.
- [x] Deploy an MQTT broker locally using docker and build and test the implementations using Mock sensor.
- [x] subscribe test task