aitumik / firmware-api

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

Home Page:http://134.122.30.208

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

: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

About

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

http://134.122.30.208

License:MIT License


Languages

Language:HTML 42.9%Language:Python 28.8%Language:JavaScript 28.2%