Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raghulrajn/iot-project
This repo is for IoT project to record sensor data through MQTT and visualizing the same
https://github.com/raghulrajn/iot-project
iot mqtt sqlite
Last synced: 3 months ago
JSON representation
This repo is for IoT project to record sensor data through MQTT and visualizing the same
- Host: GitHub
- URL: https://github.com/raghulrajn/iot-project
- Owner: raghulrajn
- Created: 2024-06-22T20:01:40.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-12T12:50:31.000Z (6 months ago)
- Last Synced: 2024-10-10T14:03:07.315Z (3 months ago)
- Topics: iot, mqtt, sqlite
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MQTT Subscriber and plotting
The Repo focuses on collecting data from MQTT publisher, store it a SqliteDB and create a plot to visualize the data
## Tools required
- Python 3.11.5
- Sqlite DB
- Mosquitto MQTT broker## Installation of required libraries
````
cd IoT-Project
pip install -r requirements.txt
````
## Running the scriptTo get values published to broker and write it to Sqlite DB
````
python scenarios.py
````
To read values from Sqlite DB and plot it for visualisation
````
python plot.py
````