/firmware-api

This is the server that receives the updates from the hardware and sends the results to a client

Primary LanguageHTMLMIT LicenseMIT

:wq# Firmware API and UI This is a firmware and Web test

Description

A web app(ui + api) for showing the humidity and temperature posted by esp8266

Screenshots

Temperature Humidity

Installation

First clone the project into your local machine and navigate to the folder

git clone https://github.com/aitumik/firmware-api.git
cd firmware-api

Create a virtual environment:

python3 -m venv nameofvirtualenv

Activate the virtual environment

source nameofvirtualenv/bin/activate

Install the requirments files

pip install -r requirements.txt

Usage

Serve the application and make sure that the firmware runs on the same wifi as this server

python3 manage.py runserver --host 0.0.0.0

As soon as the server starts you should start seeing incoming request from the esp8266 client

Technologies used

  • Python
  • Flask
  • jQuery
  • Bootstrap

Drawbacks

  • The web application is not quite responsive on mobile devices
  • The UI is still basic bootsrap no fancy animations

Future features

  • Use semantic UI instead of bootstrap
  • Allow the export of data

Contributing

Pull requests are welcome. For major changes please open an issue first

License

MIT