{"id":23011693,"url":"https://github.com/aitumik/firmware-api","last_synced_at":"2025-04-02T17:11:06.931Z","repository":{"id":134189021,"uuid":"316921746","full_name":"aitumik/firmware-api","owner":"aitumik","description":"This is the server that receives the updates from the hardware and sends the results  to a client","archived":false,"fork":false,"pushed_at":"2020-12-03T06:06:14.000Z","size":624,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T07:41:13.454Z","etag":null,"topics":["flask","sqlalchemy"],"latest_commit_sha":null,"homepage":"http://134.122.30.208","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aitumik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-29T10:02:10.000Z","updated_at":"2020-12-03T06:06:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"95e1a915-b1f9-46cb-940e-c4c20375e07f","html_url":"https://github.com/aitumik/firmware-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitumik%2Ffirmware-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitumik%2Ffirmware-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitumik%2Ffirmware-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aitumik%2Ffirmware-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aitumik","download_url":"https://codeload.github.com/aitumik/firmware-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246856675,"owners_count":20844974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","sqlalchemy"],"created_at":"2024-12-15T10:10:36.859Z","updated_at":"2025-04-02T17:11:06.911Z","avatar_url":"https://github.com/aitumik.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":":wq# Firmware API and UI\nThis is a firmware and Web test\n\n## Description\nA web app(ui + api) for showing the humidity and temperature posted by esp8266\n\n## Screenshots\n\u003ctable\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\n            \u003cimg alt=\"Temperature\" src=\"screenshots/temperature.png\"\u003e\n        \u003c/td\u003e\n        \u003ctd\u003e\n            \u003cimg alt=\"Humidity\" src=\"screenshots/humidity.png\"\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n## Installation\nFirst clone the project into your local machine and navigate to the folder\n```bash\ngit clone https://github.com/aitumik/firmware-api.git\ncd firmware-api\n```\n\nCreate a virtual environment:\n```bash\npython3 -m venv nameofvirtualenv\n```\n\nActivate the virtual environment\n```bash\nsource nameofvirtualenv/bin/activate\n```\n\nInstall the requirments files\n```bash\npip install -r requirements.txt\n```\n\n## Usage\nServe the application and make sure that the firmware runs on the same wifi as this server\n```bash\npython3 manage.py runserver --host 0.0.0.0\n```\nAs soon as the server starts you should start seeing incoming request from the esp8266 client\n\n## Technologies used\n* Python\n* Flask\n* jQuery\n* Bootstrap\n\n## Drawbacks\n\n* The web application is not quite responsive on mobile devices\n* The UI is still basic bootsrap no fancy animations\n\n## Future features\n\n* Use semantic UI instead of bootstrap\n* Allow the export of data\n\n## Contributing\nPull requests are welcome. For major changes please open an issue first\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faitumik%2Ffirmware-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faitumik%2Ffirmware-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faitumik%2Ffirmware-api/lists"}