Skip to content

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

License

Notifications You must be signed in to change notification settings

aitumik/firmware-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

: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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published