A pump performance analytics data daashboard web app built with Django and JavaScript library Chart.js as the key graphic element. Data is received through CloudMQTT as the MQTT broker, with the publisher script running on the IOT Gateway. Warnings of the system are also sent through a Telegram chatbot.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Python 3.7.4
Python to be up and running on your terminal, and can perform pip. Installing on a virtual environment is advised.
Run terminal on the project folder
$ pip install -r requirements.txt
Before deploying the server, fill in the authentication of the CloudMQTT broker and the telegram server in both the views.py and pub.py scripts.
To run the server,
$ python manage.py runserver
and the web app is deployed in http://127.0.0.1:8000/
(make sure you have the pub.py script running on the IOT Gateway first)
- Django - The web framework used
- chart.js - JavaScript library for the charts
- REST Framework API - Web API Builder Used